ace-handbook 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. checksums.yaml +7 -0
  2. data/.ace-defaults/handbook/config.yml +4 -0
  3. data/.ace-defaults/nav/protocols/guide-sources/ace-handbook.yml +19 -0
  4. data/.ace-defaults/nav/protocols/tmpl-sources/ace-handbook.yml +10 -0
  5. data/.ace-defaults/nav/protocols/wfi-sources/ace-handbook.yml +19 -0
  6. data/CHANGELOG.md +362 -0
  7. data/LICENSE +21 -0
  8. data/README.md +42 -0
  9. data/Rakefile +12 -0
  10. data/exe/ace-handbook +6 -0
  11. data/handbook/guides/ai-agent-integration.g.md +625 -0
  12. data/handbook/guides/atom-pattern.g.md +371 -0
  13. data/handbook/guides/changelog.g.md +333 -0
  14. data/handbook/guides/cli-dry-cli.g.md +276 -0
  15. data/handbook/guides/cli-support-cli.g.md +277 -0
  16. data/handbook/guides/coding-standards/ruby.md +41 -0
  17. data/handbook/guides/coding-standards/rust.md +19 -0
  18. data/handbook/guides/coding-standards/typescript.md +20 -0
  19. data/handbook/guides/coding-standards.g.md +134 -0
  20. data/handbook/guides/debug-troubleshooting.g.md +62 -0
  21. data/handbook/guides/error-handling/ruby.md +29 -0
  22. data/handbook/guides/error-handling/rust.md +59 -0
  23. data/handbook/guides/error-handling/typescript.md +38 -0
  24. data/handbook/guides/error-handling.g.md +207 -0
  25. data/handbook/guides/meta/agents-definition.g.md +823 -0
  26. data/handbook/guides/meta/guides-definition.g.md +322 -0
  27. data/handbook/guides/meta/markdown-definition.g.md +210 -0
  28. data/handbook/guides/meta/tools-definition.g.md +159 -0
  29. data/handbook/guides/meta/workflow-instructions-definition.g.md +367 -0
  30. data/handbook/guides/mono-repo-patterns.g.md +92 -0
  31. data/handbook/guides/multi-agent-research.g.md +251 -0
  32. data/handbook/guides/performance/ruby.md +25 -0
  33. data/handbook/guides/performance/rust.md +48 -0
  34. data/handbook/guides/performance/typescript.md +32 -0
  35. data/handbook/guides/performance.g.md +211 -0
  36. data/handbook/guides/prompt-caching.g.md +83 -0
  37. data/handbook/guides/quality-assurance/ruby.md +33 -0
  38. data/handbook/guides/quality-assurance/rust.md +41 -0
  39. data/handbook/guides/quality-assurance/typescript.md +49 -0
  40. data/handbook/guides/quality-assurance.g.md +222 -0
  41. data/handbook/guides/strategic-planning.g.md +69 -0
  42. data/handbook/guides/troubleshooting/ruby.md +21 -0
  43. data/handbook/guides/troubleshooting/rust.md +20 -0
  44. data/handbook/guides/troubleshooting/typescript.md +36 -0
  45. data/handbook/guides/workflow-context-embedding.g.md +286 -0
  46. data/handbook/skills/as-handbook-init-project/SKILL.md +34 -0
  47. data/handbook/skills/as-handbook-manage-agents/SKILL.md +35 -0
  48. data/handbook/skills/as-handbook-manage-guides/SKILL.md +35 -0
  49. data/handbook/skills/as-handbook-manage-workflows/SKILL.md +35 -0
  50. data/handbook/skills/as-handbook-parallel-research/SKILL.md +29 -0
  51. data/handbook/skills/as-handbook-perform-delivery/SKILL.md +35 -0
  52. data/handbook/skills/as-handbook-review-guides/SKILL.md +32 -0
  53. data/handbook/skills/as-handbook-review-workflows/SKILL.md +32 -0
  54. data/handbook/skills/as-handbook-synthesize-research/SKILL.md +29 -0
  55. data/handbook/skills/as-handbook-update-docs/SKILL.md +35 -0
  56. data/handbook/skills/as-release/SKILL.md +50 -0
  57. data/handbook/skills/as-release-bump-version/SKILL.md +28 -0
  58. data/handbook/skills/as-release-rubygems-publish/SKILL.md +58 -0
  59. data/handbook/skills/as-release-update-changelog/SKILL.md +28 -0
  60. data/handbook/templates/completed-work-documentation.md +59 -0
  61. data/handbook/templates/cookbooks/cookbook.template.md +237 -0
  62. data/handbook/templates/research-comparison.template.md +175 -0
  63. data/handbook/workflow-instructions/handbook/init-project.wf.md +629 -0
  64. data/handbook/workflow-instructions/handbook/manage-agents.wf.md +379 -0
  65. data/handbook/workflow-instructions/handbook/manage-guides.wf.md +294 -0
  66. data/handbook/workflow-instructions/handbook/manage-workflows.wf.md +292 -0
  67. data/handbook/workflow-instructions/handbook/parallel-research.wf.md +328 -0
  68. data/handbook/workflow-instructions/handbook/perform-delivery.wf.md +267 -0
  69. data/handbook/workflow-instructions/handbook/research.wf.md +247 -0
  70. data/handbook/workflow-instructions/handbook/review-guides.wf.md +348 -0
  71. data/handbook/workflow-instructions/handbook/review-workflows.wf.md +299 -0
  72. data/handbook/workflow-instructions/handbook/synthesize-research.wf.md +429 -0
  73. data/handbook/workflow-instructions/handbook/update-docs.wf.md +338 -0
  74. data/lib/ace/handbook/atoms/provider_registry.rb +70 -0
  75. data/lib/ace/handbook/cli/commands/status.rb +36 -0
  76. data/lib/ace/handbook/cli/commands/sync.rb +36 -0
  77. data/lib/ace/handbook/cli.rb +51 -0
  78. data/lib/ace/handbook/models/skill_document.rb +25 -0
  79. data/lib/ace/handbook/molecules/skill_projection.rb +54 -0
  80. data/lib/ace/handbook/organisms/provider_syncer.rb +106 -0
  81. data/lib/ace/handbook/organisms/skill_inventory.rb +54 -0
  82. data/lib/ace/handbook/organisms/status_collector.rb +181 -0
  83. data/lib/ace/handbook/version.rb +7 -0
  84. data/lib/ace/handbook.rb +28 -0
  85. metadata +227 -0
