@comfanion/workflow 3.0.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 (95) hide show
  1. package/README.md +185 -0
  2. package/bin/cli.js +406 -0
  3. package/package.json +50 -0
  4. package/src/build-info.json +16 -0
  5. package/src/opencode/ARCHITECTURE.md +255 -0
  6. package/src/opencode/FLOW.yaml +900 -0
  7. package/src/opencode/agents/analyst.md +141 -0
  8. package/src/opencode/agents/architect.md +177 -0
  9. package/src/opencode/agents/change-manager.md +263 -0
  10. package/src/opencode/agents/dev.md +171 -0
  11. package/src/opencode/agents/module-docs.md +628 -0
  12. package/src/opencode/agents/pm.md +157 -0
  13. package/src/opencode/agents/researcher.md +254 -0
  14. package/src/opencode/agents/sm.md +184 -0
  15. package/src/opencode/agents/workflow-orchestrator.md +249 -0
  16. package/src/opencode/checklists/architecture-checklist.md +166 -0
  17. package/src/opencode/checklists/code-review-checklist.md +151 -0
  18. package/src/opencode/checklists/prd-checklist.md +140 -0
  19. package/src/opencode/checklists/requirements-checklist.md +86 -0
  20. package/src/opencode/checklists/story-checklist.md +137 -0
  21. package/src/opencode/commands/architecture.md +68 -0
  22. package/src/opencode/commands/archive.md +146 -0
  23. package/src/opencode/commands/change.md +169 -0
  24. package/src/opencode/commands/clarify.md +132 -0
  25. package/src/opencode/commands/code-review.md +96 -0
  26. package/src/opencode/commands/coding-standards.md +102 -0
  27. package/src/opencode/commands/dev-story.md +80 -0
  28. package/src/opencode/commands/diagram.md +152 -0
  29. package/src/opencode/commands/epics.md +52 -0
  30. package/src/opencode/commands/help.md +139 -0
  31. package/src/opencode/commands/jira-sync.md +58 -0
  32. package/src/opencode/commands/module-docs.md +158 -0
  33. package/src/opencode/commands/prd.md +63 -0
  34. package/src/opencode/commands/quick.md +166 -0
  35. package/src/opencode/commands/requirements.md +49 -0
  36. package/src/opencode/commands/research.md +113 -0
  37. package/src/opencode/commands/sprint-plan.md +59 -0
  38. package/src/opencode/commands/stories.md +61 -0
  39. package/src/opencode/commands/validate.md +84 -0
  40. package/src/opencode/commands/workflow-status.md +150 -0
  41. package/src/opencode/config.yaml +223 -0
  42. package/src/opencode/opencode.json +36 -0
  43. package/src/opencode/skills/acceptance-criteria/SKILL.md +212 -0
  44. package/src/opencode/skills/adr-writing/SKILL.md +241 -0
  45. package/src/opencode/skills/architecture-design/SKILL.md +183 -0
  46. package/src/opencode/skills/architecture-validation/SKILL.md +199 -0
  47. package/src/opencode/skills/archiving/SKILL.md +191 -0
  48. package/src/opencode/skills/changelog/SKILL.md +280 -0
  49. package/src/opencode/skills/code-review/SKILL.md +193 -0
  50. package/src/opencode/skills/coding-standards/SKILL.md +430 -0
  51. package/src/opencode/skills/diagram-creation/SKILL.md +273 -0
  52. package/src/opencode/skills/doc-todo/SKILL.md +325 -0
  53. package/src/opencode/skills/epic-writing/SKILL.md +291 -0
  54. package/src/opencode/skills/jira-integration/SKILL.md +560 -0
  55. package/src/opencode/skills/methodologies/SKILL.md +376 -0
  56. package/src/opencode/skills/module-documentation/SKILL.md +214 -0
  57. package/src/opencode/skills/prd-validation/SKILL.md +164 -0
  58. package/src/opencode/skills/prd-writing/SKILL.md +104 -0
  59. package/src/opencode/skills/requirements-gathering/SKILL.md +132 -0
  60. package/src/opencode/skills/requirements-validation/SKILL.md +141 -0
  61. package/src/opencode/skills/research-methodology/SKILL.md +140 -0
  62. package/src/opencode/skills/sprint-planning/SKILL.md +217 -0
  63. package/src/opencode/skills/story-writing/SKILL.md +574 -0
  64. package/src/opencode/skills/test-design/SKILL.md +313 -0
  65. package/src/opencode/skills/translation/SKILL.md +411 -0
  66. package/src/opencode/templates/CHANGELOG.md +82 -0
  67. package/src/opencode/templates/adr-template.md +115 -0
  68. package/src/opencode/templates/architecture-template.md +362 -0
  69. package/src/opencode/templates/change-proposal-template.md +186 -0
  70. package/src/opencode/templates/epic-template.md +151 -0
  71. package/src/opencode/templates/git-workflow-template.md +384 -0
  72. package/src/opencode/templates/integration-tests-template.md +265 -0
  73. package/src/opencode/templates/jira-cache-template.yaml +103 -0
  74. package/src/opencode/templates/module-index-template.md +139 -0
  75. package/src/opencode/templates/module-test-cases-template.md +230 -0
  76. package/src/opencode/templates/prd-acceptance-criteria-template.md +124 -0
  77. package/src/opencode/templates/prd-template.md +479 -0
  78. package/src/opencode/templates/requirements-template.md +132 -0
  79. package/src/opencode/templates/sprint-status-template.yaml +84 -0
  80. package/src/opencode/templates/story-template.md +437 -0
  81. package/src/opencode/templates/testing-standards-template.md +359 -0
  82. package/src/opencode/workflows/dev-story/instructions.md +529 -0
  83. package/src/repo-structure/.gitattributes +64 -0
  84. package/src/repo-structure/CONTRIBUTING.md +182 -0
  85. package/src/repo-structure/README.md +77 -0
  86. package/src/repo-structure/docs/README.md +62 -0
  87. package/src/repo-structure/docs/api/README.md +43 -0
  88. package/src/repo-structure/docs/architecture/README.md +36 -0
  89. package/src/repo-structure/docs/architecture/adr/README.md +53 -0
  90. package/src/repo-structure/docs/architecture/diagrams/README.md +59 -0
  91. package/src/repo-structure/docs/coding-standards/README.md +52 -0
  92. package/src/repo-structure/docs/confluence/README.md +43 -0
  93. package/src/repo-structure/docs/requirements/README.md +28 -0
  94. package/src/repo-structure/docs/sprint-artifacts/README.md +76 -0
  95. package/src/repo-structure/docs/sprint-artifacts/backlog/README.md +24 -0
