specsmd 0.0.0-dev.41 → 0.0.0-dev.43
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/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 +3 -2
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
# Skill: Walkthrough Generate
|
|
2
|
+
|
|
3
|
+
Generate implementation walkthrough for human review after run completion.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Trigger
|
|
8
|
+
|
|
9
|
+
- Run completed successfully
|
|
10
|
+
- Invoked by run-execute skill
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Degrees of Freedom
|
|
15
|
+
|
|
16
|
+
**LOW** — Follow walkthrough structure precisely. Be thorough but concise.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Workflow
|
|
21
|
+
|
|
22
|
+
```xml
|
|
23
|
+
<skill name="walkthrough-generate">
|
|
24
|
+
|
|
25
|
+
<mandate>
|
|
26
|
+
ALWAYS generate walkthrough after run completion.
|
|
27
|
+
Document DECISIONS, not just changes.
|
|
28
|
+
Include verification steps - how to test this works.
|
|
29
|
+
</mandate>
|
|
30
|
+
|
|
31
|
+
<step n="1" title="Gather Implementation Data">
|
|
32
|
+
<action>Read run log from .specs-fire/runs/{run-id}/run.md</action>
|
|
33
|
+
<action>Collect:</action>
|
|
34
|
+
<substep>Work item details (id, title, intent)</substep>
|
|
35
|
+
<substep>Files created during implementation</substep>
|
|
36
|
+
<substep>Files modified during implementation</substep>
|
|
37
|
+
<substep>Decisions made during execution</substep>
|
|
38
|
+
<substep>Tests added and coverage</substep>
|
|
39
|
+
</step>
|
|
40
|
+
|
|
41
|
+
<step n="2" title="Analyze Implementation">
|
|
42
|
+
<action>For each file created/modified:</action>
|
|
43
|
+
<substep>Identify purpose of the file</substep>
|
|
44
|
+
<substep>Summarize key changes</substep>
|
|
45
|
+
<substep>Note patterns or approaches used</substep>
|
|
46
|
+
</step>
|
|
47
|
+
|
|
48
|
+
<step n="3" title="Document Key Details">
|
|
49
|
+
<action>Extract implementation highlights:</action>
|
|
50
|
+
<substep>Main flow/algorithm implemented</substep>
|
|
51
|
+
<substep>Security considerations (if applicable)</substep>
|
|
52
|
+
<substep>Performance considerations (if applicable)</substep>
|
|
53
|
+
<substep>Integration points with existing code</substep>
|
|
54
|
+
</step>
|
|
55
|
+
|
|
56
|
+
<step n="4" title="Create Verification Steps">
|
|
57
|
+
<action>Generate how-to-verify section:</action>
|
|
58
|
+
<substep>Commands to run the feature</substep>
|
|
59
|
+
<substep>Expected behavior/output</substep>
|
|
60
|
+
<substep>Manual test scenarios</substep>
|
|
61
|
+
</step>
|
|
62
|
+
|
|
63
|
+
<step n="5" title="Generate Walkthrough">
|
|
64
|
+
<action script="scripts/render-walkthrough.ts">Render walkthrough from template</action>
|
|
65
|
+
<action>Save to: .specs-fire/runs/{run-id}/walkthrough.md</action>
|
|
66
|
+
<output>
|
|
67
|
+
Walkthrough generated: .specs-fire/runs/{run-id}/walkthrough.md
|
|
68
|
+
</output>
|
|
69
|
+
</step>
|
|
70
|
+
|
|
71
|
+
</skill>
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## Output
|
|
77
|
+
|
|
78
|
+
**Walkthrough** (`.specs-fire/runs/{run-id}/walkthrough.md`):
|
|
79
|
+
|
|
80
|
+
```markdown
|
|
81
|
+
---
|
|
82
|
+
run: {run-id}
|
|
83
|
+
work_item: {work-item-id}
|
|
84
|
+
intent: {intent-id}
|
|
85
|
+
generated: {timestamp}
|
|
86
|
+
mode: {mode}
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
# Implementation Walkthrough: {title}
|
|
90
|
+
|
|
91
|
+
## Summary
|
|
92
|
+
|
|
93
|
+
{2-3 sentences describing what was implemented}
|
|
94
|
+
|
|
95
|
+
## Files Changed
|
|
96
|
+
|
|
97
|
+
### Created
|
|
98
|
+
|
|
99
|
+
| File | Purpose |
|
|
100
|
+
|------|---------|
|
|
101
|
+
| `{path}` | {purpose} |
|
|
102
|
+
|
|
103
|
+
### Modified
|
|
104
|
+
|
|
105
|
+
| File | Changes |
|
|
106
|
+
|------|---------|
|
|
107
|
+
| `{path}` | {changes} |
|
|
108
|
+
|
|
109
|
+
## Key Implementation Details
|
|
110
|
+
|
|
111
|
+
### 1. {Detail Title}
|
|
112
|
+
|
|
113
|
+
{description of implementation approach}
|
|
114
|
+
|
|
115
|
+
## Decisions Made
|
|
116
|
+
|
|
117
|
+
| Decision | Choice | Rationale |
|
|
118
|
+
|----------|--------|-----------|
|
|
119
|
+
| {decision} | {choice} | {rationale} |
|
|
120
|
+
|
|
121
|
+
## How to Verify
|
|
122
|
+
|
|
123
|
+
1. **{Step Title}**
|
|
124
|
+
```bash
|
|
125
|
+
{command}
|
|
126
|
+
```
|
|
127
|
+
Expected: {expected output}
|
|
128
|
+
|
|
129
|
+
2. **{Step Title}**
|
|
130
|
+
{manual verification steps}
|
|
131
|
+
|
|
132
|
+
## Test Coverage
|
|
133
|
+
|
|
134
|
+
- Tests added: {count}
|
|
135
|
+
- Coverage: {percentage}%
|
|
136
|
+
- Status: {passing/failing}
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
*Generated by FIRE Run {run-id}*
|
|
140
|
+
```
|