@comfanion/workflow 4.1.2 → 4.3.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.
- package/README.md +1 -2
- package/bin/cli.js +2 -4
- package/package.json +1 -1
- package/src/build-info.json +1 -1
- package/src/opencode/ARCHITECTURE.md +7 -6
- package/src/opencode/FLOW.yaml +10 -10
- package/src/opencode/agents/coder.md +82 -0
- package/src/opencode/agents/dev.md +10 -0
- package/src/opencode/commands/architecture.md +1 -1
- package/src/opencode/commands/prd.md +1 -1
- package/src/opencode/config.yaml +1 -1
- package/src/opencode/skills/adr-writing/SKILL.md +122 -159
- package/src/opencode/skills/adr-writing/template.md +130 -0
- package/src/opencode/skills/architecture-design/SKILL.md +113 -107
- package/src/opencode/skills/architecture-design/template.md +212 -0
- package/src/opencode/skills/architecture-validation/SKILL.md +1 -1
- package/src/opencode/skills/changelog/template.md +23 -0
- package/src/opencode/skills/epic-writing/SKILL.md +116 -264
- package/src/opencode/skills/epic-writing/template.md +119 -0
- package/src/opencode/skills/prd-validation/SKILL.md +1 -1
- package/src/opencode/skills/prd-writing/SKILL.md +79 -43
- package/src/opencode/skills/prd-writing/template.md +147 -0
- package/src/opencode/skills/requirements-gathering/SKILL.md +128 -78
- package/src/opencode/skills/requirements-gathering/template.md +156 -0
- package/src/opencode/skills/story-writing/SKILL.md +106 -464
- package/src/opencode/skills/story-writing/template.md +214 -0
- package/src/opencode/skills/unit-writing/SKILL.md +185 -0
- package/src/opencode/skills/unit-writing/template.md +136 -0
- package/src/repo-structure/docs/README.md +5 -5
- package/src/repo-structure/docs/requirements/README.md +1 -1
- package/src/opencode/templates/CHANGELOG.md +0 -82
- package/src/opencode/templates/adr-template.md +0 -115
- package/src/opencode/templates/architecture-template.md +0 -362
- package/src/opencode/templates/epic-template.md +0 -166
- package/src/opencode/templates/prd-template.md +0 -479
- package/src/opencode/templates/requirements-template.md +0 -132
- package/src/opencode/templates/story-template.md +0 -182
- /package/src/opencode/{templates/prd-acceptance-criteria-template.md → skills/acceptance-criteria/template.md} +0 -0
- /package/src/opencode/{templates/change-proposal-template.md → skills/archiving/template-change-proposal.md} +0 -0
- /package/src/opencode/{templates/git-workflow-template.md → skills/coding-standards/template-git.md} +0 -0
- /package/src/opencode/{templates/testing-standards-template.md → skills/coding-standards/template-testing.md} +0 -0
- /package/src/opencode/{templates/jira-cache-template.yaml → skills/jira-integration/template-cache.yaml} +0 -0
- /package/src/opencode/{templates/module-index-template.md → skills/module-documentation/template.md} +0 -0
- /package/src/opencode/{templates/sprint-status-template.yaml → skills/sprint-planning/template.yaml} +0 -0
- /package/src/opencode/{templates/integration-tests-template.md → skills/test-design/template-integration.md} +0 -0
- /package/src/opencode/{templates/module-test-cases-template.md → skills/test-design/template-module.md} +0 -0
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
stepsCompleted: []
|
|
3
|
-
inputDocuments: []
|
|
4
|
-
workflowType: 'story'
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Story {{epic_number}}.{{story_number}}: {{story_title}}
|
|
8
|
-
|
|
9
|
-
**Story ID:** {{module}}-S{{epic_number}}-{{story_number}}
|
|
10
|
-
**Epic:** {{module}}-E{{epic_number}} - {{epic_title}}
|
|
11
|
-
**Status:** draft | ready-for-dev | in-progress | review | done
|
|
12
|
-
**Size:** XS | S | M | L | XL
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
## Prerequisites (PM reads before writing tasks)
|
|
17
|
-
|
|
18
|
-
<!-- ⚠️ MANDATORY: Read these docs before writing tasks! -->
|
|
19
|
-
|
|
20
|
-
- [ ] `AGENTS.md` / `CLAUDE.md` - coding patterns, naming, error handling
|
|
21
|
-
- [ ] `docs/coding-standards/` - detailed coding standards
|
|
22
|
-
- [ ] `docs/architecture/{{module}}/` - module architecture, data model
|
|
23
|
-
- [ ] Existing code in `src/services/{{module}}/` - patterns to follow
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## Goal
|
|
28
|
-
|
|
29
|
-
{{Short description - 1-2 sentences. What this story achieves. Same as in epic's stories table.}}
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## Acceptance Criteria
|
|
34
|
-
|
|
35
|
-
- [ ] {{criterion_1}}
|
|
36
|
-
- [ ] {{criterion_2}}
|
|
37
|
-
- [ ] {{criterion_3}}
|
|
38
|
-
- [ ] All tests pass
|
|
39
|
-
- [ ] No linting errors
|
|
40
|
-
|
|
41
|
-
---
|
|
42
|
-
|
|
43
|
-
## Tasks
|
|
44
|
-
|
|
45
|
-
| ID | Task | Deps | Status |
|
|
46
|
-
|----|------|------|--------|
|
|
47
|
-
| T1 | {{task_1_name}} | - | ⬜ |
|
|
48
|
-
| T2 | {{task_2_name}} | T1 | ⬜ |
|
|
49
|
-
| T3 | {{task_3_name}} | T2 | ⬜ |
|
|
50
|
-
|
|
51
|
-
**Status:** ⬜ TODO | 🔄 IN_PROGRESS | ✅ DONE | ⏸️ BLOCKED
|
|
52
|
-
|
|
53
|
-
---
|
|
54
|
-
|
|
55
|
-
### T1: {{task_1_name}}
|
|
56
|
-
|
|
57
|
-
**Goal:** {{what_this_task_achieves}}
|
|
58
|
-
|
|
59
|
-
**Documentation:**
|
|
60
|
-
- [AGENTS.md#section](../../../AGENTS.md#section) - {{what_pattern}}
|
|
61
|
-
- [data-model.md#table](../../../docs/data-model.md#section) - {{schema_info}}
|
|
62
|
-
- [existing_example.go](../path/to/example.go) - Pattern to follow
|
|
63
|
-
|
|
64
|
-
**Input (Prerequisites):**
|
|
65
|
-
- {{what_must_exist_before_starting}}
|
|
66
|
-
- Existing file: `path/to/dependency.go` - provides {{what}}
|
|
67
|
-
|
|
68
|
-
**Output (Deliverables):**
|
|
69
|
-
- `path/to/new_file.go` - {{description}}
|
|
70
|
-
- `path/to/new_file_test.go` - Tests for {{what}}
|
|
71
|
-
|
|
72
|
-
**Implementation Steps:**
|
|
73
|
-
1. Read documentation links above
|
|
74
|
-
2. {{step_2}}
|
|
75
|
-
3. {{step_3}}
|
|
76
|
-
4. Write tests covering: happy path, errors, edge cases
|
|
77
|
-
5. Run: `go test ./path/to/...`
|
|
78
|
-
|
|
79
|
-
**Acceptance Criteria:**
|
|
80
|
-
- [ ] Files created at specified paths
|
|
81
|
-
- [ ] Follows patterns from AGENTS.md
|
|
82
|
-
- [ ] Tests pass: `go test ./path/to/...`
|
|
83
|
-
- [ ] Lint passes: `golangci-lint run`
|
|
84
|
-
|
|
85
|
-
**Notes:** {{additional_context_or_gotchas}}
|
|
86
|
-
|
|
87
|
-
---
|
|
88
|
-
|
|
89
|
-
### T2: {{task_2_name}}
|
|
90
|
-
|
|
91
|
-
**Goal:** {{what_this_task_achieves}}
|
|
92
|
-
|
|
93
|
-
**Documentation:**
|
|
94
|
-
- [AGENTS.md#section](link) - {{pattern}}
|
|
95
|
-
- [T1 output](../path/from/T1) - Uses types from T1
|
|
96
|
-
|
|
97
|
-
**Input (Prerequisites):**
|
|
98
|
-
- T1 completed
|
|
99
|
-
- Files from T1: `path/to/aggregate.go`
|
|
100
|
-
|
|
101
|
-
**Output (Deliverables):**
|
|
102
|
-
- `path/to/file.go` - {{description}}
|
|
103
|
-
- `path/to/file_test.go` - Tests
|
|
104
|
-
|
|
105
|
-
**Implementation Steps:**
|
|
106
|
-
1. {{step}}
|
|
107
|
-
2. {{step}}
|
|
108
|
-
|
|
109
|
-
**Acceptance Criteria:**
|
|
110
|
-
- [ ] {{criterion}}
|
|
111
|
-
- [ ] Tests pass
|
|
112
|
-
|
|
113
|
-
**Notes:** {{notes}}
|
|
114
|
-
|
|
115
|
-
---
|
|
116
|
-
|
|
117
|
-
### T3: {{task_3_name}}
|
|
118
|
-
|
|
119
|
-
**Goal:** {{goal}}
|
|
120
|
-
|
|
121
|
-
**Documentation:**
|
|
122
|
-
- {{links}}
|
|
123
|
-
|
|
124
|
-
**Input (Prerequisites):**
|
|
125
|
-
- T2 completed
|
|
126
|
-
- {{dependencies}}
|
|
127
|
-
|
|
128
|
-
**Output (Deliverables):**
|
|
129
|
-
- {{files}}
|
|
130
|
-
|
|
131
|
-
**Implementation Steps:**
|
|
132
|
-
1. {{steps}}
|
|
133
|
-
|
|
134
|
-
**Acceptance Criteria:**
|
|
135
|
-
- [ ] {{criteria}}
|
|
136
|
-
- [ ] All tests pass
|
|
137
|
-
- [ ] **⚠️ NO REGRESSIONS** (run full test suite)
|
|
138
|
-
|
|
139
|
-
**Notes:** {{notes}}
|
|
140
|
-
|
|
141
|
-
---
|
|
142
|
-
|
|
143
|
-
## Notes
|
|
144
|
-
|
|
145
|
-
<!-- Optional: additional context, learnings, blockers -->
|
|
146
|
-
|
|
147
|
-
---
|
|
148
|
-
|
|
149
|
-
## Definition of Done
|
|
150
|
-
|
|
151
|
-
- [ ] All acceptance criteria met
|
|
152
|
-
- [ ] All tasks completed
|
|
153
|
-
- [ ] Tests passing (>80% coverage)
|
|
154
|
-
- [ ] Code follows AGENTS.md patterns
|
|
155
|
-
- [ ] No linting errors
|
|
156
|
-
- [ ] PR merged to epic branch
|
|
157
|
-
|
|
158
|
-
---
|
|
159
|
-
|
|
160
|
-
## Changelog
|
|
161
|
-
|
|
162
|
-
| Version | Date | Author | Changes |
|
|
163
|
-
|---------|------|--------|---------|
|
|
164
|
-
| 0.1 | {{date}} | @pm | Story created |
|
|
165
|
-
|
|
166
|
-
<!--
|
|
167
|
-
Changelog Guidelines:
|
|
168
|
-
- Update at END of work session
|
|
169
|
-
- Dev: summarize what was implemented
|
|
170
|
-
- Version: 0.x=draft, 1.0=ready-for-dev, 1.x=in-progress, 2.0=done
|
|
171
|
-
-->
|
|
172
|
-
|
|
173
|
-
---
|
|
174
|
-
|
|
175
|
-
## Jira Metadata
|
|
176
|
-
|
|
177
|
-
```yaml
|
|
178
|
-
# Added after /jira-sync
|
|
179
|
-
jira_id:
|
|
180
|
-
jira_url:
|
|
181
|
-
last_sync:
|
|
182
|
-
```
|
|
File without changes
|
|
File without changes
|
/package/src/opencode/{templates/git-workflow-template.md → skills/coding-standards/template-git.md}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/opencode/{templates/module-index-template.md → skills/module-documentation/template.md}
RENAMED
|
File without changes
|
/package/src/opencode/{templates/sprint-status-template.yaml → skills/sprint-planning/template.yaml}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|