ai-sprint-kit 1.1.9 → 1.2.1
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 +19 -19
- package/package.json +1 -1
- package/templates/.claude/agents/debugger.md +1 -1
- package/templates/.claude/agents/devops.md +9 -9
- package/templates/.claude/agents/docs.md +1 -1
- package/templates/.claude/agents/implementer.md +2 -2
- package/templates/.claude/agents/planner.md +1 -1
- package/templates/.claude/agents/researcher.md +19 -14
- package/templates/.claude/agents/reviewer.md +1 -1
- package/templates/.claude/agents/tester.md +3 -3
- package/templates/.claude/commands/{auto.md → ai-sprint-auto.md} +15 -15
- package/templates/.claude/commands/{code.md → ai-sprint-code.md} +19 -19
- package/templates/.claude/commands/{debug.md → ai-sprint-debug.md} +10 -10
- package/templates/.claude/commands/{deploy.md → ai-sprint-deploy.md} +7 -7
- package/templates/.claude/commands/{docs.md → ai-sprint-docs.md} +8 -8
- package/templates/.claude/commands/{plan.md → ai-sprint-plan.md} +3 -3
- package/templates/.claude/commands/{review.md → ai-sprint-review.md} +7 -7
- package/templates/.claude/commands/{scan.md → ai-sprint-scan.md} +15 -15
- package/templates/.claude/commands/{secure.md → ai-sprint-secure.md} +4 -4
- package/templates/.claude/commands/{test.md → ai-sprint-test.md} +9 -9
- package/templates/.claude/commands/{validate.md → ai-sprint-validate.md} +18 -18
- package/templates/.claude/skills/codebase-context/SKILL.md +9 -9
- package/templates/.claude/skills/codebase-context/references/refresh-triggers.md +3 -3
- package/templates/.claude/skills/implementation/SKILL.md +2 -2
- package/templates/.claude/skills/planning/SKILL.md +3 -3
- package/templates/.claude/skills/planning/references/plan-templates.md +1 -1
- package/templates/.claude/skills/planning/references/research-phase.md +1 -1
- package/templates/.claude/skills/quality-assurance/SKILL.md +2 -2
- package/templates/.claude/workflows/development-rules.md +4 -4
- package/templates/CLAUDE.md +42 -42
- package/templates/README.md +37 -37
- package/templates/docs/user-guide-th.md +64 -64
- package/templates/docs/user-guide.md +94 -94
|
@@ -27,14 +27,14 @@ Complete guide to using the autonomous development framework with Claude Code.
|
|
|
27
27
|
# 1. Start Claude Code
|
|
28
28
|
claude
|
|
29
29
|
|
|
30
|
-
# 2. Try the /auto command for full automation
|
|
31
|
-
/auto "create a hello world API endpoint"
|
|
30
|
+
# 2. Try the /ai-sprint-auto command for full automation
|
|
31
|
+
/ai-sprint-auto "create a hello world API endpoint"
|
|
32
32
|
|
|
33
33
|
# 3. Or step-by-step approach
|
|
34
|
-
/plan "create REST API endpoint"
|
|
35
|
-
/code "implement the plan"
|
|
36
|
-
/test
|
|
37
|
-
/validate
|
|
34
|
+
/ai-sprint-plan "create REST API endpoint"
|
|
35
|
+
/ai-sprint-code "implement the plan"
|
|
36
|
+
/ai-sprint-test
|
|
37
|
+
/ai-sprint-validate
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
### Project Structure
|
|
@@ -66,7 +66,7 @@ your-project/
|
|
|
66
66
|
The simplest way - let the framework handle everything:
|
|
67
67
|
|
|
68
68
|
```bash
|
|
69
|
-
/auto "implement user registration with email and password"
|
|
69
|
+
/ai-sprint-auto "implement user registration with email and password"
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
This automatically runs: plan → code → test → review → security → docs
|
|
@@ -79,23 +79,23 @@ For more control over each phase:
|
|
|
79
79
|
|
|
80
80
|
```bash
|
|
81
81
|
# Step 1: Create the plan
|
|
82
|
-
/plan "implement user registration with email verification"
|
|
82
|
+
/ai-sprint-plan "implement user registration with email verification"
|
|
83
83
|
# Review the plan in ai_context/plans/
|
|
84
84
|
|
|
85
85
|
# Step 2: Generate code
|
|
86
|
-
/code "implement the registration feature from the plan"
|
|
86
|
+
/ai-sprint-code "implement the registration feature from the plan"
|
|
87
87
|
|
|
88
88
|
# Step 3: Generate and run tests
|
|
89
|
-
/test
|
|
89
|
+
/ai-sprint-test
|
|
90
90
|
|
|
91
91
|
# Step 4: Review code quality
|
|
92
|
-
/review
|
|
92
|
+
/ai-sprint-review
|
|
93
93
|
|
|
94
94
|
# Step 5: Security scan
|
|
95
|
-
/secure
|
|
95
|
+
/ai-sprint-secure
|
|
96
96
|
|
|
97
97
|
# Step 6: Generate documentation
|
|
98
|
-
/docs
|
|
98
|
+
/ai-sprint-docs
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
**When to use:** Complex features, learning the framework, when you need review at each step.
|
|
@@ -104,25 +104,25 @@ For more control over each phase:
|
|
|
104
104
|
|
|
105
105
|
```bash
|
|
106
106
|
# Step 1: Investigate the issue
|
|
107
|
-
/debug "users getting 500 error when submitting registration form"
|
|
107
|
+
/ai-sprint-debug "users getting 500 error when submitting registration form"
|
|
108
108
|
# Review the analysis in ai_context/reports/
|
|
109
109
|
|
|
110
110
|
# Step 2: Implement the fix
|
|
111
|
-
/code "fix the registration error based on debug analysis"
|
|
111
|
+
/ai-sprint-code "fix the registration error based on debug analysis"
|
|
112
112
|
|
|
113
113
|
# Step 3: Verify fix
|
|
114
|
-
/test
|
|
115
|
-
/validate
|
|
114
|
+
/ai-sprint-test
|
|
115
|
+
/ai-sprint-validate
|
|
116
116
|
```
|
|
117
117
|
|
|
118
118
|
### Tutorial 4: Security Audit
|
|
119
119
|
|
|
120
120
|
```bash
|
|
121
121
|
# Scan entire codebase
|
|
122
|
-
/secure
|
|
122
|
+
/ai-sprint-secure
|
|
123
123
|
|
|
124
124
|
# Scan specific directory
|
|
125
|
-
/secure src/auth/
|
|
125
|
+
/ai-sprint-secure src/auth/
|
|
126
126
|
|
|
127
127
|
# Review findings in ai_context/reports/security-*.md
|
|
128
128
|
```
|
|
@@ -132,7 +132,7 @@ For more control over each phase:
|
|
|
132
132
|
Always run before pushing code:
|
|
133
133
|
|
|
134
134
|
```bash
|
|
135
|
-
/validate
|
|
135
|
+
/ai-sprint-validate
|
|
136
136
|
```
|
|
137
137
|
|
|
138
138
|
This runs: tests + code review + security scan. Blocks if:
|
|
@@ -147,31 +147,31 @@ This runs: tests + code review + security scan. Blocks if:
|
|
|
147
147
|
npx ai-sprint-kit init
|
|
148
148
|
|
|
149
149
|
# Scan existing code for issues
|
|
150
|
-
/secure
|
|
150
|
+
/ai-sprint-secure
|
|
151
151
|
|
|
152
152
|
# Review code quality
|
|
153
|
-
/review
|
|
153
|
+
/ai-sprint-review
|
|
154
154
|
|
|
155
155
|
# Generate missing documentation
|
|
156
|
-
/docs
|
|
156
|
+
/ai-sprint-docs
|
|
157
157
|
```
|
|
158
158
|
|
|
159
159
|
---
|
|
160
160
|
|
|
161
161
|
## Command Reference
|
|
162
162
|
|
|
163
|
-
### /plan - Architecture & Planning
|
|
163
|
+
### /ai-sprint-plan - Architecture & Planning
|
|
164
164
|
|
|
165
165
|
Creates implementation plans with architecture decisions.
|
|
166
166
|
|
|
167
167
|
```bash
|
|
168
168
|
# Basic usage
|
|
169
|
-
/plan "implement feature description"
|
|
169
|
+
/ai-sprint-plan "implement feature description"
|
|
170
170
|
|
|
171
171
|
# Examples
|
|
172
|
-
/plan "add OAuth2 authentication with Google and GitHub"
|
|
173
|
-
/plan "create microservices architecture for order processing"
|
|
174
|
-
/plan "implement real-time notifications using WebSockets"
|
|
172
|
+
/ai-sprint-plan "add OAuth2 authentication with Google and GitHub"
|
|
173
|
+
/ai-sprint-plan "create microservices architecture for order processing"
|
|
174
|
+
/ai-sprint-plan "implement real-time notifications using WebSockets"
|
|
175
175
|
```
|
|
176
176
|
|
|
177
177
|
**Output:** `ai_context/plans/{timestamp}-{feature}/plan.md`
|
|
@@ -180,35 +180,35 @@ Creates implementation plans with architecture decisions.
|
|
|
180
180
|
|
|
181
181
|
---
|
|
182
182
|
|
|
183
|
-
### /code - Code Generation
|
|
183
|
+
### /ai-sprint-code - Code Generation
|
|
184
184
|
|
|
185
185
|
Generates or refactors code based on plans or descriptions.
|
|
186
186
|
|
|
187
187
|
```bash
|
|
188
188
|
# Basic usage
|
|
189
|
-
/code "what to implement"
|
|
189
|
+
/ai-sprint-code "what to implement"
|
|
190
190
|
|
|
191
191
|
# Examples
|
|
192
|
-
/code "implement the authentication plan"
|
|
193
|
-
/code "refactor the user service to use dependency injection"
|
|
194
|
-
/code "add input validation to all API endpoints"
|
|
192
|
+
/ai-sprint-code "implement the authentication plan"
|
|
193
|
+
/ai-sprint-code "refactor the user service to use dependency injection"
|
|
194
|
+
/ai-sprint-code "add input validation to all API endpoints"
|
|
195
195
|
```
|
|
196
196
|
|
|
197
197
|
**Best for:** Implementation, refactoring, adding functionality.
|
|
198
198
|
|
|
199
199
|
---
|
|
200
200
|
|
|
201
|
-
### /test - Testing
|
|
201
|
+
### /ai-sprint-test - Testing
|
|
202
202
|
|
|
203
203
|
Generates tests and runs them with coverage.
|
|
204
204
|
|
|
205
205
|
```bash
|
|
206
206
|
# Basic usage
|
|
207
|
-
/test
|
|
207
|
+
/ai-sprint-test
|
|
208
208
|
|
|
209
209
|
# With specific focus
|
|
210
|
-
/test "focus on edge cases for user registration"
|
|
211
|
-
/test "add integration tests for payment API"
|
|
210
|
+
/ai-sprint-test "focus on edge cases for user registration"
|
|
211
|
+
/ai-sprint-test "add integration tests for payment API"
|
|
212
212
|
```
|
|
213
213
|
|
|
214
214
|
**Output:** `ai_context/reports/test-*.md`
|
|
@@ -217,17 +217,17 @@ Generates tests and runs them with coverage.
|
|
|
217
217
|
|
|
218
218
|
---
|
|
219
219
|
|
|
220
|
-
### /review - Code Review
|
|
220
|
+
### /ai-sprint-review - Code Review
|
|
221
221
|
|
|
222
222
|
Analyzes code quality and best practices.
|
|
223
223
|
|
|
224
224
|
```bash
|
|
225
225
|
# Review all recent changes
|
|
226
|
-
/review
|
|
226
|
+
/ai-sprint-review
|
|
227
227
|
|
|
228
228
|
# Review specific files or directories
|
|
229
|
-
/review src/services/
|
|
230
|
-
/review src/auth/login.ts
|
|
229
|
+
/ai-sprint-review src/services/
|
|
230
|
+
/ai-sprint-review src/auth/login.ts
|
|
231
231
|
```
|
|
232
232
|
|
|
233
233
|
**Output:** `ai_context/reports/review-*.md`
|
|
@@ -241,17 +241,17 @@ Analyzes code quality and best practices.
|
|
|
241
241
|
|
|
242
242
|
---
|
|
243
243
|
|
|
244
|
-
### /secure - Security Scanning
|
|
244
|
+
### /ai-sprint-secure - Security Scanning
|
|
245
245
|
|
|
246
246
|
Comprehensive security analysis.
|
|
247
247
|
|
|
248
248
|
```bash
|
|
249
249
|
# Scan entire project
|
|
250
|
-
/secure
|
|
250
|
+
/ai-sprint-secure
|
|
251
251
|
|
|
252
252
|
# Scan specific directory
|
|
253
|
-
/secure src/
|
|
254
|
-
/secure src/auth/
|
|
253
|
+
/ai-sprint-secure src/
|
|
254
|
+
/ai-sprint-secure src/auth/
|
|
255
255
|
```
|
|
256
256
|
|
|
257
257
|
**Output:** `ai_context/reports/security-*.md`
|
|
@@ -264,50 +264,50 @@ Comprehensive security analysis.
|
|
|
264
264
|
|
|
265
265
|
---
|
|
266
266
|
|
|
267
|
-
### /deploy - CI/CD Setup
|
|
267
|
+
### /ai-sprint-deploy - CI/CD Setup
|
|
268
268
|
|
|
269
269
|
Configures deployment pipelines.
|
|
270
270
|
|
|
271
271
|
```bash
|
|
272
272
|
# Basic setup
|
|
273
|
-
/deploy
|
|
273
|
+
/ai-sprint-deploy
|
|
274
274
|
|
|
275
275
|
# Platform-specific
|
|
276
|
-
/deploy --platform github
|
|
277
|
-
/deploy --platform gitlab
|
|
278
|
-
/deploy --platform azure
|
|
276
|
+
/ai-sprint-deploy --platform github
|
|
277
|
+
/ai-sprint-deploy --platform gitlab
|
|
278
|
+
/ai-sprint-deploy --platform azure
|
|
279
279
|
```
|
|
280
280
|
|
|
281
281
|
**Creates:** CI/CD configuration files for your platform.
|
|
282
282
|
|
|
283
283
|
---
|
|
284
284
|
|
|
285
|
-
### /docs - Documentation
|
|
285
|
+
### /ai-sprint-docs - Documentation
|
|
286
286
|
|
|
287
287
|
Generates technical documentation.
|
|
288
288
|
|
|
289
289
|
```bash
|
|
290
290
|
# Generate all docs
|
|
291
|
-
/docs
|
|
291
|
+
/ai-sprint-docs
|
|
292
292
|
|
|
293
293
|
# Focus on specific areas
|
|
294
|
-
/docs "API documentation"
|
|
295
|
-
/docs "update README with new features"
|
|
294
|
+
/ai-sprint-docs "API documentation"
|
|
295
|
+
/ai-sprint-docs "update README with new features"
|
|
296
296
|
```
|
|
297
297
|
|
|
298
298
|
**Output:** `ai_context/docs/` and project `docs/`
|
|
299
299
|
|
|
300
300
|
---
|
|
301
301
|
|
|
302
|
-
### /debug - Debugging
|
|
302
|
+
### /ai-sprint-debug - Debugging
|
|
303
303
|
|
|
304
304
|
Investigates issues and bugs.
|
|
305
305
|
|
|
306
306
|
```bash
|
|
307
307
|
# Describe the problem
|
|
308
|
-
/debug "500 error when user submits form"
|
|
309
|
-
/debug "memory leak in background job processor"
|
|
310
|
-
/debug "slow API response times on /users endpoint"
|
|
308
|
+
/ai-sprint-debug "500 error when user submits form"
|
|
309
|
+
/ai-sprint-debug "memory leak in background job processor"
|
|
310
|
+
/ai-sprint-debug "slow API response times on /users endpoint"
|
|
311
311
|
```
|
|
312
312
|
|
|
313
313
|
**Output:** `ai_context/reports/debug-*.md`
|
|
@@ -319,12 +319,12 @@ Investigates issues and bugs.
|
|
|
319
319
|
|
|
320
320
|
---
|
|
321
321
|
|
|
322
|
-
### /validate - Pre-Commit Gate
|
|
322
|
+
### /ai-sprint-validate - Pre-Commit Gate
|
|
323
323
|
|
|
324
324
|
Runs comprehensive validation before commit.
|
|
325
325
|
|
|
326
326
|
```bash
|
|
327
|
-
/validate
|
|
327
|
+
/ai-sprint-validate
|
|
328
328
|
```
|
|
329
329
|
|
|
330
330
|
**Runs:** tests + review + security
|
|
@@ -338,17 +338,17 @@ Runs comprehensive validation before commit.
|
|
|
338
338
|
|
|
339
339
|
---
|
|
340
340
|
|
|
341
|
-
### /auto - Full Automation
|
|
341
|
+
### /ai-sprint-auto - Full Automation
|
|
342
342
|
|
|
343
343
|
Complete development cycle in one command.
|
|
344
344
|
|
|
345
345
|
```bash
|
|
346
|
-
/auto "feature description"
|
|
346
|
+
/ai-sprint-auto "feature description"
|
|
347
347
|
|
|
348
348
|
# Examples
|
|
349
|
-
/auto "implement shopping cart with add, remove, checkout"
|
|
350
|
-
/auto "create admin dashboard for user management"
|
|
351
|
-
/auto "add rate limiting to all API endpoints"
|
|
349
|
+
/ai-sprint-auto "implement shopping cart with add, remove, checkout"
|
|
350
|
+
/ai-sprint-auto "create admin dashboard for user management"
|
|
351
|
+
/ai-sprint-auto "add rate limiting to all API endpoints"
|
|
352
352
|
```
|
|
353
353
|
|
|
354
354
|
**Runs:** plan → code → test → review → security → docs
|
|
@@ -438,21 +438,21 @@ Edit `.mcp.json`:
|
|
|
438
438
|
|
|
439
439
|
## Best Practices
|
|
440
440
|
|
|
441
|
-
### 1. Start with /plan
|
|
441
|
+
### 1. Start with /ai-sprint-plan
|
|
442
442
|
|
|
443
443
|
Always plan before coding for complex features:
|
|
444
444
|
|
|
445
445
|
```bash
|
|
446
|
-
/plan "describe your feature"
|
|
446
|
+
/ai-sprint-plan "describe your feature"
|
|
447
447
|
# Review the plan
|
|
448
|
-
/code "implement the plan"
|
|
448
|
+
/ai-sprint-code "implement the plan"
|
|
449
449
|
```
|
|
450
450
|
|
|
451
|
-
### 2. Use /validate Before Every Commit
|
|
451
|
+
### 2. Use /ai-sprint-validate Before Every Commit
|
|
452
452
|
|
|
453
453
|
```bash
|
|
454
454
|
# Before git commit
|
|
455
|
-
/validate
|
|
455
|
+
/ai-sprint-validate
|
|
456
456
|
git add .
|
|
457
457
|
git commit -m "feat: your feature"
|
|
458
458
|
```
|
|
@@ -471,7 +471,7 @@ cat ai_context/memory/decisions.md
|
|
|
471
471
|
|
|
472
472
|
### 4. Review Security Reports
|
|
473
473
|
|
|
474
|
-
After every `/secure` scan:
|
|
474
|
+
After every `/ai-sprint-secure` scan:
|
|
475
475
|
|
|
476
476
|
```bash
|
|
477
477
|
# Check reports
|
|
@@ -485,12 +485,12 @@ Set up at least:
|
|
|
485
485
|
- **exa** - For better web search
|
|
486
486
|
- **context7** - For library documentation
|
|
487
487
|
|
|
488
|
-
### 6. Use /auto for Simple Features
|
|
488
|
+
### 6. Use /ai-sprint-auto for Simple Features
|
|
489
489
|
|
|
490
490
|
For straightforward features, use full automation:
|
|
491
491
|
|
|
492
492
|
```bash
|
|
493
|
-
/auto "add logout button to navbar"
|
|
493
|
+
/ai-sprint-auto "add logout button to navbar"
|
|
494
494
|
```
|
|
495
495
|
|
|
496
496
|
### 7. Use Step-by-Step for Complex Features
|
|
@@ -498,13 +498,13 @@ For straightforward features, use full automation:
|
|
|
498
498
|
For complex features, maintain control:
|
|
499
499
|
|
|
500
500
|
```bash
|
|
501
|
-
/plan "complex feature"
|
|
501
|
+
/ai-sprint-plan "complex feature"
|
|
502
502
|
# Review plan
|
|
503
|
-
/code "implement phase 1"
|
|
504
|
-
/test
|
|
505
|
-
/code "implement phase 2"
|
|
506
|
-
/test
|
|
507
|
-
/validate
|
|
503
|
+
/ai-sprint-code "implement phase 1"
|
|
504
|
+
/ai-sprint-test
|
|
505
|
+
/ai-sprint-code "implement phase 2"
|
|
506
|
+
/ai-sprint-test
|
|
507
|
+
/ai-sprint-validate
|
|
508
508
|
```
|
|
509
509
|
|
|
510
510
|
---
|
|
@@ -515,17 +515,17 @@ For complex features, maintain control:
|
|
|
515
515
|
|
|
516
516
|
```bash
|
|
517
517
|
# Run tests to see errors
|
|
518
|
-
/test
|
|
518
|
+
/ai-sprint-test
|
|
519
519
|
|
|
520
520
|
# Debug specific failures
|
|
521
|
-
/debug "test X is failing with error Y"
|
|
521
|
+
/ai-sprint-debug "test X is failing with error Y"
|
|
522
522
|
```
|
|
523
523
|
|
|
524
524
|
### Low Coverage
|
|
525
525
|
|
|
526
526
|
```bash
|
|
527
527
|
# Generate more tests
|
|
528
|
-
/test "increase coverage for uncovered functions"
|
|
528
|
+
/ai-sprint-test "increase coverage for uncovered functions"
|
|
529
529
|
```
|
|
530
530
|
|
|
531
531
|
### Security Issues Found
|
|
@@ -535,10 +535,10 @@ For complex features, maintain control:
|
|
|
535
535
|
cat ai_context/reports/security-*.md
|
|
536
536
|
|
|
537
537
|
# Fix issues
|
|
538
|
-
/code "fix security issues from the security scan"
|
|
538
|
+
/ai-sprint-code "fix security issues from the security scan"
|
|
539
539
|
|
|
540
540
|
# Rescan
|
|
541
|
-
/secure
|
|
541
|
+
/ai-sprint-secure
|
|
542
542
|
```
|
|
543
543
|
|
|
544
544
|
### Agent Not Responding
|
|
@@ -579,16 +579,16 @@ npx ai-sprint-kit init --force
|
|
|
579
579
|
|
|
580
580
|
| Task | Command |
|
|
581
581
|
|------|---------|
|
|
582
|
-
| Full automation | `/auto "feature"` |
|
|
583
|
-
| Plan feature | `/plan "feature"` |
|
|
584
|
-
| Write code | `/code "what to build"` |
|
|
585
|
-
| Run tests | `/test` |
|
|
586
|
-
| Code review | `/review` |
|
|
587
|
-
| Security scan | `/secure` |
|
|
588
|
-
| Setup CI/CD | `/deploy` |
|
|
589
|
-
| Generate docs | `/docs` |
|
|
590
|
-
| Debug issue | `/debug "problem"` |
|
|
591
|
-
| Pre-commit check | `/validate` |
|
|
582
|
+
| Full automation | `/ai-sprint-auto "feature"` |
|
|
583
|
+
| Plan feature | `/ai-sprint-plan "feature"` |
|
|
584
|
+
| Write code | `/ai-sprint-code "what to build"` |
|
|
585
|
+
| Run tests | `/ai-sprint-test` |
|
|
586
|
+
| Code review | `/ai-sprint-review` |
|
|
587
|
+
| Security scan | `/ai-sprint-secure` |
|
|
588
|
+
| Setup CI/CD | `/ai-sprint-deploy` |
|
|
589
|
+
| Generate docs | `/ai-sprint-docs` |
|
|
590
|
+
| Debug issue | `/ai-sprint-debug "problem"` |
|
|
591
|
+
| Pre-commit check | `/ai-sprint-validate` |
|
|
592
592
|
|
|
593
593
|
---
|
|
594
594
|
|