@@ -0,0 +1,629 @@
1
+ ---
2
+ doc-type: workflow
3
+ title: Initialize Project Structure Workflow Instruction
4
+ purpose: Documentation for ace-handbook/handbook/workflow-instructions/handbook/init-project.wf.md
5
+ ace-docs:
6
+ last-updated: 2026-02-22
7
+ last-checked: 2026-03-21
8
+ ---
9
+
10
+ # Initialize Project Structure Workflow Instruction
11
+
12
+ ## Goal
13
+
14
+ Complete the project initialization started by `coding-agent-tools integrate claude --init-project` by gathering project information, customizing generated files, configuring context, and creating initial release planning to establish a comprehensive foundation for AI-assisted development.
15
+
16
+ **Prerequisites**: This workflow assumes `coding-agent-tools integrate claude --init-project` has already been run, which creates the basic directory structure, generates core documentation from templates, and installs Claude integration.
17
+
18
+ **Idempotency**: This workflow is designed to be idempotent. Rerunning it will skip already completed steps or safely update existing files without overwriting customized content.
19
+
20
+ ## Process Steps
21
+
22
+ 1. **Project Documentation Setup**:
23
+ - Create documentation structure (`docs/decisions/`) for Architecture Decision Records if not exists.
24
+ - **Identify Source**: Check if `PRD.md` exists at the project root.
25
+ - If yes: Use this file as the primary source. If the existing `PRD.md` lacks structure, populate it using the PRD template.
26
+ - If no: Check if `README.md` exists at the project root. Use this file as the primary source. If the existing `README.md` lacks project information, enhance it using the README template.
27
+ - If neither exists: Create initial `PRD.md` and `README.md` files using the project templates and prepare to use interactive prompts to populate them.
28
+ - **Extract/Prompt**: Extract core information **including primary technology stack**
29
+ (e.g., Ruby, Rust, TypeScript) from the identified source file (`PRD.md` or `README.md`).
30
+ If no source file or incomplete information, use interactive prompts to gather missing details.
31
+ - **Interactive Prompts**: When using interactive prompts, ask comprehensive questions such as:
32
+ - "What is the project's name and primary purpose?"
33
+ - "What is the main technology stack (e.g., Node.js, Python, Ruby, Rust)?"
34
+ - "What are 2-3 key features this project will provide?"
35
+ - "Who are the primary users or target audience?"
36
+ - "What external APIs or services will this project integrate with?"
37
+ - "What are the main design principles or constraints?"
38
+ - "What are the primary and secondary use cases?"
39
+
40
+ 2. **Update Generated Documentation**:
41
+ - Review the auto-generated files created by `integrate --init-project`:
42
+ - `docs/vision.md`
43
+ - `docs/architecture.md`
44
+ - `docs/blueprint.md`
45
+ - Update these files with information gathered from PRD.md/README.md and interactive prompts
46
+ - Replace any placeholder text with actual project information
47
+ - Ensure consistency across all documentation files
48
+
49
+ 3. **Configure Project Context**:
50
+ - Review and customize the context configuration at `.coding-agent/context.yml`
51
+ - **Customize the project context file** at `docs/context/project.md`:
52
+ - Replace `[PROJECT_NAME]` with actual project name from PRD/README
53
+ - Replace `[PROJECT_DESCRIPTION]` with brief project description
54
+ - Add tech-stack-specific files to the context:
55
+ - For Node.js/TypeScript: add `package.json`, `tsconfig.json`, key `src/` files
56
+ - For Ruby: add `Gemfile`, key `lib/` and `spec/` files
57
+ - For Rust: add `Cargo.toml`, key `src/` files
58
+ - For Python: add `requirements.txt`, `pyproject.toml`, key modules
59
+ - Add project-specific commands if needed (build, test, lint commands)
60
+ - Ensure all referenced files exist or remove them from the list
61
+ - Configure context presets for your project needs:
62
+ - Modify the `project` preset in `.coding-agent/context.yml` to match
63
+ - Add custom presets if needed for specific development areas
64
+ - **Verify the context loads properly**:
65
+ ```bash
66
+ context docs/context/project.md # Test direct loading
67
+ context --preset project # Test preset loading
68
+ ```
69
+ - Fix any errors about missing files or invalid syntax
70
+
71
+ 4. **Verify Dev-Tools Integration**:
72
+ - **Ensure dev-tools availability**:
73
+ - Verify dev-tools commands are accessible from the project
74
+ - Add dev-tools to PATH if not already available
75
+ - Key commands include:
76
+ - `task-manager next` - Find next actionable task
77
+ - `task-manager recent` - Show recent activity
78
+ - `git-commit` - Intelligent commit workflow
79
+ - `code-lint` - Code quality checks
80
+ - `context` - Load project context
81
+ - `release-manager` - Manage releases
82
+ - **Create project-specific scripts (optional)**:
83
+ - Only if the project requires custom wrapper scripts, create them in `bin/`
84
+ - Most functionality is available directly through dev-tools commands
85
+
86
+ 5. **Customize v.0.0.0 Bootstrap Release** (if it was created):
87
+ - If `dev-taskflow/current/v.0.0.0-bootstrap/` exists:
88
+ - **Customize Template Tasks**: Replace template placeholders in task files:
89
+ - Replace `[PLACEHOLDER]` values in the release overview file with actual project information
90
+ - Update task descriptions with project-specific details
91
+ - Update task dependencies to reflect actual workflow
92
+ - **Mark Completed Tasks**: Update the status of tasks that were already completed:
93
+ - Mark the dev-taskflow structure setup task as `done`
94
+ - Mark the core documentation task as `in-progress` or `done` based on completion level
95
+ - Leave PRD completion and roadmap creation tasks as `pending` for user completion
96
+ - **Update Release Status**: Set the v.0.0.0 release overview status to `in-progress` and add the current date as the start date
97
+
98
+ 6. **Draft Initial Release and Roadmap**:
99
+ - **Create v.0.1.0 Release Draft** based on PRD/README:
100
+ - Use `release-manager draft v.0.1.0 foundation` to create proper release structure
101
+ - This creates `dev-taskflow/backlog/v.0.1.0-foundation/` with:
102
+ - `README.md` (release overview from template)
103
+ - `tasks/` directory for properly structured task files
104
+ - Update the generated README.md with:
105
+ - Extract initial features from PRD.md's "Must-Have Features (P0)"
106
+ - Set realistic milestones based on project scope
107
+ - Define success metrics from PRD requirements
108
+ - **Create Initial Tasks**:
109
+ - Use `task-manager create` to add tasks to the v.0.1.0 release:
110
+ - Setup and configuration tasks (project initialization, dependencies)
111
+ - Core feature implementation tasks (from PRD's P0 features)
112
+ - Infrastructure tasks (deployment, CI/CD if applicable)
113
+ - Tasks are created in `dev-taskflow/backlog/v.0.1.0-foundation/tasks/`
114
+ - Each task uses proper templates with full specifications
115
+ - **Generate Initial Roadmap**:
116
+ - Create `dev-taskflow/roadmap.md` outlining project phases:
117
+ - **Phase 1 (v.0.1.0)**: Core functionality and MVP features
118
+ - **Phase 2 (v.0.2.0)**: Enhanced features from "Should-Have Features (P1)"
119
+ - **Phase 3 (v.0.3.0)**: Polish, optimization, and "Could-Have Features (P2)"
120
+ - Include timeline estimates if available from PRD
121
+ - Define success metrics for each phase
122
+ - **Release Structure Verification**:
123
+ - Ensure v.0.1.0 draft is properly structured in `dev-taskflow/backlog/`
124
+ - Verify README.md contains complete release overview
125
+ - Confirm tasks are created with proper IDs and templates
126
+
127
+ 7. **Review and Update Project Source Documentation**:
128
+ - Review the information extracted or gathered through interactive prompts
129
+ - Update the primary source document (PRD.md or README.md) with all gathered project information
130
+ - Ensure alignment with templates while preserving project-specific details
131
+ - Add any missing sections or information discovered during the initialization process
132
+ - Create a checklist of remaining items that need user input or decisions
133
+
134
+ 8. **Create Next Steps Task** (Critical for project continuity):
135
+ - **Determine Task Location**:
136
+ - If `dev-taskflow/current/v.0.0.0-bootstrap/` exists:
137
+ - Create task there as: `v.0.0.0+task.000-project-initialization-next-steps.md`
138
+ - Else if v.0.0.0-bootstrap was not created:
139
+ - Create as first task in v.0.1.0 backlog: `v.0.1.0+task.000-project-initialization-next-steps.md`
140
+ - **IMPORTANT**: This task MUST be created for proper project handoff
141
+ - **Generate Foundation Task**:
142
+ - Use the next-steps task template (`tmpl://task-management/task-next-steps`)
143
+ - Populate with project-specific information gathered during initialization
144
+ - Ensure task ID is 000 to appear first in task listings
145
+ - **Task Content**:
146
+ - Document completed setup (documentation, release planning, tools)
147
+ - List user prerequisites (environment setup, external services, content)
148
+ - Provide development workflow setup steps
149
+ - Include command references and success criteria
150
+ - **Verification**:
151
+ - Run `task-manager next` to confirm task appears
152
+ - Verify task contains project-specific information (not placeholders)
153
+ - Ensure task status is 'pending' and priority is P0
154
+ - **Integration Benefits**:
155
+ - Task appears in `task-manager next` commands
156
+ - Can be tracked and marked complete
157
+ - Maintains consistency with taskflow system
158
+ - Distinguishes user actions from agent-executable tasks
159
+
160
+ ## Prerequisites
161
+
162
+ - `coding-agent-tools integrate claude --init-project` must have been run successfully
163
+ - Project root directory must be accessible with write permissions
164
+ - Ruby >= 3.2 for running dev-tools commands
165
+ - Optional: An existing `PRD.md` or `README.md` (at project root) can provide information for extraction
166
+ - Git repository initialized
167
+
168
+ ## Project Context Loading
169
+
170
+ - Read and follow: `wfi://bundle`
171
+
172
+ ## High-Level Execution Plan
173
+
174
+ ### Planning Steps
175
+
176
+ - [ ] Assess what was created by `integrate --init-project`
177
+ - [ ] Identify missing or incomplete documentation
178
+ - [ ] Plan information gathering strategy
179
+
180
+ ### Execution Steps
181
+
182
+ - [ ] Create/enhance PRD.md and README.md with project information
183
+ - [ ] Update auto-generated documentation with gathered details
184
+ - [ ] Configure context templates and presets
185
+ - [ ] Verify dev-tools command availability
186
+ - [ ] Customize bootstrap release tasks (if exists)
187
+ - [ ] Draft v.0.1.0 release and create roadmap
188
+ - [ ] Create next steps task in v.0.0.0 bootstrap release
189
+ - [ ] Review and finalize all documentation
190
+
191
+ ## User Input (if PRD.md or README.md not present or incomplete)
192
+
193
+ The workflow will prompt for:
194
+
195
+ 1. **Project Overview**:
196
+ - Project name and purpose
197
+ - Key features and goals
198
+ - Target audience/users
199
+ - Success metrics
200
+
201
+ 2. **Technical Information**:
202
+ - **Primary Technology Stack** (e.g., Ruby, Rust, TypeScript)
203
+ - Core libraries/frameworks used
204
+ - External dependencies
205
+ - Integration points
206
+ - Performance requirements
207
+ - Security considerations
208
+
209
+ 3. **Development Planning**:
210
+ - Priority features for v.0.1.0
211
+ - Timeline estimates
212
+ - Team structure (if applicable)
213
+ - Deployment strategy
214
+
215
+ ## Generated/Updated Documentation
216
+
217
+ ### PRD.md
218
+ - Complete product requirements with all sections filled
219
+ - Clear feature prioritization (P0, P1, P2)
220
+ - Technical requirements and constraints
221
+ - User stories and acceptance criteria
222
+
223
+ ### dev-taskflow/backlog/v.0.1.0-foundation/
224
+ - **README.md** with complete release overview (goals, scope, not task details)
225
+ - tasks/ directory with properly structured task files
226
+ - Task IDs following v.0.1.0+task.XXX format
227
+ - Tasks created using standard templates
228
+ - **First task (000)** is always the next-steps task if no bootstrap release
229
+
230
+ ### dev-taskflow/roadmap.md
231
+ - Phased development plan
232
+ - Release milestones
233
+ - Feature allocation per release
234
+ - Success metrics per phase
235
+
236
+ ### docs/context/project.md
237
+ - **Uses proper context-tool-config format** (not Jinja2 syntax)
238
+ - Customized with project name and description
239
+ - Tech-stack-specific files added to context
240
+ - Core files always included (docs/*, README, PRD)
241
+ - Essential commands for development workflow
242
+
243
+ ### .coding-agent/context.yml
244
+ - Configured presets for the project
245
+ - Custom context definitions
246
+ - Appropriate chunk limits
247
+
248
+ ### dev-taskflow/current/v.0.0.0-bootstrap/tasks/v.0.0.0+task.000-project-initialization-next-steps.md
249
+ - **CRITICAL**: This task MUST be created for proper project handoff
250
+ - Structured next steps as trackable task with ID 000 (appears first)
251
+ - User prerequisites checklist with project-specific requirements
252
+ - Development workflow setup guide
253
+ - Command references and success criteria
254
+ - Falls back to v.0.1.0+task.000 if no bootstrap release exists
255
+
256
+ ## Success Criteria
257
+
258
+ - [ ] PRD.md exists and is complete with project information
259
+ - [ ] README.md provides clear project overview
260
+ - [ ] All generated docs updated with actual project details
261
+ - [ ] **Context configuration tested and working**:
262
+ - [ ] `docs/context/project.md` uses proper `<context-tool-config>` format
263
+ - [ ] Context loads without errors: `context --preset project`
264
+ - [ ] Project name and description are customized
265
+ - [ ] v.0.1.0 release drafted with initial tasks and proper README.md
266
+ - [ ] Roadmap created with phased approach
267
+ - [ ] **Next steps task created as task.000** (in v.0.0.0-bootstrap or v.0.1.0)
268
+ - [ ] Next steps task appears when running `task-manager next`
269
+ - [ ] All placeholders replaced with project-specific information
270
+
271
+ ## Workflow Context
272
+
273
+ This workflow completes the project initialization by focusing on information gathering, customization, and planning - the aspects that require human input and decision-making that the automated `integrate --init-project` command cannot handle. It transforms a template-based setup into a fully customized, project-specific development environment.
274
+
275
+ ## Behavior
276
+
277
+ - Preserves all files created by `integrate --init-project`
278
+ - Enhances documentation with project-specific information
279
+ - Creates comprehensive planning artifacts (releases, roadmap)
280
+ - Configures context for optimal AI assistance
281
+ - Provides clear guidance for project continuation
282
+
283
+ ## Embedded Templates
284
+
285
+ ### PRD Template
286
+
287
+ <documents>
288
+ <template path="tmpl://project-docs/prd"># Product Requirements Document (PRD) Template
289
+
290
+ ## Project Overview
291
+
292
+ ### Problem Statement
293
+ <!-- Describe the core problem this project aims to solve -->
294
+
295
+ ### Proposed Solution
296
+ <!-- High-level description of your approach to solving the problem -->
297
+
298
+ ### Success Metrics
299
+ <!-- How will you measure success? Include quantifiable goals where possible -->
300
+
301
+ ## Project Details
302
+
303
+ ### Project Name
304
+ <!-- The official name of your project -->
305
+
306
+ ### Target Audience
307
+ <!-- Who are the primary users/beneficiaries of this project? -->
308
+
309
+ ### Core Value Proposition
310
+ <!-- What unique value does this project provide? -->
311
+
312
+ ## Functional Requirements
313
+
314
+ ### Must-Have Features (P0)
315
+ <!-- Critical features without which the project cannot succeed -->
316
+ - [ ] Feature 1: Description
317
+ - [ ] Feature 2: Description
318
+
319
+ ### Should-Have Features (P1)
320
+ <!-- Important features that significantly enhance the project -->
321
+ - [ ] Feature 1: Description
322
+ - [ ] Feature 2: Description
323
+
324
+ ### Could-Have Features (P2)
325
+ <!-- Nice-to-have features for future consideration -->
326
+ - [ ] Feature 1: Description
327
+ - [ ] Feature 2: Description
328
+
329
+ ## Technical Considerations
330
+
331
+ ### Technology Stack
332
+ <!-- Preferred programming languages, frameworks, databases, etc. -->
333
+ - **Primary Language**:
334
+ - **Framework/Runtime**:
335
+ - **Database**:
336
+ - **Key Libraries**:
337
+ - **Deployment**:
338
+
339
+ ### Architecture Requirements
340
+ <!-- High-level architectural constraints or preferences -->
341
+
342
+ ### Performance Requirements
343
+ <!-- Speed, scalability, and resource constraints -->
344
+
345
+ ### Security Requirements
346
+ <!-- Security considerations and compliance needs -->
347
+
348
+ ### Integration Requirements
349
+ <!-- External systems or APIs this project needs to work with -->
350
+
351
+ ## User Stories
352
+
353
+ ### Primary User Flows
354
+ <!-- Describe the main user journeys through your application -->
355
+
356
+ #### User Story 1
357
+
358
+ **As a** [type of user]
359
+ **I want** [goal/desire]
360
+ **So that** [benefit/value]
361
+
362
+ **Acceptance Criteria:**
363
+ - [ ] Criterion 1
364
+ - [ ] Criterion 2
365
+
366
+ #### User Story 2
367
+
368
+ **As a** [type of user]
369
+ **I want** [goal/desire]
370
+ **So that** [benefit/value]
371
+
372
+ **Acceptance Criteria:**
373
+ - [ ] Criterion 1
374
+ - [ ] Criterion 2
375
+
376
+ ## Timeline and Milestones
377
+
378
+ ### Development Phases
379
+ <!-- Break down the project into manageable phases -->
380
+
381
+ #### Phase 1: Foundation (v.0.1.0)
382
+ - **Duration**: [Estimated time]
383
+ - **Goals**: [What will be accomplished]
384
+ - **Deliverables**: [Specific outputs]
385
+
386
+ #### Phase 2: Enhancement (v.0.2.0)
387
+ - **Duration**: [Estimated time]
388
+ - **Goals**: [What will be accomplished]
389
+ - **Deliverables**: [Specific outputs]
390
+
391
+ #### Phase 3: Polish (v.0.3.0)
392
+ - **Duration**: [Estimated time]
393
+ - **Goals**: [What will be accomplished]
394
+ - **Deliverables**: [Specific outputs]
395
+
396
+ ## Risks and Mitigations
397
+
398
+ ### Technical Risks
399
+ <!-- Potential technical challenges and how to address them -->
400
+
401
+ ### Business Risks
402
+ <!-- Market, user adoption, or other business-related risks -->
403
+
404
+ ### Dependencies
405
+ <!-- External factors that could impact the project -->
406
+
407
+ ## Success Criteria
408
+
409
+ ### MVP Success Metrics
410
+ <!-- What defines a successful MVP launch? -->
411
+
412
+ ### Long-term Success Metrics
413
+ <!-- What defines long-term project success? -->
414
+
415
+ ## Appendices
416
+
417
+ ### Glossary
418
+ <!-- Define project-specific terms -->
419
+
420
+ ### References
421
+ <!-- Links to relevant resources, research, or documentation -->
422
+
423
+ ### Assumptions
424
+ <!-- List any assumptions made in this PRD -->
425
+
426
+ ### Out of Scope
427
+ <!-- Explicitly state what is NOT included in this project -->
428
+ </template>
429
+
430
+ <template path="tmpl://project-docs/roadmap"># Project Roadmap
431
+
432
+ ## Overview
433
+
434
+ This roadmap outlines the planned development phases for [Project Name], from initial MVP through to full feature completion.
435
+
436
+ ## Development Phases
437
+
438
+ ### Phase 1: Foundation (v.0.1.0)
439
+ **Timeline**: [Start Date] - [End Date]
440
+ **Status**: Planning
441
+
442
+ #### Goals
443
+ - Establish core architecture
444
+ - Implement fundamental features
445
+ - Create basic user interface
446
+ - Set up development infrastructure
447
+
448
+ #### Key Features
449
+ - [ ] Feature 1
450
+ - [ ] Feature 2
451
+ - [ ] Feature 3
452
+
453
+ #### Success Metrics
454
+ - Metric 1: Target value
455
+ - Metric 2: Target value
456
+
457
+ ---
458
+
459
+ ### Phase 2: Enhancement (v.0.2.0)
460
+ **Timeline**: [Start Date] - [End Date]
461
+ **Status**: Planned
462
+
463
+ #### Goals
464
+ - Expand functionality
465
+ - Improve user experience
466
+ - Add integration capabilities
467
+ - Enhance performance
468
+
469
+ #### Key Features
470
+ - [ ] Feature 1
471
+ - [ ] Feature 2
472
+ - [ ] Feature 3
473
+
474
+ #### Success Metrics
475
+ - Metric 1: Target value
476
+ - Metric 2: Target value
477
+
478
+ ---
479
+
480
+ ### Phase 3: Polish (v.0.3.0)
481
+ **Timeline**: [Start Date] - [End Date]
482
+ **Status**: Planned
483
+
484
+ #### Goals
485
+ - Optimize performance
486
+ - Polish user interface
487
+ - Add advanced features
488
+ - Prepare for production
489
+
490
+ #### Key Features
491
+ - [ ] Feature 1
492
+ - [ ] Feature 2
493
+ - [ ] Feature 3
494
+
495
+ #### Success Metrics
496
+ - Metric 1: Target value
497
+ - Metric 2: Target value
498
+
499
+ ## Release Schedule
500
+
501
+ | Version | Target Date | Type | Focus |
502
+ |---------|------------|------|-------|
503
+ | v.0.0.0 | [Date] | Bootstrap | Project setup and documentation |
504
+ | v.0.1.0 | [Date] | Alpha | Core functionality |
505
+ | v.0.2.0 | [Date] | Beta | Enhanced features |
506
+ | v.0.3.0 | [Date] | RC | Polish and optimization |
507
+ | v.1.0.0 | [Date] | Release | Production ready |
508
+
509
+ ## Dependencies
510
+
511
+ ### External Dependencies
512
+ - Dependency 1: Impact and timeline
513
+ - Dependency 2: Impact and timeline
514
+
515
+ ### Internal Dependencies
516
+ - Team availability
517
+ - Infrastructure setup
518
+ - Design completion
519
+
520
+ ## Risk Factors
521
+
522
+ ### High Priority Risks
523
+ - Risk 1: Mitigation strategy
524
+ - Risk 2: Mitigation strategy
525
+
526
+ ### Medium Priority Risks
527
+ - Risk 1: Mitigation strategy
528
+ - Risk 2: Mitigation strategy
529
+
530
+ ## Revision History
531
+
532
+ | Date | Version | Changes | Author |
533
+ |------|---------|---------|--------|
534
+ | [Date] | 1.0 | Initial roadmap | [Author] |
535
+ </template>
536
+
537
+ <template path="tmpl://project-docs/context"># Project Context Template
538
+
539
+ ## Project Overview
540
+
541
+ ### Name
542
+ [Project Name]
543
+
544
+ ### Purpose
545
+ [Brief description of what this project does and why it exists]
546
+
547
+ ### Status
548
+ [Current development phase: Planning/Active/Maintenance]
549
+
550
+ ### Repository
551
+ [Repository URL]
552
+
553
+ ## Key Information
554
+
555
+ ### Technology Stack
556
+ - **Primary Language**: [Language]
557
+ - **Framework**: [Framework]
558
+ - **Database**: [Database]
559
+ - **Key Dependencies**: [List main dependencies]
560
+
561
+ ### Architecture
562
+ [Brief description of system architecture]
563
+
564
+ ### Project Structure
565
+ ```
566
+ project-root/
567
+ ├── src/ # [Description]
568
+ ├── tests/ # [Description]
569
+ ├── docs/ # [Description]
570
+ └── ...
571
+ ```
572
+
573
+ ## Development Workflow
574
+
575
+ ### Key Commands
576
+ - `command1` - Description
577
+ - `command2` - Description
578
+
579
+ ### Testing Strategy
580
+ [How testing is approached in this project]
581
+
582
+ ### Deployment Process
583
+ [How the project is deployed]
584
+
585
+ ## Important Decisions
586
+
587
+ ### Decision 1
588
+ [Brief description and rationale]
589
+
590
+ ### Decision 2
591
+ [Brief description and rationale]
592
+
593
+ ## Current Focus
594
+
595
+ ### Active Development
596
+ [What's currently being worked on]
597
+
598
+ ### Known Issues
599
+ [Any important issues to be aware of]
600
+
601
+ ### Next Steps
602
+ [Planned next actions]
603
+
604
+ ## References
605
+
606
+ ### Documentation
607
+ - [Link to important doc 1]
608
+ - [Link to important doc 2]
609
+
610
+ ### External Resources
611
+ - [Link to external resource 1]
612
+ - [Link to external resource 2]
613
+
614
+ ## Team Information
615
+
616
+ ### Maintainers
617
+ - [Name/Role]
618
+
619
+ ### Contributing
620
+ [How to contribute to this project]
621
+ </template>
622
+ </documents>
623
+
624
+ ## References
625
+
626
+ - wfi://handbook/init-project
627
+ - tmpl://project-docs/ (various templates)
628
+ - tmpl://task-management/task-next-steps
629
+ - guide://project-management