specsmd 0.0.0-dev.6 → 0.0.0-dev.61
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 +10 -2
- package/flows/aidlc/commands/construction-agent.md +5 -1
- package/flows/aidlc/commands/inception-agent.md +4 -0
- package/flows/aidlc/commands/master-agent.md +4 -0
- package/flows/aidlc/commands/operations-agent.md +4 -0
- package/flows/aidlc/memory-bank.yaml +2 -1
- package/{scripts → flows/aidlc/scripts}/artifact-validator.js +3 -3
- package/{scripts → flows/aidlc/scripts}/bolt-complete.js +35 -4
- package/{scripts → flows/aidlc/scripts}/status-integrity.js +4 -4
- package/flows/aidlc/skills/construction/bolt-list.md +1 -1
- package/flows/aidlc/skills/construction/bolt-start.md +2 -2
- package/flows/aidlc/skills/construction/bolt-status.md +1 -1
- package/flows/aidlc/skills/construction/prototype-apply.md +305 -0
- package/flows/aidlc/skills/inception/bolt-plan.md +15 -2
- package/flows/aidlc/skills/inception/vibe-to-spec.md +406 -0
- package/flows/aidlc/skills/master/analyze-context.md +1 -1
- package/flows/aidlc/templates/construction/bolt-template.md +22 -1
- package/flows/aidlc/templates/construction/bolt-types/ddd-construction-bolt.md +73 -11
- package/flows/aidlc/templates/construction/bolt-types/simple-construction-bolt.md +5 -0
- package/flows/aidlc/templates/standards/decision-index-template.md +32 -0
- package/flows/fire/README.md +19 -0
- package/flows/fire/agents/builder/agent.md +275 -0
- package/flows/fire/agents/builder/skills/code-review/SKILL.md +266 -0
- package/flows/fire/agents/builder/skills/code-review/references/auto-fix-rules.md +212 -0
- package/flows/fire/agents/builder/skills/code-review/references/review-categories.md +154 -0
- package/flows/fire/agents/builder/skills/code-review/templates/review-report.md.hbs +120 -0
- package/flows/fire/agents/builder/skills/run-execute/SKILL.md +503 -0
- package/flows/fire/agents/builder/skills/run-execute/scripts/complete-run.js +549 -0
- package/flows/fire/agents/builder/skills/run-execute/scripts/init-run.js +454 -0
- package/flows/fire/agents/builder/skills/run-execute/templates/plan.md.hbs +61 -0
- package/flows/fire/agents/builder/skills/run-execute/templates/test-report.md.hbs +81 -0
- package/flows/fire/agents/builder/skills/run-plan/SKILL.md +376 -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/builder/skills/walkthrough-generate/templates/walkthrough.md.hbs +77 -0
- package/flows/fire/agents/orchestrator/agent.md +113 -0
- package/flows/fire/agents/orchestrator/skills/project-init/SKILL.md +150 -0
- package/flows/fire/agents/orchestrator/skills/project-init/templates/coding-standards.md.hbs +149 -0
- package/flows/fire/agents/orchestrator/skills/project-init/templates/system-architecture.md.hbs +101 -0
- package/flows/fire/agents/orchestrator/skills/project-init/templates/tech-stack.md.hbs +136 -0
- package/flows/fire/agents/orchestrator/skills/project-init/templates/testing-standards.md.hbs +94 -0
- package/flows/fire/agents/orchestrator/skills/route/SKILL.md +123 -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 +213 -0
- package/flows/fire/agents/planner/skills/design-doc-generate/templates/design.md.hbs +76 -0
- package/flows/fire/agents/planner/skills/intent-capture/SKILL.md +155 -0
- package/flows/fire/agents/planner/skills/intent-capture/templates/brief.md.hbs +40 -0
- package/flows/fire/agents/planner/skills/work-item-decompose/SKILL.md +194 -0
- package/flows/fire/agents/planner/skills/work-item-decompose/templates/work-item.md.hbs +40 -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/memory-bank.yaml +164 -0
- package/flows/fire/quick-start.md +130 -0
- package/flows/simple/README.md +190 -0
- package/flows/simple/agents/agent.md +404 -0
- package/flows/simple/commands/agent.md +60 -0
- package/flows/simple/context-config.yaml +34 -0
- package/flows/simple/memory-bank.yaml +66 -0
- package/flows/simple/quick-start.md +231 -0
- package/flows/simple/skills/design.md +96 -0
- package/flows/simple/skills/execute.md +190 -0
- package/flows/simple/skills/requirements.md +94 -0
- package/flows/simple/skills/tasks.md +136 -0
- package/flows/simple/templates/design-template.md +138 -0
- package/flows/simple/templates/requirements-template.md +85 -0
- package/flows/simple/templates/tasks-template.md +104 -0
- package/lib/analytics/tracker.js +6 -2
- package/lib/constants.js +17 -8
- package/lib/installer.js +5 -15
- package/lib/installers/KiroInstaller.js +55 -0
- package/lib/installers/OpenCodeInstaller.js +9 -1
- package/lib/installers/ToolInstaller.js +4 -1
- package/lib/installers/WindsurfInstaller.js +0 -54
- package/package.json +3 -52
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
work_item: {{work_item_id}}
|
|
3
|
+
intent: {{intent_id}}
|
|
4
|
+
created: {{created}}
|
|
5
|
+
mode: validate
|
|
6
|
+
checkpoint_1: {{checkpoint_status}}
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Design: {{title}}
|
|
10
|
+
|
|
11
|
+
## Summary
|
|
12
|
+
|
|
13
|
+
{{summary}}
|
|
14
|
+
|
|
15
|
+
## Key Decisions
|
|
16
|
+
|
|
17
|
+
| Decision | Choice | Rationale |
|
|
18
|
+
|----------|--------|-----------|
|
|
19
|
+
{{#each decisions}}
|
|
20
|
+
| {{this.decision}} | {{this.choice}} | {{this.rationale}} |
|
|
21
|
+
{{/each}}
|
|
22
|
+
|
|
23
|
+
{{#if domain_model}}
|
|
24
|
+
## Domain Model
|
|
25
|
+
|
|
26
|
+
### Entities
|
|
27
|
+
{{#each domain_model.entities}}
|
|
28
|
+
- **{{this.name}}**: {{this.description}}
|
|
29
|
+
{{/each}}
|
|
30
|
+
|
|
31
|
+
### Value Objects
|
|
32
|
+
{{#each domain_model.value_objects}}
|
|
33
|
+
- **{{this.name}}**: {{this.description}}
|
|
34
|
+
{{/each}}
|
|
35
|
+
{{/if}}
|
|
36
|
+
|
|
37
|
+
## Technical Approach
|
|
38
|
+
|
|
39
|
+
### Component Diagram
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
{{component_diagram}}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
{{#if api_endpoints}}
|
|
46
|
+
### API Endpoints
|
|
47
|
+
|
|
48
|
+
{{#each api_endpoints}}
|
|
49
|
+
- `{{this.method}} {{this.path}}` - {{this.description}}
|
|
50
|
+
{{/each}}
|
|
51
|
+
{{/if}}
|
|
52
|
+
|
|
53
|
+
{{#if database_changes}}
|
|
54
|
+
### Database Changes
|
|
55
|
+
|
|
56
|
+
```sql
|
|
57
|
+
{{database_changes}}
|
|
58
|
+
```
|
|
59
|
+
{{/if}}
|
|
60
|
+
|
|
61
|
+
## Risks & Mitigations
|
|
62
|
+
|
|
63
|
+
| Risk | Impact | Mitigation |
|
|
64
|
+
|------|--------|------------|
|
|
65
|
+
{{#each risks}}
|
|
66
|
+
| {{this.risk}} | {{this.impact}} | {{this.mitigation}} |
|
|
67
|
+
{{/each}}
|
|
68
|
+
|
|
69
|
+
## Implementation Checklist
|
|
70
|
+
|
|
71
|
+
{{#each checklist}}
|
|
72
|
+
- [ ] {{this}}
|
|
73
|
+
{{/each}}
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
*Checkpoint 1 approved: {{approved_at}}*
|
|
@@ -0,0 +1,155 @@
|
|
|
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
|
+
|
|
65
|
+
**Users**: {who benefits}
|
|
66
|
+
|
|
67
|
+
**Problem**: {what pain this solves}
|
|
68
|
+
|
|
69
|
+
**Success Criteria**:
|
|
70
|
+
- {criterion 1}
|
|
71
|
+
- {criterion 2}
|
|
72
|
+
- {criterion 3}
|
|
73
|
+
|
|
74
|
+
**Constraints**:
|
|
75
|
+
- {constraint 1}
|
|
76
|
+
- {constraint 2}
|
|
77
|
+
|
|
78
|
+
Is this accurate? [Y/n/edit]
|
|
79
|
+
</output>
|
|
80
|
+
<check if="response == n or edit">
|
|
81
|
+
<action>Ask specific clarifying questions</action>
|
|
82
|
+
<goto step="3"/>
|
|
83
|
+
</check>
|
|
84
|
+
</step>
|
|
85
|
+
|
|
86
|
+
<step n="4" title="Generate Intent Brief">
|
|
87
|
+
<action>Create intent ID from title (kebab-case)</action>
|
|
88
|
+
<action>Generate intent brief using template: templates/brief.md.hbs</action>
|
|
89
|
+
<action>Create directory: .specs-fire/intents/{intent-id}/</action>
|
|
90
|
+
<action>Save: .specs-fire/intents/{intent-id}/brief.md</action>
|
|
91
|
+
</step>
|
|
92
|
+
|
|
93
|
+
<step n="5" title="Update State">
|
|
94
|
+
<action>Add intent to state.yaml</action>
|
|
95
|
+
<action>Set intent status to "in_progress"</action>
|
|
96
|
+
</step>
|
|
97
|
+
|
|
98
|
+
<step n="6" title="Transition">
|
|
99
|
+
<output>
|
|
100
|
+
**Intent captured**: "{intent-title}"
|
|
101
|
+
|
|
102
|
+
Saved to: .specs-fire/intents/{intent-id}/brief.md
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
Ready to break this into work items? [Y/n]
|
|
107
|
+
</output>
|
|
108
|
+
<check if="response == y">
|
|
109
|
+
<invoke-skill>work-item-decompose</invoke-skill>
|
|
110
|
+
</check>
|
|
111
|
+
</step>
|
|
112
|
+
|
|
113
|
+
</skill>
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Output
|
|
119
|
+
|
|
120
|
+
**Intent Brief** (`.specs-fire/intents/{id}/brief.md`):
|
|
121
|
+
|
|
122
|
+
```markdown
|
|
123
|
+
---
|
|
124
|
+
id: {intent-id}
|
|
125
|
+
title: {title}
|
|
126
|
+
status: in_progress
|
|
127
|
+
created: {timestamp}
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
# Intent: {title}
|
|
131
|
+
|
|
132
|
+
## Goal
|
|
133
|
+
|
|
134
|
+
{What we're building and why}
|
|
135
|
+
|
|
136
|
+
## Users
|
|
137
|
+
|
|
138
|
+
{Who benefits from this}
|
|
139
|
+
|
|
140
|
+
## Problem
|
|
141
|
+
|
|
142
|
+
{What pain this solves}
|
|
143
|
+
|
|
144
|
+
## Success Criteria
|
|
145
|
+
|
|
146
|
+
- {How we know it's working}
|
|
147
|
+
|
|
148
|
+
## Constraints
|
|
149
|
+
|
|
150
|
+
- {Any limitations or requirements}
|
|
151
|
+
|
|
152
|
+
## Notes
|
|
153
|
+
|
|
154
|
+
{Additional context}
|
|
155
|
+
```
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: {{id}}
|
|
3
|
+
title: {{title}}
|
|
4
|
+
status: {{status}}
|
|
5
|
+
created: {{created}}
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Intent: {{title}}
|
|
9
|
+
|
|
10
|
+
## Goal
|
|
11
|
+
|
|
12
|
+
{{goal}}
|
|
13
|
+
|
|
14
|
+
## Users
|
|
15
|
+
|
|
16
|
+
{{users}}
|
|
17
|
+
|
|
18
|
+
## Problem
|
|
19
|
+
|
|
20
|
+
{{problem}}
|
|
21
|
+
|
|
22
|
+
## Success Criteria
|
|
23
|
+
|
|
24
|
+
{{#each success_criteria}}
|
|
25
|
+
- {{this}}
|
|
26
|
+
{{/each}}
|
|
27
|
+
|
|
28
|
+
## Constraints
|
|
29
|
+
|
|
30
|
+
{{#each constraints}}
|
|
31
|
+
- {{this}}
|
|
32
|
+
{{/each}}
|
|
33
|
+
|
|
34
|
+
## Notes
|
|
35
|
+
|
|
36
|
+
{{#if notes}}
|
|
37
|
+
{{notes}}
|
|
38
|
+
{{else}}
|
|
39
|
+
(none)
|
|
40
|
+
{{/if}}
|
|
@@ -0,0 +1,194 @@
|
|
|
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 RAW 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
|
+
</complexity>
|
|
57
|
+
|
|
58
|
+
<complexity level="medium">
|
|
59
|
+
- Multiple files
|
|
60
|
+
- Standard patterns with some decisions
|
|
61
|
+
- May touch existing code
|
|
62
|
+
- Examples: new endpoint, new component, feature addition
|
|
63
|
+
</complexity>
|
|
64
|
+
|
|
65
|
+
<complexity level="high">
|
|
66
|
+
- Architectural decisions required
|
|
67
|
+
- Security or data implications
|
|
68
|
+
- Core system changes
|
|
69
|
+
- Examples: auth system, payment flow, database migration
|
|
70
|
+
</complexity>
|
|
71
|
+
</step>
|
|
72
|
+
|
|
73
|
+
<step n="3b" title="Apply Autonomy Bias">
|
|
74
|
+
<action>Read workspace.autonomy_bias from state.yaml</action>
|
|
75
|
+
<action>Apply bias to determine final execution mode:</action>
|
|
76
|
+
|
|
77
|
+
<bias-table>
|
|
78
|
+
| Raw Complexity | autonomous | balanced | controlled |
|
|
79
|
+
|----------------|------------|----------|------------|
|
|
80
|
+
| low | autopilot | autopilot| confirm |
|
|
81
|
+
| medium | autopilot | confirm | validate |
|
|
82
|
+
| high | confirm | validate | validate |
|
|
83
|
+
</bias-table>
|
|
84
|
+
|
|
85
|
+
<note>
|
|
86
|
+
This allows user preference to shift thresholds:
|
|
87
|
+
- autonomous: trusts AI more, fewer checkpoints
|
|
88
|
+
- balanced: standard behavior (default)
|
|
89
|
+
- controlled: more human oversight
|
|
90
|
+
</note>
|
|
91
|
+
</step>
|
|
92
|
+
|
|
93
|
+
<step n="4" title="Define Acceptance Criteria">
|
|
94
|
+
<action>For each work item, define:</action>
|
|
95
|
+
<substep>What must be true when complete</substep>
|
|
96
|
+
<substep>How to verify it works</substep>
|
|
97
|
+
<substep>Any edge cases to handle</substep>
|
|
98
|
+
</step>
|
|
99
|
+
|
|
100
|
+
<step n="5" title="Validate Dependencies">
|
|
101
|
+
<action>Check for circular dependencies</action>
|
|
102
|
+
<action>Ensure dependencies exist or will be created first</action>
|
|
103
|
+
<action>Order work items by dependency</action>
|
|
104
|
+
|
|
105
|
+
<check if="circular dependency detected">
|
|
106
|
+
<output>
|
|
107
|
+
Warning: Circular dependency detected between {item-a} and {item-b}.
|
|
108
|
+
Suggest splitting into smaller items or reordering.
|
|
109
|
+
</output>
|
|
110
|
+
</check>
|
|
111
|
+
</step>
|
|
112
|
+
|
|
113
|
+
<step n="6" title="Present Plan">
|
|
114
|
+
<output>
|
|
115
|
+
## Work Items for "{intent-title}"
|
|
116
|
+
|
|
117
|
+
**Total**: {count} work items
|
|
118
|
+
**Estimated**: {low} autopilot, {medium} confirm, {high} validate
|
|
119
|
+
|
|
120
|
+
**Work Item Details**:
|
|
121
|
+
|
|
122
|
+
{for each item}
|
|
123
|
+
{n}. **{title}** ({mode}) — {description}
|
|
124
|
+
{/for}
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
Approve this plan? [Y/n/edit]
|
|
129
|
+
</output>
|
|
130
|
+
</step>
|
|
131
|
+
|
|
132
|
+
<step n="7" title="Save Work Items">
|
|
133
|
+
<check if="approved">
|
|
134
|
+
<action>Create .specs-fire/intents/{intent-id}/work-items/</action>
|
|
135
|
+
<action>For each work item, generate using template: templates/work-item.md.hbs</action>
|
|
136
|
+
<action>Save each to: .specs-fire/intents/{intent-id}/work-items/{work-item-id}.md</action>
|
|
137
|
+
<action>Update state.yaml with work items list</action>
|
|
138
|
+
</check>
|
|
139
|
+
</step>
|
|
140
|
+
|
|
141
|
+
<step n="8" title="Transition">
|
|
142
|
+
<output>
|
|
143
|
+
**{count} work items created** for "{intent-title}".
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
Ready to plan execution scope? [Y/n]
|
|
148
|
+
</output>
|
|
149
|
+
<check if="response == y">
|
|
150
|
+
<route-to>builder-agent (run-plan)</route-to>
|
|
151
|
+
</check>
|
|
152
|
+
</step>
|
|
153
|
+
|
|
154
|
+
</skill>
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## Output
|
|
160
|
+
|
|
161
|
+
**Work Item** (`.specs-fire/intents/{intent-id}/work-items/{id}.md`):
|
|
162
|
+
|
|
163
|
+
```markdown
|
|
164
|
+
---
|
|
165
|
+
id: {work-item-id}
|
|
166
|
+
title: {title}
|
|
167
|
+
intent: {intent-id}
|
|
168
|
+
complexity: low | medium | high
|
|
169
|
+
mode: autopilot | confirm | validate
|
|
170
|
+
status: pending
|
|
171
|
+
depends_on: [{dependency-ids}]
|
|
172
|
+
created: {timestamp}
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
# Work Item: {title}
|
|
176
|
+
|
|
177
|
+
## Description
|
|
178
|
+
|
|
179
|
+
{What this work item delivers}
|
|
180
|
+
|
|
181
|
+
## Acceptance Criteria
|
|
182
|
+
|
|
183
|
+
- [ ] {criterion-1}
|
|
184
|
+
- [ ] {criterion-2}
|
|
185
|
+
- [ ] {criterion-3}
|
|
186
|
+
|
|
187
|
+
## Technical Notes
|
|
188
|
+
|
|
189
|
+
{Any implementation hints or constraints}
|
|
190
|
+
|
|
191
|
+
## Dependencies
|
|
192
|
+
|
|
193
|
+
{List of work items this depends on}
|
|
194
|
+
```
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: {{id}}
|
|
3
|
+
title: {{title}}
|
|
4
|
+
intent: {{intent}}
|
|
5
|
+
complexity: {{complexity}}
|
|
6
|
+
mode: {{mode}}
|
|
7
|
+
status: {{status}}
|
|
8
|
+
depends_on: [{{#each depends_on}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}]
|
|
9
|
+
created: {{created}}
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Work Item: {{title}}
|
|
13
|
+
|
|
14
|
+
## Description
|
|
15
|
+
|
|
16
|
+
{{description}}
|
|
17
|
+
|
|
18
|
+
## Acceptance Criteria
|
|
19
|
+
|
|
20
|
+
{{#each acceptance_criteria}}
|
|
21
|
+
- [ ] {{this}}
|
|
22
|
+
{{/each}}
|
|
23
|
+
|
|
24
|
+
## Technical Notes
|
|
25
|
+
|
|
26
|
+
{{#if technical_notes}}
|
|
27
|
+
{{technical_notes}}
|
|
28
|
+
{{else}}
|
|
29
|
+
(none)
|
|
30
|
+
{{/if}}
|
|
31
|
+
|
|
32
|
+
## Dependencies
|
|
33
|
+
|
|
34
|
+
{{#if depends_on}}
|
|
35
|
+
{{#each depends_on}}
|
|
36
|
+
- {{this}}
|
|
37
|
+
{{/each}}
|
|
38
|
+
{{else}}
|
|
39
|
+
(none)
|
|
40
|
+
{{/if}}
|
|
@@ -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.
|