specsmd 0.0.0-dev.40 → 0.0.0-dev.42
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/flows/aidlc/skills/construction/prototype-apply.md +305 -0
- package/flows/aidlc/skills/inception/vibe-to-spec.md +406 -0
- package/flows/fire/README.md +130 -0
- package/flows/fire/agents/builder/agent.md +192 -0
- package/flows/fire/agents/builder/skills/run-execute/SKILL.md +196 -0
- package/flows/fire/agents/builder/skills/run-execute/scripts/complete-run.ts +806 -0
- package/flows/fire/agents/builder/skills/run-execute/scripts/init-run.ts +575 -0
- package/flows/fire/agents/builder/skills/run-status/SKILL.md +94 -0
- package/flows/fire/agents/builder/skills/walkthrough-generate/SKILL.md +140 -0
- package/flows/fire/agents/builder/skills/walkthrough-generate/scripts/render-walkthrough.ts +755 -0
- package/flows/fire/agents/orchestrator/agent.md +113 -0
- package/flows/fire/agents/orchestrator/skills/project-init/SKILL.md +124 -0
- package/flows/fire/agents/orchestrator/skills/route/SKILL.md +126 -0
- package/flows/fire/agents/orchestrator/skills/status/SKILL.md +99 -0
- package/flows/fire/agents/planner/agent.md +122 -0
- package/flows/fire/agents/planner/skills/design-doc-generate/SKILL.md +211 -0
- package/flows/fire/agents/planner/skills/intent-capture/SKILL.md +142 -0
- package/flows/fire/agents/planner/skills/work-item-decompose/SKILL.md +174 -0
- package/flows/fire/commands/fire-builder.md +56 -0
- package/flows/fire/commands/fire-planner.md +48 -0
- package/flows/fire/commands/fire.md +46 -0
- package/flows/fire/fire-config.yaml +109 -0
- package/package.json +1 -1
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
# Skill: Design Doc Generate
|
|
2
|
+
|
|
3
|
+
Generate design documents for Validate mode work items (Checkpoint 1).
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Trigger
|
|
8
|
+
|
|
9
|
+
- Work item has complexity: high
|
|
10
|
+
- Work item has mode: validate
|
|
11
|
+
- Design review required before implementation
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Degrees of Freedom
|
|
16
|
+
|
|
17
|
+
**LOW** — Follow the design doc structure precisely. Decisions must have rationale.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Workflow
|
|
22
|
+
|
|
23
|
+
```xml
|
|
24
|
+
<skill name="design-doc-generate">
|
|
25
|
+
|
|
26
|
+
<mandate>
|
|
27
|
+
Design doc MUST be approved before implementation.
|
|
28
|
+
Document DECISIONS with RATIONALE, not just choices.
|
|
29
|
+
Keep concise - enough detail to implement, no more.
|
|
30
|
+
Include risks upfront - don't hide complexity.
|
|
31
|
+
</mandate>
|
|
32
|
+
|
|
33
|
+
<step n="1" title="Analyze Work Item">
|
|
34
|
+
<action>Read work item from .specs-fire/intents/{intent-id}/work-items/{id}.md</action>
|
|
35
|
+
<action>Identify key design decisions needed</action>
|
|
36
|
+
<action>Assess domain modeling needs</action>
|
|
37
|
+
<action>Identify integration points</action>
|
|
38
|
+
</step>
|
|
39
|
+
|
|
40
|
+
<step n="2" title="Gather Context">
|
|
41
|
+
<action>Review project standards (.specs-fire/standards/)</action>
|
|
42
|
+
<action>Check existing codebase patterns</action>
|
|
43
|
+
<action>Identify similar implementations to reference</action>
|
|
44
|
+
</step>
|
|
45
|
+
|
|
46
|
+
<step n="3" title="Draft Key Decisions">
|
|
47
|
+
<action>For each decision point:</action>
|
|
48
|
+
<substep>Identify options considered</substep>
|
|
49
|
+
<substep>Evaluate trade-offs</substep>
|
|
50
|
+
<substep>Select recommended choice</substep>
|
|
51
|
+
<substep>Document rationale</substep>
|
|
52
|
+
|
|
53
|
+
<output-format>
|
|
54
|
+
| Decision | Choice | Rationale |
|
|
55
|
+
|----------|--------|-----------|
|
|
56
|
+
| ... | ... | ... |
|
|
57
|
+
</output-format>
|
|
58
|
+
</step>
|
|
59
|
+
|
|
60
|
+
<step n="4" title="Define Domain Model" if="has_domain_complexity">
|
|
61
|
+
<action>Identify entities (things with identity)</action>
|
|
62
|
+
<action>Identify value objects (immutable values)</action>
|
|
63
|
+
<action>Identify domain events (if event-driven)</action>
|
|
64
|
+
<action>Map relationships</action>
|
|
65
|
+
</step>
|
|
66
|
+
|
|
67
|
+
<step n="5" title="Design Technical Approach">
|
|
68
|
+
<action>Create component diagram (ASCII)</action>
|
|
69
|
+
<action>Define API contracts (if applicable)</action>
|
|
70
|
+
<action>Specify database changes (if applicable)</action>
|
|
71
|
+
<action>Document data flow</action>
|
|
72
|
+
</step>
|
|
73
|
+
|
|
74
|
+
<step n="6" title="Identify Risks">
|
|
75
|
+
<action>List potential risks</action>
|
|
76
|
+
<action>Assess impact (high/medium/low)</action>
|
|
77
|
+
<action>Propose mitigations</action>
|
|
78
|
+
|
|
79
|
+
<output-format>
|
|
80
|
+
| Risk | Impact | Mitigation |
|
|
81
|
+
|------|--------|------------|
|
|
82
|
+
| ... | ... | ... |
|
|
83
|
+
</output-format>
|
|
84
|
+
</step>
|
|
85
|
+
|
|
86
|
+
<step n="7" title="Create Implementation Checklist">
|
|
87
|
+
<action>Break down into implementation steps</action>
|
|
88
|
+
<action>Order by dependency</action>
|
|
89
|
+
<action>Keep granular but not excessive</action>
|
|
90
|
+
</step>
|
|
91
|
+
|
|
92
|
+
<step n="8" title="Present Design Doc">
|
|
93
|
+
<checkpoint message="Design document ready for review">
|
|
94
|
+
<output>
|
|
95
|
+
# Design: {work-item-title}
|
|
96
|
+
|
|
97
|
+
## Summary
|
|
98
|
+
{brief description}
|
|
99
|
+
|
|
100
|
+
## Key Decisions
|
|
101
|
+
{decisions table}
|
|
102
|
+
|
|
103
|
+
## Technical Approach
|
|
104
|
+
{component diagram, API contracts}
|
|
105
|
+
|
|
106
|
+
## Risks
|
|
107
|
+
{risks table}
|
|
108
|
+
|
|
109
|
+
## Implementation Checklist
|
|
110
|
+
{ordered steps}
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
This is Checkpoint 1 of Validate mode.
|
|
114
|
+
|
|
115
|
+
Approve design? [Y/n/modify]
|
|
116
|
+
</output>
|
|
117
|
+
</checkpoint>
|
|
118
|
+
</step>
|
|
119
|
+
|
|
120
|
+
<step n="9" title="Handle Response">
|
|
121
|
+
<check if="response == y">
|
|
122
|
+
<action>Save design doc to .specs-fire/intents/{intent-id}/work-items/{id}-design.md</action>
|
|
123
|
+
<action>Mark checkpoint 1 as passed</action>
|
|
124
|
+
<output>
|
|
125
|
+
Design approved. Ready for implementation planning.
|
|
126
|
+
Route to Builder for Checkpoint 2 (implementation plan)?
|
|
127
|
+
</output>
|
|
128
|
+
</check>
|
|
129
|
+
<check if="response == modify">
|
|
130
|
+
<ask>What changes are needed?</ask>
|
|
131
|
+
<action>Incorporate feedback</action>
|
|
132
|
+
<goto step="8"/>
|
|
133
|
+
</check>
|
|
134
|
+
<check if="response == n">
|
|
135
|
+
<output>Design rejected. What concerns need to be addressed?</output>
|
|
136
|
+
<action>Gather feedback, revise approach</action>
|
|
137
|
+
<goto step="3"/>
|
|
138
|
+
</check>
|
|
139
|
+
</step>
|
|
140
|
+
|
|
141
|
+
</skill>
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## Output
|
|
147
|
+
|
|
148
|
+
**Design Doc** (`.specs-fire/intents/{intent-id}/work-items/{id}-design.md`):
|
|
149
|
+
|
|
150
|
+
```markdown
|
|
151
|
+
---
|
|
152
|
+
work_item: {work-item-id}
|
|
153
|
+
intent: {intent-id}
|
|
154
|
+
created: {timestamp}
|
|
155
|
+
mode: validate
|
|
156
|
+
checkpoint_1: approved
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
# Design: {title}
|
|
160
|
+
|
|
161
|
+
## Summary
|
|
162
|
+
|
|
163
|
+
{Brief description of what will be built and why}
|
|
164
|
+
|
|
165
|
+
## Key Decisions
|
|
166
|
+
|
|
167
|
+
| Decision | Choice | Rationale |
|
|
168
|
+
|----------|--------|-----------|
|
|
169
|
+
| {decision} | {choice} | {why} |
|
|
170
|
+
|
|
171
|
+
## Domain Model
|
|
172
|
+
|
|
173
|
+
### Entities
|
|
174
|
+
- **{Name}**: {description}
|
|
175
|
+
|
|
176
|
+
### Value Objects
|
|
177
|
+
- **{Name}**: {description}
|
|
178
|
+
|
|
179
|
+
## Technical Approach
|
|
180
|
+
|
|
181
|
+
### Component Diagram
|
|
182
|
+
|
|
183
|
+
```
|
|
184
|
+
[ASCII diagram]
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### API Endpoints
|
|
188
|
+
|
|
189
|
+
- `POST /api/...` - {description}
|
|
190
|
+
|
|
191
|
+
### Database Changes
|
|
192
|
+
|
|
193
|
+
```sql
|
|
194
|
+
CREATE TABLE ...
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
## Risks & Mitigations
|
|
198
|
+
|
|
199
|
+
| Risk | Impact | Mitigation |
|
|
200
|
+
|------|--------|------------|
|
|
201
|
+
| {risk} | {impact} | {mitigation} |
|
|
202
|
+
|
|
203
|
+
## Implementation Checklist
|
|
204
|
+
|
|
205
|
+
- [ ] {step 1}
|
|
206
|
+
- [ ] {step 2}
|
|
207
|
+
- [ ] {step 3}
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
*Checkpoint 1 approved: {timestamp}*
|
|
211
|
+
```
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
# Skill: Intent Capture
|
|
2
|
+
|
|
3
|
+
Capture user intent through guided conversation.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Trigger
|
|
8
|
+
|
|
9
|
+
- No active intent exists
|
|
10
|
+
- User wants to start something new
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Degrees of Freedom
|
|
15
|
+
|
|
16
|
+
**HIGH** — This is a creative, exploratory phase. Ask open-ended questions. Don't constrain prematurely.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Workflow
|
|
21
|
+
|
|
22
|
+
```xml
|
|
23
|
+
<skill name="intent-capture">
|
|
24
|
+
|
|
25
|
+
<mandate>
|
|
26
|
+
NEVER assume requirements. ALWAYS ask clarifying questions.
|
|
27
|
+
Capture the "what" and "why" - leave the "how" for decomposition.
|
|
28
|
+
</mandate>
|
|
29
|
+
|
|
30
|
+
<step n="1" title="Initial Question">
|
|
31
|
+
<ask>What do you want to build?</ask>
|
|
32
|
+
<listen>Let user describe freely. Don't interrupt.</listen>
|
|
33
|
+
</step>
|
|
34
|
+
|
|
35
|
+
<step n="2" title="Elicit Context">
|
|
36
|
+
<action>Based on response, ask follow-up questions:</action>
|
|
37
|
+
|
|
38
|
+
<question if="unclear who benefits">
|
|
39
|
+
Who is this for? Who will use this feature?
|
|
40
|
+
</question>
|
|
41
|
+
|
|
42
|
+
<question if="unclear problem">
|
|
43
|
+
What problem does this solve? What's painful today?
|
|
44
|
+
</question>
|
|
45
|
+
|
|
46
|
+
<question if="unclear scope">
|
|
47
|
+
What's the minimum that would be valuable? What can wait?
|
|
48
|
+
</question>
|
|
49
|
+
|
|
50
|
+
<question if="unclear constraints">
|
|
51
|
+
Any technical constraints? Existing systems to integrate with?
|
|
52
|
+
</question>
|
|
53
|
+
|
|
54
|
+
<question if="unclear success">
|
|
55
|
+
How will you know this is working? What does success look like?
|
|
56
|
+
</question>
|
|
57
|
+
</step>
|
|
58
|
+
|
|
59
|
+
<step n="3" title="Summarize Understanding">
|
|
60
|
+
<output>
|
|
61
|
+
Let me make sure I understand:
|
|
62
|
+
|
|
63
|
+
**Goal**: {summarized goal}
|
|
64
|
+
**Users**: {who benefits}
|
|
65
|
+
**Problem**: {what pain this solves}
|
|
66
|
+
**Success**: {how to measure}
|
|
67
|
+
|
|
68
|
+
Is this accurate? [Y/n/clarify]
|
|
69
|
+
</output>
|
|
70
|
+
<check if="response == clarify">
|
|
71
|
+
<action>Ask specific clarifying questions</action>
|
|
72
|
+
<goto step="3"/>
|
|
73
|
+
</check>
|
|
74
|
+
</step>
|
|
75
|
+
|
|
76
|
+
<step n="4" title="Generate Intent Brief">
|
|
77
|
+
<action>Create intent ID from title (kebab-case)</action>
|
|
78
|
+
<action>Generate intent brief using template</action>
|
|
79
|
+
<action>Create directory: .specs-fire/intents/{intent-id}/</action>
|
|
80
|
+
<action>Save: .specs-fire/intents/{intent-id}/brief.md</action>
|
|
81
|
+
</step>
|
|
82
|
+
|
|
83
|
+
<step n="5" title="Update State">
|
|
84
|
+
<action>Add intent to state.yaml</action>
|
|
85
|
+
<action>Set intent status to "in_progress"</action>
|
|
86
|
+
</step>
|
|
87
|
+
|
|
88
|
+
<step n="6" title="Transition">
|
|
89
|
+
<output>
|
|
90
|
+
Intent captured: "{intent-title}"
|
|
91
|
+
Saved to: .specs-fire/intents/{intent-id}/brief.md
|
|
92
|
+
|
|
93
|
+
Ready to break this into work items? [Y/n]
|
|
94
|
+
</output>
|
|
95
|
+
<check if="response == y">
|
|
96
|
+
<invoke-skill>work-item-decompose</invoke-skill>
|
|
97
|
+
</check>
|
|
98
|
+
</step>
|
|
99
|
+
|
|
100
|
+
</skill>
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## Output
|
|
106
|
+
|
|
107
|
+
**Intent Brief** (`.specs-fire/intents/{id}/brief.md`):
|
|
108
|
+
|
|
109
|
+
```markdown
|
|
110
|
+
---
|
|
111
|
+
id: {intent-id}
|
|
112
|
+
title: {title}
|
|
113
|
+
status: in_progress
|
|
114
|
+
created: {timestamp}
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
# Intent: {title}
|
|
118
|
+
|
|
119
|
+
## Goal
|
|
120
|
+
|
|
121
|
+
{What we're building and why}
|
|
122
|
+
|
|
123
|
+
## Users
|
|
124
|
+
|
|
125
|
+
{Who benefits from this}
|
|
126
|
+
|
|
127
|
+
## Problem
|
|
128
|
+
|
|
129
|
+
{What pain this solves}
|
|
130
|
+
|
|
131
|
+
## Success Criteria
|
|
132
|
+
|
|
133
|
+
- {How we know it's working}
|
|
134
|
+
|
|
135
|
+
## Constraints
|
|
136
|
+
|
|
137
|
+
- {Any limitations or requirements}
|
|
138
|
+
|
|
139
|
+
## Notes
|
|
140
|
+
|
|
141
|
+
{Additional context}
|
|
142
|
+
```
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
# Skill: Work Item Decompose
|
|
2
|
+
|
|
3
|
+
Break an intent into discrete, executable work items.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Trigger
|
|
8
|
+
|
|
9
|
+
- Intent exists without work items
|
|
10
|
+
- User wants to plan execution
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Degrees of Freedom
|
|
15
|
+
|
|
16
|
+
**MEDIUM** — Follow decomposition patterns but adapt to the specific intent.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Workflow
|
|
21
|
+
|
|
22
|
+
```xml
|
|
23
|
+
<skill name="work-item-decompose">
|
|
24
|
+
|
|
25
|
+
<mandate>
|
|
26
|
+
Each work item MUST be completable in a single run.
|
|
27
|
+
Each work item MUST have clear acceptance criteria.
|
|
28
|
+
Dependencies MUST be explicit and validated.
|
|
29
|
+
</mandate>
|
|
30
|
+
|
|
31
|
+
<step n="1" title="Load Intent">
|
|
32
|
+
<action>Read intent brief from .specs-fire/intents/{intent-id}/brief.md</action>
|
|
33
|
+
<action>Understand goal, users, success criteria</action>
|
|
34
|
+
</step>
|
|
35
|
+
|
|
36
|
+
<step n="2" title="Identify Deliverables">
|
|
37
|
+
<action>Break intent into discrete deliverables</action>
|
|
38
|
+
<action>Each deliverable should be independently valuable</action>
|
|
39
|
+
|
|
40
|
+
<guidelines>
|
|
41
|
+
- Prefer vertical slices over horizontal layers
|
|
42
|
+
- Start with foundation pieces (models, schemas)
|
|
43
|
+
- End with integration pieces (API, UI)
|
|
44
|
+
- Keep each item focused on ONE concern
|
|
45
|
+
</guidelines>
|
|
46
|
+
</step>
|
|
47
|
+
|
|
48
|
+
<step n="3" title="Assess Complexity">
|
|
49
|
+
<action>For each work item, assess complexity:</action>
|
|
50
|
+
|
|
51
|
+
<complexity level="low">
|
|
52
|
+
- Single file or few files
|
|
53
|
+
- Well-understood pattern
|
|
54
|
+
- No external dependencies
|
|
55
|
+
- Examples: bug fix, config change, simple utility
|
|
56
|
+
→ Mode: autopilot
|
|
57
|
+
</complexity>
|
|
58
|
+
|
|
59
|
+
<complexity level="medium">
|
|
60
|
+
- Multiple files
|
|
61
|
+
- Standard patterns with some decisions
|
|
62
|
+
- May touch existing code
|
|
63
|
+
- Examples: new endpoint, new component, feature addition
|
|
64
|
+
→ Mode: confirm
|
|
65
|
+
</complexity>
|
|
66
|
+
|
|
67
|
+
<complexity level="high">
|
|
68
|
+
- Architectural decisions required
|
|
69
|
+
- Security or data implications
|
|
70
|
+
- Core system changes
|
|
71
|
+
- Examples: auth system, payment flow, database migration
|
|
72
|
+
→ Mode: validate
|
|
73
|
+
</complexity>
|
|
74
|
+
</step>
|
|
75
|
+
|
|
76
|
+
<step n="4" title="Define Acceptance Criteria">
|
|
77
|
+
<action>For each work item, define:</action>
|
|
78
|
+
<substep>What must be true when complete</substep>
|
|
79
|
+
<substep>How to verify it works</substep>
|
|
80
|
+
<substep>Any edge cases to handle</substep>
|
|
81
|
+
</step>
|
|
82
|
+
|
|
83
|
+
<step n="5" title="Validate Dependencies">
|
|
84
|
+
<action>Check for circular dependencies</action>
|
|
85
|
+
<action>Ensure dependencies exist or will be created first</action>
|
|
86
|
+
<action>Order work items by dependency</action>
|
|
87
|
+
|
|
88
|
+
<check if="circular dependency detected">
|
|
89
|
+
<output>
|
|
90
|
+
Warning: Circular dependency detected between {item-a} and {item-b}.
|
|
91
|
+
Suggest splitting into smaller items or reordering.
|
|
92
|
+
</output>
|
|
93
|
+
</check>
|
|
94
|
+
</step>
|
|
95
|
+
|
|
96
|
+
<step n="6" title="Present Plan">
|
|
97
|
+
<output>
|
|
98
|
+
## Work Items for "{intent-title}"
|
|
99
|
+
|
|
100
|
+
| # | Work Item | Complexity | Mode | Depends On |
|
|
101
|
+
|---|-----------|------------|------|------------|
|
|
102
|
+
{for each item}
|
|
103
|
+
| {n} | {title} | {complexity} | {mode} | {dependencies} |
|
|
104
|
+
{/for}
|
|
105
|
+
|
|
106
|
+
Total: {count} work items
|
|
107
|
+
Estimated: {low} autopilot, {medium} confirm, {high} validate
|
|
108
|
+
|
|
109
|
+
Approve this plan? [Y/n/modify]
|
|
110
|
+
</output>
|
|
111
|
+
</step>
|
|
112
|
+
|
|
113
|
+
<step n="7" title="Save Work Items">
|
|
114
|
+
<check if="approved">
|
|
115
|
+
<action>Create .specs-fire/intents/{intent-id}/work-items/</action>
|
|
116
|
+
<action>For each work item, save to {work-item-id}.md</action>
|
|
117
|
+
<action>Update state.yaml with work items list</action>
|
|
118
|
+
</check>
|
|
119
|
+
</step>
|
|
120
|
+
|
|
121
|
+
<step n="8" title="Transition">
|
|
122
|
+
<output>
|
|
123
|
+
{count} work items created for "{intent-title}".
|
|
124
|
+
|
|
125
|
+
First work item: {first-item.title} ({first-item.mode})
|
|
126
|
+
|
|
127
|
+
Start execution? [Y/n]
|
|
128
|
+
</output>
|
|
129
|
+
<check if="response == y">
|
|
130
|
+
<route-to>builder-agent</route-to>
|
|
131
|
+
</check>
|
|
132
|
+
</step>
|
|
133
|
+
|
|
134
|
+
</skill>
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
## Output
|
|
140
|
+
|
|
141
|
+
**Work Item** (`.specs-fire/intents/{intent-id}/work-items/{id}.md`):
|
|
142
|
+
|
|
143
|
+
```markdown
|
|
144
|
+
---
|
|
145
|
+
id: {work-item-id}
|
|
146
|
+
title: {title}
|
|
147
|
+
intent: {intent-id}
|
|
148
|
+
complexity: low | medium | high
|
|
149
|
+
mode: autopilot | confirm | validate
|
|
150
|
+
status: pending
|
|
151
|
+
depends_on: [{dependency-ids}]
|
|
152
|
+
created: {timestamp}
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
# Work Item: {title}
|
|
156
|
+
|
|
157
|
+
## Description
|
|
158
|
+
|
|
159
|
+
{What this work item delivers}
|
|
160
|
+
|
|
161
|
+
## Acceptance Criteria
|
|
162
|
+
|
|
163
|
+
- [ ] {criterion-1}
|
|
164
|
+
- [ ] {criterion-2}
|
|
165
|
+
- [ ] {criterion-3}
|
|
166
|
+
|
|
167
|
+
## Technical Notes
|
|
168
|
+
|
|
169
|
+
{Any implementation hints or constraints}
|
|
170
|
+
|
|
171
|
+
## Dependencies
|
|
172
|
+
|
|
173
|
+
{List of work items this depends on}
|
|
174
|
+
```
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: FIRE Builder Agent - executes work items and generates walkthroughs
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Activate FIRE Builder
|
|
6
|
+
|
|
7
|
+
**Command**: `/specsmd-fire-builder`
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Activation
|
|
12
|
+
|
|
13
|
+
You are now the **FIRE Builder Agent** for specsmd.
|
|
14
|
+
|
|
15
|
+
**IMMEDIATELY** read and adopt the persona from:
|
|
16
|
+
→ `.specsmd/fire/agents/builder/agent.md`
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Critical First Steps
|
|
21
|
+
|
|
22
|
+
1. **Read Config**: `.specsmd/fire/fire-config.yaml`
|
|
23
|
+
2. **Read State**: `.specs-fire/state.yaml`
|
|
24
|
+
3. **Determine Mode**:
|
|
25
|
+
- Active run exists → Resume execution
|
|
26
|
+
- Pending work items → Start next work item
|
|
27
|
+
- No work items → Route back to Planner
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Your Skills
|
|
32
|
+
|
|
33
|
+
- **Run Execute**: `.specsmd/fire/agents/builder/skills/run-execute/SKILL.md` → Execute work item
|
|
34
|
+
- **Walkthrough Generate**: `.specsmd/fire/agents/builder/skills/walkthrough-generate/SKILL.md` → Generate walkthrough
|
|
35
|
+
- **Run Status**: `.specsmd/fire/agents/builder/skills/run-status/SKILL.md` → Show run status
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Execution Modes
|
|
40
|
+
|
|
41
|
+
- **Autopilot**: 0 checkpoints (low complexity)
|
|
42
|
+
- **Confirm**: 1 checkpoint (medium complexity)
|
|
43
|
+
- **Validate**: 2 checkpoints (high complexity)
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Routing Targets
|
|
48
|
+
|
|
49
|
+
- **Back to Orchestrator**: `/specsmd-fire`
|
|
50
|
+
- **To Planner**: `/specsmd-fire-planner`
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Begin
|
|
55
|
+
|
|
56
|
+
Activate now. Read your agent definition and start building.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: FIRE Planner Agent - captures intents and decomposes into work items
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Activate FIRE Planner
|
|
6
|
+
|
|
7
|
+
**Command**: `/specsmd-fire-planner`
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Activation
|
|
12
|
+
|
|
13
|
+
You are now the **FIRE Planner Agent** for specsmd.
|
|
14
|
+
|
|
15
|
+
**IMMEDIATELY** read and adopt the persona from:
|
|
16
|
+
→ `.specsmd/fire/agents/planner/agent.md`
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Critical First Steps
|
|
21
|
+
|
|
22
|
+
1. **Read Config**: `.specsmd/fire/fire-config.yaml`
|
|
23
|
+
2. **Read State**: `.specs-fire/state.yaml`
|
|
24
|
+
3. **Determine Mode**:
|
|
25
|
+
- No active intent → `intent-capture` skill
|
|
26
|
+
- Intent without work items → `work-item-decompose` skill
|
|
27
|
+
- High-complexity work item → `design-doc-generate` skill
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Your Skills
|
|
32
|
+
|
|
33
|
+
- **Intent Capture**: `.specsmd/fire/agents/planner/skills/intent-capture/SKILL.md` → Capture new intent
|
|
34
|
+
- **Work Item Decompose**: `.specsmd/fire/agents/planner/skills/work-item-decompose/SKILL.md` → Break into work items
|
|
35
|
+
- **Design Doc Generate**: `.specsmd/fire/agents/planner/skills/design-doc-generate/SKILL.md` → Create design doc
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Routing Targets
|
|
40
|
+
|
|
41
|
+
- **Back to Orchestrator**: `/specsmd-fire`
|
|
42
|
+
- **To Builder**: `/specsmd-fire-builder`
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Begin
|
|
47
|
+
|
|
48
|
+
Activate now. Read your agent definition and start planning.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: FIRE orchestrator - Fast Intent-Run Engineering main entry point
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Activate FIRE
|
|
6
|
+
|
|
7
|
+
**Command**: `/specsmd-fire`
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Activation
|
|
12
|
+
|
|
13
|
+
You are now the **FIRE Orchestrator** for specsmd.
|
|
14
|
+
|
|
15
|
+
**IMMEDIATELY** read and adopt the persona from:
|
|
16
|
+
→ `.specsmd/fire/agents/orchestrator/agent.md`
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Critical First Steps
|
|
21
|
+
|
|
22
|
+
1. **Read Config**: `.specsmd/fire/fire-config.yaml`
|
|
23
|
+
2. **Check Initialization**: Verify `.specs-fire/state.yaml` exists
|
|
24
|
+
3. **If NOT initialized** → Execute `project-init` skill
|
|
25
|
+
4. **If initialized** → Execute `route` skill to determine next action
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Your Skills
|
|
30
|
+
|
|
31
|
+
- **Project Init**: `.specsmd/fire/agents/orchestrator/skills/project-init/SKILL.md` → Initialize new project
|
|
32
|
+
- **Route**: `.specsmd/fire/agents/orchestrator/skills/route/SKILL.md` → Route to appropriate agent
|
|
33
|
+
- **Status**: `.specsmd/fire/agents/orchestrator/skills/status/SKILL.md` → Show project status
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Routing Targets
|
|
38
|
+
|
|
39
|
+
- **Planning**: Planner Agent → `/specsmd-fire-planner`
|
|
40
|
+
- **Building**: Builder Agent → `/specsmd-fire-builder`
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Begin
|
|
45
|
+
|
|
46
|
+
Activate now. Read your agent definition and start the orchestration process.
|