@@ -0,0 +1,900 @@
1
+ # Documentation & Sprint Management Workflow
2
+ # This file defines the complete workflow pipeline for AI-assisted development
3
+
4
+ name: documentation-workflow
5
+ version: "3.0"
6
+ description: |
7
+ End-to-end workflow from research to implementation and review.
8
+
9
+ Architecture: Commands → Agents → Skills
10
+ - Commands: Entry points (user invokes)
11
+ - Agents: Personas (WHO does work)
12
+ - Skills: Knowledge (HOW to do things)
13
+
14
+ Config: .opencode/config.yaml
15
+
16
+ # =============================================================================
17
+ # CONFIGURATION
18
+ # =============================================================================
19
+ config:
20
+ file: config.yaml
21
+ variables:
22
+ - user_name
23
+ - communication_language
24
+ - document_output_language
25
+ - output_folder
26
+ - sprint_artifacts
27
+ - implementation_artifacts
28
+
29
+ # =============================================================================
30
+ # WORKFLOW PIPELINE (Main Flow)
31
+ # =============================================================================
32
+ #
33
+ # PLANNING PHASE:
34
+ # research (opt) → requirements → prd → coding-standards → architecture → module-docs (opt)
35
+ #
36
+ # SPRINT PHASE:
37
+ # epics → stories → sprint-plan → jira-sync
38
+ #
39
+ # IMPLEMENTATION PHASE:
40
+ # dev-story → code-review → (repeat) → retrospective
41
+ #
42
+ pipeline:
43
+ stages:
44
+ # =========================================================================
45
+ # PLANNING PHASE
46
+ # =========================================================================
47
+
48
+ # OPTIONAL: Research before requirements
49
+ - id: research
50
+ name: Research (Optional)
51
+ description: Technical, market, or domain research before requirements
52
+ phase: planning
53
+ optional: true
54
+ command: /research [type] [topic]
55
+ agent: researcher
56
+ skills:
57
+ - research-methodology
58
+ artifacts:
59
+ output:
60
+ - docs/research/[type]/[topic]-research.md
61
+ next: requirements
62
+
63
+ - id: requirements
64
+ name: Requirements Gathering
65
+ description: Collect FR/NFR through stakeholder interviews
66
+ phase: planning
67
+ command: /requirements
68
+ agent: analyst
69
+ skills:
70
+ - requirements-gathering
71
+ - acceptance-criteria
72
+ artifacts:
73
+ output:
74
+ - docs/requirements/requirements.md
75
+ validation:
76
+ command: /validate requirements
77
+ skill: requirements-validation
78
+ required: true
79
+ next: prd
80
+
81
+ - id: prd
82
+ name: Product Requirements Document
83
+ description: Create PRD from validated requirements
84
+ phase: planning
85
+ command: /prd
86
+ agent: pm
87
+ skills:
88
+ - prd-writing
89
+ - acceptance-criteria
90
+ artifacts:
91
+ input:
92
+ - docs/requirements/requirements.md
93
+ output:
94
+ - docs/prd.md
95
+ validation:
96
+ command: /validate prd
97
+ skill: prd-validation
98
+ required: true
99
+ qa:
100
+ artifact: docs/prd-acceptance-criteria.md
101
+ description: Acceptance criteria for all FRs
102
+ template: templates/prd-acceptance-criteria-template.md
103
+ mandatory: true
104
+ next: coding-standards
105
+
106
+ - id: coding-standards
107
+ name: Coding Standards
108
+ description: Define coding patterns, style, and conventions
109
+ phase: planning
110
+ command: /coding-standards
111
+ agent: architect
112
+ skills:
113
+ - coding-standards
114
+ artifacts:
115
+ input:
116
+ - docs/prd.md
117
+ output:
118
+ - docs/coding-standards/README.md
119
+ - docs/coding-standards/patterns.md
120
+ - docs/coding-standards/testing.md
121
+ next: architecture
122
+
123
+ - id: architecture
124
+ name: Architecture Design
125
+ description: Create system architecture from PRD
126
+ phase: planning
127
+ command: /architecture
128
+ agent: architect
129
+ skills:
130
+ - architecture-design
131
+ - adr-writing
132
+ artifacts:
133
+ input:
134
+ - docs/prd.md
135
+ - CLAUDE.md
136
+ output:
137
+ - docs/architecture.md
138
+ - docs/architecture/adr/*.md
139
+ validation:
140
+ command: /validate architecture
141
+ skill: architecture-validation
142
+ required: true
143
+ qa:
144
+ artifact: docs/architecture-integration-tests.md
145
+ description: Integration test specifications
146
+ template: templates/integration-tests-template.md
147
+ mandatory: true
148
+ next: module-docs
149
+
150
+ # OPTIONAL: Detailed module documentation
151
+ - id: module-docs
152
+ name: Module Documentation (Optional)
153
+ description: Create detailed docs for each module
154
+ phase: planning
155
+ optional: true
156
+ command: /module-docs [module-name]
157
+ agent: module-docs
158
+ skills:
159
+ - module-documentation
160
+ artifacts:
161
+ input:
162
+ - docs/architecture.md
163
+ - docs/prd.md
164
+ output:
165
+ - docs/architecture/[module]/index.md
166
+ - docs/architecture/[module]/architecture.md
167
+ - docs/architecture/[module]/data-model.md
168
+ next: epics
169
+
170
+ # =========================================================================
171
+ # SPRINT PHASE
172
+ # =========================================================================
173
+
174
+ - id: epics
175
+ name: Epic Creation
176
+ description: Break PRD into implementation epics
177
+ phase: sprint
178
+ command: /epics
179
+ agent: sm
180
+ skills:
181
+ - epic-writing
182
+ - acceptance-criteria
183
+ artifacts:
184
+ input:
185
+ - docs/prd.md
186
+ - docs/architecture.md
187
+ output:
188
+ - docs/sprint-artifacts/backlog/epic-*.md
189
+ - docs/sprint-artifacts/sprint-*/epic-*.md
190
+ validation:
191
+ command: /validate epics
192
+ required: true
193
+ rules:
194
+ - All epics have acceptance criteria
195
+ next: stories
196
+
197
+ - id: stories
198
+ name: Story Creation
199
+ description: Create detailed stories for each epic
200
+ phase: sprint
201
+ command: /stories {epic-id}
202
+ agent: sm
203
+ skills:
204
+ - story-writing
205
+ - acceptance-criteria
206
+ artifacts:
207
+ input:
208
+ - docs/sprint-artifacts/*/epic-*.md
209
+ output:
210
+ - docs/sprint-artifacts/*/stories/story-*.md
211
+ validation:
212
+ command: /validate stories
213
+ required: true
214
+ rules:
215
+ - All stories have Given/When/Then AC
216
+ - All stories have tasks/subtasks
217
+ next: sprint-plan
218
+
219
+ - id: sprint-plan
220
+ name: Sprint Planning
221
+ description: Organize epics and stories into sprints
222
+ phase: sprint
223
+ command: /sprint-plan
224
+ agent: sm
225
+ skills:
226
+ - sprint-planning
227
+ artifacts:
228
+ output:
229
+ - docs/sprint-artifacts/sprint-status.yaml
230
+ next: jira-sync
231
+
232
+ - id: jira-sync
233
+ name: Jira Synchronization
234
+ description: Sync epics/stories/tasks to Jira with development control
235
+ phase: sprint
236
+ command: /jira-sync [links...]
237
+ agent: sm
238
+ skills:
239
+ - jira-integration
240
+ artifacts:
241
+ input:
242
+ - docs/sprint-artifacts/*/epic-*.md
243
+ - docs/sprint-artifacts/*/stories/story-*.md
244
+ output:
245
+ - docs/sprint-artifacts/jira-sync-report.md
246
+ - .opencode/jira-cache.yaml
247
+ modes:
248
+ with_links: "User provides Jira links → fetch, find related, ask what to update"
249
+ auto_create: "No links → scan local docs, create/update in Jira project"
250
+ features:
251
+ - cache_system
252
+ - find_related_issues
253
+ - control_development
254
+ - branch_creation
255
+ next: dev-story
256
+
257
+ # =========================================================================
258
+ # IMPLEMENTATION PHASE
259
+ # =========================================================================
260
+
261
+ - id: dev-story
262
+ name: Story Implementation
263
+ description: Implement story using red-green-refactor cycle
264
+ phase: implementation
265
+ command: /dev-story [story-path | jira-link]
266
+ agent: dev
267
+ skills:
268
+ - dev-story
269
+ - test-design
270
+ - jira-integration
271
+ artifacts:
272
+ input:
273
+ - docs/sprint-artifacts/*/stories/story-*.md
274
+ - .opencode/jira-cache.yaml
275
+ - CLAUDE.md
276
+ output:
277
+ - Implementation code
278
+ - Unit tests
279
+ - Integration tests
280
+ workflow: workflows/dev-story/instructions.md
281
+ jira_integration:
282
+ on_start: "transition to in_progress, create branch"
283
+ on_review: "transition to review, link PR"
284
+ on_complete: "update Jira description with summary"
285
+ next: code-review
286
+
287
+ - id: code-review
288
+ name: Code Review
289
+ description: Review implemented code for quality and correctness
290
+ phase: implementation
291
+ command: /code-review [story-path]
292
+ agent: dev
293
+ skills:
294
+ - code-review
295
+ artifacts:
296
+ input:
297
+ - docs/sprint-artifacts/*/stories/story-*.md
298
+ output:
299
+ - Review comments in story file
300
+ - Review follow-up tasks
301
+ next: dev-story # Loop back if changes requested
302
+
303
+ - id: retrospective
304
+ name: Sprint Retrospective
305
+ description: Review sprint and capture learnings
306
+ phase: implementation
307
+ command: /retrospective
308
+ agent: sm
309
+ artifacts:
310
+ output:
311
+ - docs/sprint-artifacts/sprint-N/retrospective.md
312
+
313
+ # =============================================================================
314
+ # AGENTS (Personas - WHO does work)
315
+ # =============================================================================
316
+ agents:
317
+ analyst:
318
+ name: Mary
319
+ title: Business Analyst
320
+ icon: "📊"
321
+ description: Requirements Analyst - extracts FR/NFR through stakeholder interviews
322
+ mode: subagent
323
+ model: anthropic/claude-sonnet-4-20250514
324
+ temperature: 0.3
325
+ file: agents/analyst.md
326
+ expertise:
327
+ - Requirements engineering
328
+ - Business analysis
329
+ - Stakeholder interviews
330
+ personality: Methodical, thorough, asks clarifying questions
331
+ skills_used:
332
+ - requirements-gathering
333
+ - requirements-validation
334
+ - acceptance-criteria
335
+ - methodologies
336
+
337
+ pm:
338
+ name: John
339
+ title: Product Manager
340
+ icon: "📋"
341
+ description: Product Manager - creates PRDs, defines scope, prioritizes features
342
+ mode: subagent
343
+ model: anthropic/claude-sonnet-4-20250514
344
+ temperature: 0.3
345
+ file: agents/pm.md
346
+ expertise:
347
+ - Product management
348
+ - B2B SaaS
349
+ - Marketplace platforms
350
+ personality: Business-focused, user-centric, data-driven
351
+ skills_used:
352
+ - prd-writing
353
+ - prd-validation
354
+ - acceptance-criteria
355
+ - methodologies
356
+
357
+ architect:
358
+ name: Winston
359
+ title: Solution Architect
360
+ icon: "🏗️"
361
+ description: Solution Architect - designs system architecture, makes technical decisions
362
+ mode: subagent
363
+ model: anthropic/claude-sonnet-4-20250514
364
+ temperature: 0.2
365
+ file: agents/architect.md
366
+ expertise:
367
+ - Distributed systems
368
+ - DDD, hexagonal architecture
369
+ - System design
370
+ personality: Technical, precise, patterns-focused
371
+ skills_used:
372
+ - architecture-design
373
+ - architecture-validation
374
+ - adr-writing
375
+ - coding-standards
376
+ - methodologies
377
+
378
+ sm:
379
+ name: Sarah
380
+ title: Sprint Manager
381
+ icon: "📊"
382
+ description: Sprint Manager - creates epics/stories, plans sprints, tracks progress
383
+ mode: subagent
384
+ model: anthropic/claude-sonnet-4-20250514
385
+ temperature: 0.2
386
+ file: agents/sm.md
387
+ expertise:
388
+ - Agile project management
389
+ - Sprint planning
390
+ - Backlog management
391
+ personality: Organized, detail-oriented, pragmatic
392
+ skills_used:
393
+ - epic-writing
394
+ - story-writing
395
+ - sprint-planning
396
+ - jira-integration
397
+ - acceptance-criteria
398
+
399
+ dev:
400
+ name: Amelia
401
+ title: Senior Developer
402
+ icon: "💻"
403
+ description: Developer - implements stories following red-green-refactor cycle
404
+ mode: subagent
405
+ model: anthropic/claude-sonnet-4-20250514
406
+ temperature: 0.2
407
+ file: agents/dev.md
408
+ expertise:
409
+ - Software development
410
+ - TDD/BDD
411
+ - Code review
412
+ personality: Precise, test-driven, follows story specifications exactly
413
+ skills_used:
414
+ - dev-story
415
+ - code-review
416
+ - test-design
417
+
418
+ # Supporting Agents (not in main pipeline)
419
+ researcher:
420
+ name: Alex
421
+ title: Researcher
422
+ icon: "🔍"
423
+ description: Researcher - conducts technical, market, and domain research
424
+ mode: subagent
425
+ model: anthropic/claude-sonnet-4-20250514
426
+ temperature: 0.4
427
+ file: agents/researcher.md
428
+ expertise:
429
+ - Technical research
430
+ - Market analysis
431
+ - Domain expertise
432
+ personality: Curious, thorough, evidence-based
433
+ skills_used:
434
+ - research-methodology
435
+ - methodologies
436
+
437
+ module-docs:
438
+ name: Marcus
439
+ title: Module Documenter
440
+ icon: "📚"
441
+ description: Module Documenter - creates detailed per-module documentation
442
+ mode: subagent
443
+ model: anthropic/claude-sonnet-4-20250514
444
+ temperature: 0.2
445
+ file: agents/module-docs.md
446
+ expertise:
447
+ - Technical writing
448
+ - System documentation
449
+ - API documentation
450
+ personality: Precise, structured, detail-oriented
451
+ skills_used:
452
+ - module-documentation
453
+
454
+ change-manager:
455
+ name: Charles
456
+ title: Change Manager
457
+ icon: "🔄"
458
+ description: Change Manager - manages documentation change proposals
459
+ mode: subagent
460
+ model: anthropic/claude-sonnet-4-20250514
461
+ temperature: 0.2
462
+ file: agents/change-manager.md
463
+ expertise:
464
+ - Change management
465
+ - Impact analysis
466
+ - Version control
467
+ personality: Careful, systematic, risk-aware
468
+ skills_used:
469
+ - change-management
470
+
471
+ # =============================================================================
472
+ # SKILLS (Knowledge - HOW to do things)
473
+ # =============================================================================
474
+ skills:
475
+ # Requirements Skills
476
+ requirements-gathering:
477
+ description: How to interview stakeholders, extract FR/NFR
478
+ file: skills/requirements-gathering/SKILL.md
479
+ used_by: [analyst]
480
+ produces: docs/requirements/requirements.md
481
+
482
+ requirements-validation:
483
+ description: How to validate requirements (SMART, no conflicts)
484
+ file: skills/requirements-validation/SKILL.md
485
+ used_by: [analyst, architect]
486
+ produces: docs/validation/requirements-validation-*.md
487
+
488
+ # PRD Skills
489
+ prd-writing:
490
+ description: How to write PRD (template, sections, examples)
491
+ file: skills/prd-writing/SKILL.md
492
+ used_by: [pm]
493
+ produces: docs/prd.md
494
+
495
+ prd-validation:
496
+ description: How to validate PRD completeness
497
+ file: skills/prd-validation/SKILL.md
498
+ used_by: [architect]
499
+ produces: docs/validation/prd-validation-*.md
500
+
501
+ acceptance-criteria:
502
+ description: How to write testable AC (Given/When/Then)
503
+ file: skills/acceptance-criteria/SKILL.md
504
+ used_by: [analyst, pm, sm]
505
+
506
+ # Architecture Skills
507
+ architecture-design:
508
+ description: How to design system architecture
509
+ file: skills/architecture-design/SKILL.md
510
+ used_by: [architect]
511
+ produces: docs/architecture.md
512
+
513
+ architecture-validation:
514
+ description: How to validate architecture
515
+ file: skills/architecture-validation/SKILL.md
516
+ used_by: [architect]
517
+ produces: docs/validation/architecture-validation-*.md
518
+
519
+ adr-writing:
520
+ description: How to write Architecture Decision Records
521
+ file: skills/adr-writing/SKILL.md
522
+ used_by: [architect]
523
+ produces: docs/architecture/adr/*.md
524
+
525
+ coding-standards:
526
+ description: How to define coding patterns and conventions
527
+ file: skills/coding-standards/SKILL.md
528
+ used_by: [architect]
529
+ produces: docs/coding-standards/
530
+
531
+ # Sprint Skills
532
+ epic-writing:
533
+ description: How to write epics with AC
534
+ file: skills/epic-writing/SKILL.md
535
+ used_by: [sm]
536
+ produces: docs/sprint-artifacts/*/epic-*.md
537
+
538
+ story-writing:
539
+ description: How to write user stories with AC and tasks
540
+ file: skills/story-writing/SKILL.md
541
+ used_by: [sm]
542
+ produces: docs/sprint-artifacts/*/stories/story-*.md
543
+
544
+ sprint-planning:
545
+ description: How to plan and organize sprints
546
+ file: skills/sprint-planning/SKILL.md
547
+ used_by: [sm]
548
+ produces: docs/sprint-artifacts/sprint-status.yaml
549
+
550
+ jira-integration:
551
+ description: Bidirectional Jira sync with development control
552
+ file: skills/jira-integration/SKILL.md
553
+ used_by: [sm, dev]
554
+ cache: "{project-root}/.opencode/jira-cache.yaml"
555
+ produces: docs/sprint-artifacts/jira-sync-report.md
556
+ modes:
557
+ - with_links # User provides Jira links
558
+ - auto_create # Agent creates in project
559
+ - mixed # Sync existing with local
560
+ features:
561
+ - cache_system # Local cache for speed
562
+ - find_related # Find parent/children
563
+ - control_development # Manage statuses, branches
564
+ - status_validation # Ensure workflow statuses exist
565
+
566
+ # Implementation Skills
567
+ dev-story:
568
+ description: How to implement stories using red-green-refactor
569
+ file: workflows/dev-story/instructions.md
570
+ used_by: [dev]
571
+
572
+ code-review:
573
+ description: How to perform code reviews
574
+ file: skills/code-review/SKILL.md
575
+ used_by: [dev]
576
+
577
+ test-design:
578
+ description: How to design and write tests
579
+ file: skills/test-design/SKILL.md
580
+ used_by: [dev]
581
+
582
+ # Utility Skills
583
+ research-methodology:
584
+ description: How to conduct technical, market, domain research
585
+ file: skills/research-methodology/SKILL.md
586
+ used_by: [researcher]
587
+ produces: docs/research/
588
+
589
+ module-documentation:
590
+ description: How to create detailed module documentation
591
+ file: skills/module-documentation/SKILL.md
592
+ used_by: [module-docs]
593
+ produces: docs/architecture/[module]/
594
+
595
+ archiving:
596
+ description: How to archive documents properly
597
+ file: skills/archiving/SKILL.md
598
+ used_by: [sm, architect]
599
+ produces: docs/archive/
600
+
601
+ diagram-creation:
602
+ description: How to create C4, sequence, ER, flowchart diagrams
603
+ file: skills/diagram-creation/SKILL.md
604
+ used_by: [architect]
605
+ produces: docs/diagrams/
606
+
607
+ methodologies:
608
+ description: Structured methods for requirements, analysis, problem-solving
609
+ file: skills/methodologies/SKILL.md
610
+ used_by: [analyst, pm, architect, researcher]
611
+ methods:
612
+ analyst: [User Interviews, Empathy Mapping, Journey Mapping, Affinity Clustering, Five Whys, Fishbone]
613
+ pm: [Problem Framing, HMW, POV Statement, JTBD, Brainstorming, SCAMPER]
614
+ architect: [Systems Thinking, Fishbone, Is/Is Not Analysis, Decision Matrix]
615
+ researcher: [Analogous Inspiration, Five Whys, Systems Thinking, Is/Is Not]
616
+
617
+ doc-todo:
618
+ description: Incremental document writing with TODO placeholders
619
+ file: skills/doc-todo/SKILL.md
620
+ used_by: [analyst, pm, architect, sm]
621
+ types:
622
+ - DRAFT # Section is draft, needs review
623
+ - EXPAND # Section needs more detail
624
+ - RESEARCH # Needs research/investigation
625
+ - REVIEW # Needs stakeholder review
626
+ - DECISION # Decision needed
627
+ - DEPENDENCY # Waiting on other document
628
+ - EXAMPLE # Add examples
629
+ - DIAGRAM # Add diagram
630
+ - NUMBERS # Add metrics/numbers
631
+ - LINK # Add links/references
632
+
633
+ changelog:
634
+ description: Maintain changelogs for repository and documents
635
+ file: skills/changelog/SKILL.md
636
+ used_by: [dev, sm, pm, architect]
637
+ mandatory: true
638
+ artifacts:
639
+ repo: CHANGELOG.md
640
+ docs: "## Changelog section in each document"
641
+ format:
642
+ repo: keepachangelog
643
+ docs: table
644
+
645
+ translation:
646
+ description: Translate docs to user language, export to Confluence
647
+ file: skills/translation/SKILL.md
648
+ used_by: [pm, analyst]
649
+ output_folder: "docs/confluence/"
650
+ formats: [confluence, markdown, html]
651
+ rules:
652
+ - "Technical docs (docs/) ALWAYS in English"
653
+ - "Translations go to docs/confluence/"
654
+ - "Preserve technical terms in English"
655
+ - "Keep code blocks unchanged"
656
+
657
+ # =============================================================================
658
+ # COMMANDS (Entry Points)
659
+ # =============================================================================
660
+ commands:
661
+ # Planning Commands
662
+ requirements:
663
+ description: Gather FR/NFR requirements
664
+ agent: analyst
665
+ file: commands/requirements.md
666
+ skills_loaded: [requirements-gathering, acceptance-criteria]
667
+
668
+ prd:
669
+ description: Create/edit PRD
670
+ agent: pm
671
+ file: commands/prd.md
672
+ skills_loaded: [prd-writing, acceptance-criteria]
673
+
674
+ coding-standards:
675
+ description: Define coding standards
676
+ agent: architect
677
+ file: commands/coding-standards.md
678
+ skills_loaded: [coding-standards]
679
+
680
+ architecture:
681
+ description: Create/edit architecture
682
+ agent: architect
683
+ file: commands/architecture.md
684
+ skills_loaded: [architecture-design, adr-writing]
685
+
686
+ # Sprint Commands
687
+ epics:
688
+ description: Create epics from PRD
689
+ agent: sm
690
+ file: commands/epics.md
691
+ skills_loaded: [epic-writing, acceptance-criteria]
692
+
693
+ stories:
694
+ description: Create stories for epic
695
+ agent: sm
696
+ file: commands/stories.md
697
+ arguments:
698
+ - name: epic-id
699
+ required: true
700
+ skills_loaded: [story-writing, acceptance-criteria]
701
+
702
+ sprint-plan:
703
+ description: Plan sprints
704
+ agent: sm
705
+ file: commands/sprint-plan.md
706
+ skills_loaded: [sprint-planning]
707
+
708
+ jira-sync:
709
+ description: Sync to Jira
710
+ agent: sm
711
+ file: commands/jira-sync.md
712
+ skills_loaded: [jira-integration]
713
+
714
+ # Implementation Commands
715
+ dev-story:
716
+ description: Implement a story
717
+ agent: dev
718
+ file: commands/dev-story.md
719
+ arguments:
720
+ - name: story-path
721
+ required: false
722
+ skills_loaded: [dev-story, test-design]
723
+
724
+ code-review:
725
+ description: Review implemented code
726
+ agent: dev
727
+ file: commands/code-review.md
728
+ arguments:
729
+ - name: story-path
730
+ required: false
731
+ skills_loaded: [code-review]
732
+
733
+ # Utility Commands
734
+ validate:
735
+ description: Validate artifacts
736
+ agent: architect
737
+ file: commands/validate.md
738
+ arguments:
739
+ - name: type
740
+ values: [requirements, prd, architecture, epics, stories, all]
741
+ skills_loaded: [requirements-validation, prd-validation, architecture-validation]
742
+
743
+ workflow-status:
744
+ description: Show workflow status
745
+ agent: sm
746
+ file: commands/workflow-status.md
747
+
748
+ research:
749
+ description: Conduct research
750
+ agent: researcher
751
+ file: commands/research.md
752
+ arguments:
753
+ - name: type
754
+ values: [market, technical, domain, competitive]
755
+ - name: topic
756
+ required: true
757
+
758
+ module-docs:
759
+ description: Create module documentation
760
+ agent: module-docs
761
+ file: commands/module-docs.md
762
+ arguments:
763
+ - name: module-name
764
+ required: true
765
+
766
+ change:
767
+ description: Manage documentation changes
768
+ agent: change-manager
769
+ file: commands/change.md
770
+ arguments:
771
+ - name: action
772
+ values: [propose, review, apply, reject]
773
+
774
+ # =============================================================================
775
+ # ARTIFACTS
776
+ # =============================================================================
777
+ artifacts:
778
+ requirements:
779
+ path: docs/requirements/requirements.md
780
+ template: templates/requirements-template.md
781
+
782
+ prd:
783
+ path: docs/prd.md
784
+ template: templates/prd-template.md
785
+
786
+ prd-qa:
787
+ path: docs/prd-acceptance-criteria.md
788
+ template: templates/prd-acceptance-criteria-template.md
789
+ mandatory: true
790
+
791
+ architecture:
792
+ path: docs/architecture.md
793
+ template: templates/architecture-template.md
794
+
795
+ architecture-qa:
796
+ path: docs/architecture-integration-tests.md
797
+ template: templates/integration-tests-template.md
798
+ mandatory: true
799
+
800
+ epic:
801
+ path: docs/sprint-artifacts/*/epic-*.md
802
+ template: templates/epic-template.md
803
+ naming: "epic-{NN}-{module}-{description}.md"
804
+ id_format: "{MODULE}-E{NN}"
805
+
806
+ story:
807
+ path: docs/sprint-artifacts/*/stories/story-*.md
808
+ template: templates/story-template.md
809
+ naming: "story-{EPIC}-{NN}-{description}.md"
810
+ id_format: "{MODULE}-S{EPIC}-{NN}"
811
+
812
+ sprint-status:
813
+ path: docs/sprint-artifacts/sprint-status.yaml
814
+ template: templates/sprint-status-template.yaml
815
+ format: yaml
816
+
817
+ # =============================================================================
818
+ # QUICK START
819
+ # =============================================================================
820
+ quickstart:
821
+ phases:
822
+ - name: Planning
823
+ steps:
824
+ - step: 1
825
+ command: /workflow-status
826
+ description: Check current status
827
+
828
+ - step: 2
829
+ command: /requirements
830
+ description: Gather requirements (if missing)
831
+
832
+ - step: 3
833
+ command: /validate requirements
834
+ description: Validate requirements
835
+
836
+ - step: 4
837
+ command: /prd
838
+ description: Create PRD
839
+
840
+ - step: 5
841
+ action: Create QA artifact
842
+ file: docs/prd-acceptance-criteria.md
843
+ description: AC for all FRs (MANDATORY)
844
+
845
+ - step: 6
846
+ command: /validate prd
847
+ description: Validate PRD + QA artifact
848
+
849
+ - step: 7
850
+ command: /coding-standards
851
+ description: Define coding standards
852
+
853
+ - step: 8
854
+ command: /architecture
855
+ description: Design architecture
856
+
857
+ - step: 9
858
+ action: Create QA artifact
859
+ file: docs/architecture-integration-tests.md
860
+ description: Integration tests (MANDATORY)
861
+
862
+ - step: 10
863
+ command: /validate architecture
864
+ description: Validate architecture + QA artifact
865
+
866
+ - name: Sprint
867
+ steps:
868
+ - step: 11
869
+ command: /epics
870
+ description: Create epics
871
+
872
+ - step: 12
873
+ command: /stories {epic-id}
874
+ description: Create stories for each epic
875
+
876
+ - step: 13
877
+ command: /sprint-plan
878
+ description: Plan sprints
879
+
880
+ - step: 14
881
+ command: /jira-sync
882
+ description: Sync to Jira
883
+
884
+ - name: Implementation
885
+ steps:
886
+ - step: 15
887
+ command: /dev-story
888
+ description: Implement story (red-green-refactor)
889
+
890
+ - step: 16
891
+ command: /code-review
892
+ description: Review implementation
893
+
894
+ - step: 17
895
+ action: Repeat steps 15-16
896
+ description: Until all stories done
897
+
898
+ - step: 18
899
+ command: /retrospective
900
+ description: Sprint retrospective