@intentsolutionsio/sprint 1.0.0 → 1.0.3
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 +11 -1
- package/agents/allpurpose-agent.md +11 -0
- package/agents/cicd-agent.md +4 -0
- package/agents/nextjs-dev.md +4 -0
- package/agents/nextjs-diagnostics-agent.md +12 -0
- package/agents/project-architect.md +25 -0
- package/agents/python-dev.md +8 -0
- package/agents/qa-test-agent.md +2 -0
- package/agents/ui-test-agent.md +18 -0
- package/agents/website-designer.md +7 -0
- package/commands/clean.md +8 -0
- package/commands/generate-map.md +5 -0
- package/commands/new.md +7 -0
- package/commands/setup.md +19 -0
- package/commands/sprint.md +38 -16
- package/commands/test.md +13 -2
- package/package.json +1 -1
- package/skills/agent-patterns/SKILL.md +18 -5
- package/skills/agent-patterns/references/examples.md +17 -0
- package/skills/agent-patterns/references/ui-test-report.md +8 -1
- package/skills/api-contract/SKILL.md +16 -5
- package/skills/api-contract/references/best-practices.md +3 -1
- package/skills/api-contract/references/errors.md +1 -1
- package/skills/api-contract/references/examples.md +16 -1
- package/skills/api-contract/references/pagination.md +2 -1
- package/skills/api-contract/references/typescript-interfaces.md +2 -1
- package/skills/api-contract/references/writing-endpoints.md +4 -1
- package/skills/spec-writing/SKILL.md +14 -5
- package/skills/spec-writing/references/examples.md +7 -0
- package/skills/spec-writing/references/testing-configuration.md +6 -1
- package/skills/sprint-workflow/SKILL.md +16 -5
- package/skills/sprint-workflow/references/examples.md +17 -0
- package/skills/sprint-workflow/references/sprint-phases.md +7 -1
|
@@ -6,12 +6,14 @@ A complete sprint building a user management API with CRUD endpoints, database
|
|
|
6
6
|
integration, and automated testing.
|
|
7
7
|
|
|
8
8
|
**Step 1 — Create the sprint and write specs:**
|
|
9
|
+
|
|
9
10
|
```bash
|
|
10
11
|
/sprint:new
|
|
11
12
|
# Creates .claude/sprint/1/specs.md
|
|
12
13
|
```
|
|
13
14
|
|
|
14
15
|
**Step 2 — Edit specs.md:**
|
|
16
|
+
|
|
15
17
|
```markdown
|
|
16
18
|
# Sprint 1: User Management API
|
|
17
19
|
|
|
@@ -41,11 +43,13 @@ Build a REST API for user management with CRUD operations and role-based access.
|
|
|
41
43
|
```
|
|
42
44
|
|
|
43
45
|
**Step 3 — Execute the sprint:**
|
|
46
|
+
|
|
44
47
|
```bash
|
|
45
48
|
/sprint
|
|
46
49
|
```
|
|
47
50
|
|
|
48
51
|
**Phase 0 — Load Specifications:**
|
|
52
|
+
|
|
49
53
|
```
|
|
50
54
|
Orchestrator reads .claude/sprint/1/specs.md
|
|
51
55
|
→ Goal: User Management API (5 endpoints)
|
|
@@ -55,6 +59,7 @@ Orchestrator reads .claude/sprint/1/specs.md
|
|
|
55
59
|
```
|
|
56
60
|
|
|
57
61
|
**Phase 1 — Architectural Planning:**
|
|
62
|
+
|
|
58
63
|
```
|
|
59
64
|
project-architect reads:
|
|
60
65
|
→ .claude/project-map.md (existing codebase structure)
|
|
@@ -73,6 +78,7 @@ Architect returns SPAWN REQUEST blocks:
|
|
|
73
78
|
```
|
|
74
79
|
|
|
75
80
|
**Phase 2 — Implementation (Iteration 1):**
|
|
81
|
+
|
|
76
82
|
```
|
|
77
83
|
python-dev agent:
|
|
78
84
|
→ Reads backend-specs.md and api-contract.md
|
|
@@ -90,6 +96,7 @@ Conformity: All 5 endpoints implemented per contract
|
|
|
90
96
|
```
|
|
91
97
|
|
|
92
98
|
**Phase 3 — Testing (Iteration 1):**
|
|
99
|
+
|
|
93
100
|
```
|
|
94
101
|
qa-test-agent runs:
|
|
95
102
|
→ pytest tests/test_users.py
|
|
@@ -107,6 +114,7 @@ Failures:
|
|
|
107
114
|
```
|
|
108
115
|
|
|
109
116
|
**Phase 4 — Review (Iteration 1):**
|
|
117
|
+
|
|
110
118
|
```
|
|
111
119
|
Architect reviews QA report:
|
|
112
120
|
→ 2 failures identified
|
|
@@ -119,6 +127,7 @@ Architect reviews QA report:
|
|
|
119
127
|
```
|
|
120
128
|
|
|
121
129
|
**Iteration 2 — Fix and Re-test:**
|
|
130
|
+
|
|
122
131
|
```
|
|
123
132
|
python-dev agent:
|
|
124
133
|
→ Reads narrowed backend-specs.md (only 2 fixes)
|
|
@@ -136,6 +145,7 @@ Architect reviews:
|
|
|
136
145
|
```
|
|
137
146
|
|
|
138
147
|
**Phase 5 — Finalization:**
|
|
148
|
+
|
|
139
149
|
```
|
|
140
150
|
Orchestrator writes final status.md:
|
|
141
151
|
Sprint 1: COMPLETE
|
|
@@ -152,6 +162,7 @@ FINALIZE
|
|
|
152
162
|
A sprint that hit the 5-iteration limit and requires manual intervention.
|
|
153
163
|
|
|
154
164
|
**status.md after 5 iterations:**
|
|
165
|
+
|
|
155
166
|
```markdown
|
|
156
167
|
# Sprint 2 Status
|
|
157
168
|
|
|
@@ -172,6 +183,7 @@ of in-memory state. This is an architectural change beyond the current specs.
|
|
|
172
183
|
```
|
|
173
184
|
|
|
174
185
|
**Manual intervention:**
|
|
186
|
+
|
|
175
187
|
```bash
|
|
176
188
|
# Review the status
|
|
177
189
|
cat .claude/sprint/2/status.md
|
|
@@ -196,6 +208,7 @@ A sprint focused on UI changes where automated E2E tests are impractical
|
|
|
196
208
|
and manual visual verification is needed.
|
|
197
209
|
|
|
198
210
|
**specs.md:**
|
|
211
|
+
|
|
199
212
|
```markdown
|
|
200
213
|
# Sprint 3: Dashboard Redesign
|
|
201
214
|
|
|
@@ -221,6 +234,7 @@ Redesign the admin dashboard with responsive layout and dark mode support.
|
|
|
221
234
|
```
|
|
222
235
|
|
|
223
236
|
**Sprint execution:**
|
|
237
|
+
|
|
224
238
|
```
|
|
225
239
|
Phase 1: Architect produces frontend-specs.md only (no backend)
|
|
226
240
|
Phase 2: nextjs-dev agent implements layout, dark mode, drag-and-drop
|
|
@@ -248,6 +262,7 @@ A sprint where backend and frontend agents work simultaneously on the same featu
|
|
|
248
262
|
coordinated through a shared API contract.
|
|
249
263
|
|
|
250
264
|
**specs.md:**
|
|
265
|
+
|
|
251
266
|
```markdown
|
|
252
267
|
# Sprint 4: Product Search
|
|
253
268
|
|
|
@@ -274,6 +289,7 @@ Full-text search for products with type-ahead suggestions and faceted filtering.
|
|
|
274
289
|
```
|
|
275
290
|
|
|
276
291
|
**Phase 2 — Parallel agent spawns:**
|
|
292
|
+
|
|
277
293
|
```
|
|
278
294
|
SPAWN REQUEST
|
|
279
295
|
Agent: python-dev
|
|
@@ -301,6 +317,7 @@ No file path overlap → safe for parallel execution
|
|
|
301
317
|
```
|
|
302
318
|
|
|
303
319
|
**Phase 3 — Sequential testing:**
|
|
320
|
+
|
|
304
321
|
```
|
|
305
322
|
1. qa-test-agent runs first:
|
|
306
323
|
→ Tests search API returns correct results
|
|
@@ -7,6 +7,7 @@ A sprint executes through 6 distinct phases:
|
|
|
7
7
|
### Phase 0: Load Specifications
|
|
8
8
|
|
|
9
9
|
Parse the sprint directory and prepare context:
|
|
10
|
+
|
|
10
11
|
- Locate sprint directory (`.claude/sprint/[N]/`)
|
|
11
12
|
- Read `specs.md` for user requirements
|
|
12
13
|
- Read `status.md` if resuming
|
|
@@ -15,6 +16,7 @@ Parse the sprint directory and prepare context:
|
|
|
15
16
|
### Phase 1: Architectural Planning
|
|
16
17
|
|
|
17
18
|
The project-architect agent analyzes requirements:
|
|
19
|
+
|
|
18
20
|
- Read existing `project-map.md` for architecture context
|
|
19
21
|
- Read `project-goals.md` for business objectives
|
|
20
22
|
- Create specification files (`api-contract.md`, `backend-specs.md`, etc.)
|
|
@@ -23,6 +25,7 @@ The project-architect agent analyzes requirements:
|
|
|
23
25
|
### Phase 2: Implementation
|
|
24
26
|
|
|
25
27
|
Spawn implementation agents in parallel:
|
|
28
|
+
|
|
26
29
|
- `python-dev` for Python/FastAPI backend
|
|
27
30
|
- `nextjs-dev` for Next.js frontend
|
|
28
31
|
- `cicd-agent` for CI/CD pipelines
|
|
@@ -32,6 +35,7 @@ Spawn implementation agents in parallel:
|
|
|
32
35
|
### Phase 3: Testing
|
|
33
36
|
|
|
34
37
|
Execute testing agents:
|
|
38
|
+
|
|
35
39
|
- `qa-test-agent` runs first (API and unit tests)
|
|
36
40
|
- `ui-test-agent` runs after (browser-based E2E tests)
|
|
37
41
|
- Framework-specific diagnostics agents run in parallel with UI tests
|
|
@@ -40,6 +44,7 @@ Execute testing agents:
|
|
|
40
44
|
### Phase 4: Review & Iteration
|
|
41
45
|
|
|
42
46
|
Architect reviews all reports:
|
|
47
|
+
|
|
43
48
|
- Analyze conformity status
|
|
44
49
|
- Update specifications (remove completed, add fixes)
|
|
45
50
|
- Update `status.md` with current state
|
|
@@ -48,7 +53,8 @@ Architect reviews all reports:
|
|
|
48
53
|
### Phase 5: Finalization
|
|
49
54
|
|
|
50
55
|
Sprint completion:
|
|
56
|
+
|
|
51
57
|
- Final `status.md` summary
|
|
52
58
|
- All specs in consistent state
|
|
53
59
|
- **Clean up manual-test-report.md** (no longer relevant)
|
|
54
|
-
- Signal FINALIZE to orchestrator
|
|
60
|
+
- Signal FINALIZE to orchestrator
|