ai-sprint-kit 1.1.8 → 1.2.0
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 -47
- package/package.json +1 -1
- package/templates/.claude/agents/debugger.md +1 -1
- package/templates/.claude/agents/devops.md +1 -1
- 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/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
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ npx ai-sprint-kit init
|
|
|
37
37
|
claude
|
|
38
38
|
|
|
39
39
|
# Run your first autonomous cycle
|
|
40
|
-
/auto "build a REST API for user management"
|
|
40
|
+
/ai-sprint-auto "build a REST API for user management"
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
**That's it.** The framework handles planning, coding, testing, security scanning, and documentation.
|
|
@@ -48,34 +48,6 @@ claude
|
|
|
48
48
|
|
|
49
49
|
### 9 Specialized Agents
|
|
50
50
|
|
|
51
|
-
```mermaid
|
|
52
|
-
flowchart LR
|
|
53
|
-
subgraph Planning
|
|
54
|
-
R[🔍 Researcher]
|
|
55
|
-
P[📋 Planner]
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
subgraph Development
|
|
59
|
-
I[💻 Implementer]
|
|
60
|
-
T[🧪 Tester]
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
subgraph Quality
|
|
64
|
-
RV[👀 Reviewer]
|
|
65
|
-
S[🔒 Security]
|
|
66
|
-
end
|
|
67
|
-
|
|
68
|
-
subgraph Operations
|
|
69
|
-
D[🚀 DevOps]
|
|
70
|
-
DC[📄 Docs]
|
|
71
|
-
DB[🐛 Debugger]
|
|
72
|
-
end
|
|
73
|
-
|
|
74
|
-
R --> P --> I --> T --> RV --> S --> D
|
|
75
|
-
DB -.-> I
|
|
76
|
-
DC -.-> D
|
|
77
|
-
```
|
|
78
|
-
|
|
79
51
|
| Agent | Superpower |
|
|
80
52
|
|-------|------------|
|
|
81
53
|
| **Planner** | Researches & architects solutions before coding |
|
|
@@ -91,17 +63,17 @@ flowchart LR
|
|
|
91
63
|
### 11 Slash Commands
|
|
92
64
|
|
|
93
65
|
```bash
|
|
94
|
-
/plan # Create implementation plans
|
|
95
|
-
/code # Generate or refactor code
|
|
96
|
-
/test # Generate and run tests
|
|
97
|
-
/review # Code quality review
|
|
98
|
-
/secure # Security scanning
|
|
99
|
-
/deploy # CI/CD setup
|
|
100
|
-
/docs # Generate documentation
|
|
101
|
-
/debug # Investigate issues
|
|
102
|
-
/scan # Index codebase for AI context
|
|
103
|
-
/validate # Pre-commit checks
|
|
104
|
-
/auto # Full autonomous cycle
|
|
66
|
+
/ai-sprint-plan # Create implementation plans
|
|
67
|
+
/ai-sprint-code # Generate or refactor code
|
|
68
|
+
/ai-sprint-test # Generate and run tests
|
|
69
|
+
/ai-sprint-review # Code quality review
|
|
70
|
+
/ai-sprint-secure # Security scanning
|
|
71
|
+
/ai-sprint-deploy # CI/CD setup
|
|
72
|
+
/ai-sprint-docs # Generate documentation
|
|
73
|
+
/ai-sprint-debug # Investigate issues
|
|
74
|
+
/ai-sprint-scan # Index codebase for AI context
|
|
75
|
+
/ai-sprint-validate # Pre-commit checks
|
|
76
|
+
/ai-sprint-auto # Full autonomous cycle
|
|
105
77
|
```
|
|
106
78
|
|
|
107
79
|
### Built-in Security
|
|
@@ -192,7 +164,7 @@ your-project/
|
|
|
192
164
|
mkdir my-app && cd my-app
|
|
193
165
|
npx ai-sprint-kit init
|
|
194
166
|
claude
|
|
195
|
-
/auto "build e-commerce API with Stripe integration"
|
|
167
|
+
/ai-sprint-auto "build e-commerce API with Stripe integration"
|
|
196
168
|
```
|
|
197
169
|
|
|
198
170
|
### Existing Project
|
|
@@ -201,17 +173,17 @@ claude
|
|
|
201
173
|
cd my-existing-project
|
|
202
174
|
npx ai-sprint-kit init --scan
|
|
203
175
|
claude
|
|
204
|
-
/review # Analyze code quality
|
|
205
|
-
/secure # Find vulnerabilities
|
|
176
|
+
/ai-sprint-review # Analyze code quality
|
|
177
|
+
/ai-sprint-secure # Find vulnerabilities
|
|
206
178
|
```
|
|
207
179
|
|
|
208
180
|
### Security-First Development
|
|
209
181
|
|
|
210
182
|
```bash
|
|
211
|
-
/plan "implement payment processing"
|
|
212
|
-
/code "build with PCI DSS compliance"
|
|
213
|
-
/secure # Comprehensive scan
|
|
214
|
-
/validate # Pre-commit checks
|
|
183
|
+
/ai-sprint-plan "implement payment processing"
|
|
184
|
+
/ai-sprint-code "build with PCI DSS compliance"
|
|
185
|
+
/ai-sprint-secure # Comprehensive scan
|
|
186
|
+
/ai-sprint-validate # Pre-commit checks
|
|
215
187
|
```
|
|
216
188
|
|
|
217
189
|
---
|
package/package.json
CHANGED
|
@@ -111,7 +111,7 @@ ai_context/
|
|
|
111
111
|
|
|
112
112
|
### Phase 4: Document
|
|
113
113
|
```
|
|
114
|
-
1. Call Write: ai_context/reports/debug-{timestamp}-{slug}.md
|
|
114
|
+
1. Call Write: ai_context/reports/ai-sprint-debug-{timestamp}-{slug}.md
|
|
115
115
|
2. Update ai_context/memory/learning.md with new pattern
|
|
116
116
|
```
|
|
117
117
|
|
|
@@ -108,7 +108,7 @@ ai_context/
|
|
|
108
108
|
|
|
109
109
|
### Phase 4: Documentation
|
|
110
110
|
```
|
|
111
|
-
1. Call Write: ai_context/reports/deploy-{timestamp}.md
|
|
111
|
+
1. Call Write: ai_context/reports/ai-sprint-deploy-{timestamp}.md
|
|
112
112
|
2. Document rollback procedures
|
|
113
113
|
3. Update ai_context/memory/decisions.md
|
|
114
114
|
```
|
|
@@ -76,7 +76,7 @@ date "+%y%m%d" # For file naming: 251224
|
|
|
76
76
|
|
|
77
77
|
### Phase 1: Context & Planning
|
|
78
78
|
```
|
|
79
|
-
1. Call Read tool for ai_context/plans/*/plan.md (current plan)
|
|
79
|
+
1. Call Read tool for ai_context/ai-sprint-plans/*/ai-sprint-plan.md (current plan)
|
|
80
80
|
2. Call Read tool for ai_context/memory/learning.md (avoid mistakes)
|
|
81
81
|
3. Call Read tool for existing code in scope
|
|
82
82
|
4. Call Glob to understand project structure
|
|
@@ -208,7 +208,7 @@ Activate these skills for enhanced capabilities:
|
|
|
208
208
|
|
|
209
209
|
Before implementing:
|
|
210
210
|
1. Check `ai_context/memory/learning.md` - Avoid past mistakes
|
|
211
|
-
2. Check `ai_context/plans/` - Follow the plan
|
|
211
|
+
2. Check `ai_context/ai-sprint-plans/` - Follow the plan
|
|
212
212
|
|
|
213
213
|
After implementing:
|
|
214
214
|
1. Update `ai_context/memory/learning.md` if you learned something
|
|
@@ -101,7 +101,7 @@ DO NOT use model knowledge for dates. Always call Bash with date command.
|
|
|
101
101
|
|
|
102
102
|
### Phase 3: Plan Creation
|
|
103
103
|
```
|
|
104
|
-
1. Call Write tool to create ai_context/plans/{timestamp}-feature-name/plan.md
|
|
104
|
+
1. Call Write tool to create ai_context/ai-sprint-plans/{timestamp}-feature-name/ai-sprint-plan.md
|
|
105
105
|
2. Call Write tool for each phase-*.md breakdown
|
|
106
106
|
3. Include security considerations in every phase
|
|
107
107
|
4. Define measurable success criteria
|
|
@@ -98,7 +98,7 @@ ai_context/
|
|
|
98
98
|
|
|
99
99
|
### Phase 3: Reporting
|
|
100
100
|
```
|
|
101
|
-
1. Call Write: ai_context/reports/review-{timestamp}.md
|
|
101
|
+
1. Call Write: ai_context/reports/ai-sprint-review-{timestamp}.md
|
|
102
102
|
2. Categorize by severity (Critical/High/Medium/Low)
|
|
103
103
|
3. Provide before/after code examples
|
|
104
104
|
4. Include rationale for each suggestion
|
|
@@ -108,7 +108,7 @@ ai_context/
|
|
|
108
108
|
|
|
109
109
|
### Phase 4: Reporting
|
|
110
110
|
```
|
|
111
|
-
1. Call Write: ai_context/reports/test-coverage-{timestamp}.md
|
|
111
|
+
1. Call Write: ai_context/reports/ai-sprint-test-coverage-{timestamp}.md
|
|
112
112
|
2. Document coverage metrics
|
|
113
113
|
3. Note gaps and recommendations
|
|
114
114
|
```
|
|
@@ -491,7 +491,7 @@ test('no memory leaks in worker', async () => {
|
|
|
491
491
|
|
|
492
492
|
### CI Configuration
|
|
493
493
|
```yaml
|
|
494
|
-
# .github/workflows/test.yml
|
|
494
|
+
# .github/workflows/ai-sprint-test.yml
|
|
495
495
|
name: Tests
|
|
496
496
|
|
|
497
497
|
on: [push, pull_request]
|
|
@@ -507,7 +507,7 @@ jobs:
|
|
|
507
507
|
- run: npm run test:e2e
|
|
508
508
|
|
|
509
509
|
# Upload coverage
|
|
510
|
-
- uses: codecov/codecov-action@v3
|
|
510
|
+
- uses: codecov/ai-sprint-codecov-action@v3
|
|
511
511
|
with:
|
|
512
512
|
files: ./coverage/lcov.info
|
|
513
513
|
|
|
@@ -15,21 +15,21 @@ argument-hint: [feature description]
|
|
|
15
15
|
|
|
16
16
|
### Phase 1: Planning (MANDATORY - Execute First)
|
|
17
17
|
|
|
18
|
-
**⚠️ STOP! Before ANY code, execute `/plan` command:**
|
|
18
|
+
**⚠️ STOP! Before ANY code, execute `/ai-sprint-plan` command:**
|
|
19
19
|
|
|
20
20
|
```
|
|
21
|
-
/plan "$ARGUMENTS"
|
|
21
|
+
/ai-sprint-plan "$ARGUMENTS"
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
The `/plan` command will:
|
|
24
|
+
The `/ai-sprint-plan` command will:
|
|
25
25
|
1. Research best practices and approaches
|
|
26
26
|
2. Ask clarifying questions if needed
|
|
27
27
|
3. Create implementation plan with architecture
|
|
28
|
-
4. Save plan to `ai_context/plans/`
|
|
28
|
+
4. Save plan to `ai_context/ai-sprint-plans/`
|
|
29
29
|
|
|
30
30
|
**Validation Gate:** Plan MUST exist before proceeding.
|
|
31
|
-
- Check: `ai_context/plans/` has new plan directory
|
|
32
|
-
- If NO plan exists → STOP and run `/plan` first
|
|
31
|
+
- Check: `ai_context/ai-sprint-plans/` has new plan directory
|
|
32
|
+
- If NO plan exists → STOP and run `/ai-sprint-plan` first
|
|
33
33
|
|
|
34
34
|
---
|
|
35
35
|
|
|
@@ -37,7 +37,7 @@ The `/plan` command will:
|
|
|
37
37
|
|
|
38
38
|
Only after plan exists, execute:
|
|
39
39
|
```
|
|
40
|
-
/code "implement the plan at ai_context/plans/{plan-path}"
|
|
40
|
+
/ai-sprint-code "implement the plan at ai_context/ai-sprint-plans/{plan-path}"
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
**Requirements:**
|
|
@@ -52,7 +52,7 @@ Only after plan exists, execute:
|
|
|
52
52
|
|
|
53
53
|
After implementation, execute:
|
|
54
54
|
```
|
|
55
|
-
/test
|
|
55
|
+
/ai-sprint-test
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
**Requirements:**
|
|
@@ -62,7 +62,7 @@ After implementation, execute:
|
|
|
62
62
|
- All tests must pass
|
|
63
63
|
|
|
64
64
|
**Validation Gate:** Tests must pass before proceeding.
|
|
65
|
-
- If tests fail → Fix issues → Rerun `/test`
|
|
65
|
+
- If tests fail → Fix issues → Rerun `/ai-sprint-test`
|
|
66
66
|
- Do NOT proceed with failing tests
|
|
67
67
|
|
|
68
68
|
---
|
|
@@ -71,7 +71,7 @@ After implementation, execute:
|
|
|
71
71
|
|
|
72
72
|
After tests pass, execute:
|
|
73
73
|
```
|
|
74
|
-
/review
|
|
74
|
+
/ai-sprint-review
|
|
75
75
|
```
|
|
76
76
|
|
|
77
77
|
**Requirements:**
|
|
@@ -80,7 +80,7 @@ After tests pass, execute:
|
|
|
80
80
|
- No critical issues allowed
|
|
81
81
|
|
|
82
82
|
**Validation Gate:** Review must pass.
|
|
83
|
-
- If critical issues → Fix → Rerun `/review`
|
|
83
|
+
- If critical issues → Fix → Rerun `/ai-sprint-review`
|
|
84
84
|
|
|
85
85
|
---
|
|
86
86
|
|
|
@@ -88,7 +88,7 @@ After tests pass, execute:
|
|
|
88
88
|
|
|
89
89
|
After review passes, execute:
|
|
90
90
|
```
|
|
91
|
-
/secure
|
|
91
|
+
/ai-sprint-secure
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
**Requirements:**
|
|
@@ -97,7 +97,7 @@ After review passes, execute:
|
|
|
97
97
|
- Dependency vulnerability check
|
|
98
98
|
|
|
99
99
|
**Validation Gate:** No high/critical security issues.
|
|
100
|
-
- If issues found → Fix → Rerun `/secure`
|
|
100
|
+
- If issues found → Fix → Rerun `/ai-sprint-secure`
|
|
101
101
|
|
|
102
102
|
---
|
|
103
103
|
|
|
@@ -105,7 +105,7 @@ After review passes, execute:
|
|
|
105
105
|
|
|
106
106
|
After security passes, execute:
|
|
107
107
|
```
|
|
108
|
-
/docs
|
|
108
|
+
/ai-sprint-docs
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
**Requirements:**
|
|
@@ -144,7 +144,7 @@ After all phases complete, provide summary:
|
|
|
144
144
|
|
|
145
145
|
## REMEMBER
|
|
146
146
|
|
|
147
|
-
- **Phase 1 is MANDATORY** - Always run `/plan` first
|
|
147
|
+
- **Phase 1 is MANDATORY** - Always run `/ai-sprint-plan` first
|
|
148
148
|
- **No skipping** - Execute each phase in order
|
|
149
149
|
- **Validation gates** - Do not proceed if a gate fails
|
|
150
150
|
- **Fix and retry** - If any phase fails, fix issues and rerun
|
|
@@ -11,13 +11,13 @@ argument-hint: [plan-path or task description]
|
|
|
11
11
|
|
|
12
12
|
### Step 0: Check for Plan (IMPORTANT)
|
|
13
13
|
|
|
14
|
-
**If argument contains a plan path (e.g., `ai_context/plans/...`):**
|
|
14
|
+
**If argument contains a plan path (e.g., `ai_context/ai-sprint-plans/...`):**
|
|
15
15
|
1. Read the plan: `plan.md` and `phase-*.md` files
|
|
16
16
|
2. Follow implementation phases in order
|
|
17
17
|
3. Mark phases complete as you progress
|
|
18
18
|
|
|
19
19
|
**If no plan exists:**
|
|
20
|
-
- Ask: "No plan found. Run `/plan` first or proceed with direct implementation?"
|
|
20
|
+
- Ask: "No plan found. Run `/ai-sprint-plan` first or proceed with direct implementation?"
|
|
21
21
|
- If direct implementation requested, continue to Step 1
|
|
22
22
|
|
|
23
23
|
---
|
|
@@ -143,7 +143,7 @@ export async function createUser(data) {
|
|
|
143
143
|
|
|
144
144
|
### Example 1: API Endpoint
|
|
145
145
|
```
|
|
146
|
-
/code "create REST API endpoint for user registration with email verification"
|
|
146
|
+
/ai-sprint-code "create REST API endpoint for user registration with email verification"
|
|
147
147
|
```
|
|
148
148
|
|
|
149
149
|
**Generated:**
|
|
@@ -213,7 +213,7 @@ export async function POST(request: Request) {
|
|
|
213
213
|
|
|
214
214
|
### Example 2: Refactoring
|
|
215
215
|
```
|
|
216
|
-
/code "refactor this callback-based code to use async/await"
|
|
216
|
+
/ai-sprint-code "refactor this callback-based code to use async/await"
|
|
217
217
|
```
|
|
218
218
|
|
|
219
219
|
**Before:**
|
|
@@ -261,40 +261,40 @@ async function getUser(id: string): Promise<User> {
|
|
|
261
261
|
|
|
262
262
|
## Next Steps
|
|
263
263
|
|
|
264
|
-
After `/code` completion:
|
|
264
|
+
After `/ai-sprint-code` completion:
|
|
265
265
|
1. Review generated code
|
|
266
|
-
2. Run `/test` to generate tests
|
|
267
|
-
3. Run `/review` for quality check
|
|
268
|
-
4. Run `/secure` for security scan
|
|
266
|
+
2. Run `/ai-sprint-test` to generate tests
|
|
267
|
+
3. Run `/ai-sprint-review` for quality check
|
|
268
|
+
4. Run `/ai-sprint-secure` for security scan
|
|
269
269
|
5. Commit changes
|
|
270
270
|
|
|
271
271
|
## Common Use Cases
|
|
272
272
|
|
|
273
273
|
### New Features
|
|
274
274
|
```
|
|
275
|
-
/code "add pagination to the products API"
|
|
276
|
-
/code "implement password reset functionality"
|
|
277
|
-
/code "create admin dashboard with user management"
|
|
275
|
+
/ai-sprint-code "add pagination to the products API"
|
|
276
|
+
/ai-sprint-code "implement password reset functionality"
|
|
277
|
+
/ai-sprint-code "create admin dashboard with user management"
|
|
278
278
|
```
|
|
279
279
|
|
|
280
280
|
### Refactoring
|
|
281
281
|
```
|
|
282
|
-
/code "convert class components to functional components"
|
|
283
|
-
/code "split this 500-line file into smaller modules"
|
|
284
|
-
/code "replace REST with GraphQL for user API"
|
|
282
|
+
/ai-sprint-code "convert class components to functional components"
|
|
283
|
+
/ai-sprint-code "split this 500-line file into smaller modules"
|
|
284
|
+
/ai-sprint-code "replace REST with GraphQL for user API"
|
|
285
285
|
```
|
|
286
286
|
|
|
287
287
|
### Bug Fixes
|
|
288
288
|
```
|
|
289
|
-
/code "fix the race condition in payment processing"
|
|
290
|
-
/code "resolve memory leak in WebSocket handler"
|
|
289
|
+
/ai-sprint-code "fix the race condition in payment processing"
|
|
290
|
+
/ai-sprint-code "resolve memory leak in WebSocket handler"
|
|
291
291
|
```
|
|
292
292
|
|
|
293
293
|
### Performance
|
|
294
294
|
```
|
|
295
|
-
/code "optimize this N+1 query problem"
|
|
296
|
-
/code "add caching to frequently accessed data"
|
|
297
|
-
/code "implement lazy loading for images"
|
|
295
|
+
/ai-sprint-code "optimize this N+1 query problem"
|
|
296
|
+
/ai-sprint-code "add caching to frequently accessed data"
|
|
297
|
+
/ai-sprint-code "implement lazy loading for images"
|
|
298
298
|
```
|
|
299
299
|
|
|
300
300
|
## Remember
|
|
@@ -7,17 +7,17 @@ argument-hint: [bug description or error message]
|
|
|
7
7
|
|
|
8
8
|
**Objective:** $ARGUMENTS
|
|
9
9
|
|
|
10
|
-
## Command: /debug
|
|
10
|
+
## Command: /ai-sprint-debug
|
|
11
11
|
|
|
12
12
|
Systematically investigate bugs, perform root cause analysis, and provide fixes with regression tests.
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
15
15
|
|
|
16
16
|
```
|
|
17
|
-
/debug "users can't login"
|
|
18
|
-
/debug "500 error on checkout"
|
|
19
|
-
/debug "memory leak in WebSocket handler"
|
|
20
|
-
/debug "database query is slow"
|
|
17
|
+
/ai-sprint-debug "users can't login"
|
|
18
|
+
/ai-sprint-debug "500 error on checkout"
|
|
19
|
+
/ai-sprint-debug "memory leak in WebSocket handler"
|
|
20
|
+
/ai-sprint-debug "database query is slow"
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## Workflow
|
|
@@ -252,11 +252,11 @@ Before debugging:
|
|
|
252
252
|
|
|
253
253
|
After debugging:
|
|
254
254
|
- Update `ai_context/memory/learning.md` with new bug pattern
|
|
255
|
-
- Save report to `ai_context/reports/debug-{timestamp}-{slug}.md`
|
|
255
|
+
- Save report to `ai_context/reports/ai-sprint-debug-{timestamp}-{slug}.md`
|
|
256
256
|
|
|
257
257
|
## Debug Report
|
|
258
258
|
|
|
259
|
-
Save to: `ai_context/reports/debug-YYMMDD-slug.md`
|
|
259
|
+
Save to: `ai_context/reports/ai-sprint-debug-YYMMDD-slug.md`
|
|
260
260
|
|
|
261
261
|
```markdown
|
|
262
262
|
# Bug Fix Report
|
|
@@ -376,13 +376,13 @@ git bisect reset
|
|
|
376
376
|
|
|
377
377
|
## Integration with Other Commands
|
|
378
378
|
|
|
379
|
-
**/debug** → **/test**
|
|
379
|
+
**/ai-sprint-debug** → **/ai-sprint-test**
|
|
380
380
|
- After fixing bug, add regression test
|
|
381
381
|
|
|
382
|
-
**/debug** → **/review**
|
|
382
|
+
**/ai-sprint-debug** → **/ai-sprint-review**
|
|
383
383
|
- Review fix for quality and security
|
|
384
384
|
|
|
385
|
-
**/debug** → **/secure**
|
|
385
|
+
**/ai-sprint-debug** → **/ai-sprint-secure**
|
|
386
386
|
- If security bug, run security scan
|
|
387
387
|
|
|
388
388
|
## Debug Checklist
|
|
@@ -3,17 +3,17 @@ description: Set up CI/CD pipeline and deployment automation
|
|
|
3
3
|
argument-hint: [optional: platform (github|gitlab|vercel|railway)]
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
## Command: /deploy
|
|
6
|
+
## Command: /ai-sprint-deploy
|
|
7
7
|
|
|
8
8
|
Set up automated CI/CD pipeline and configure deployment to your chosen platform.
|
|
9
9
|
|
|
10
10
|
## Usage
|
|
11
11
|
|
|
12
12
|
```
|
|
13
|
-
/deploy
|
|
14
|
-
/deploy --platform github
|
|
15
|
-
/deploy --platform vercel
|
|
16
|
-
/deploy --platform railway
|
|
13
|
+
/ai-sprint-deploy
|
|
14
|
+
/ai-sprint-deploy --platform github
|
|
15
|
+
/ai-sprint-deploy --platform vercel
|
|
16
|
+
/ai-sprint-deploy --platform railway
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Workflow
|
|
@@ -53,7 +53,7 @@ If not specified, suggest based on project:
|
|
|
53
53
|
|
|
54
54
|
### GitHub Actions (CI/CD)
|
|
55
55
|
```yaml
|
|
56
|
-
# .github/workflows/deploy.yml
|
|
56
|
+
# .github/workflows/ai-sprint-deploy.yml
|
|
57
57
|
name: Deploy
|
|
58
58
|
|
|
59
59
|
on:
|
|
@@ -418,7 +418,7 @@ app.use('/api/', limiter);
|
|
|
418
418
|
|
|
419
419
|
## Output
|
|
420
420
|
|
|
421
|
-
After `/deploy` completion:
|
|
421
|
+
After `/ai-sprint-deploy` completion:
|
|
422
422
|
|
|
423
423
|
✅ **CI/CD Pipeline Configured**
|
|
424
424
|
- Automated testing
|
|
@@ -3,17 +3,17 @@ description: Generate and update project documentation
|
|
|
3
3
|
argument-hint: [optional: specific doc type (readme|api|architecture)]
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
## Command: /docs
|
|
6
|
+
## Command: /ai-sprint-docs
|
|
7
7
|
|
|
8
8
|
Generate comprehensive, up-to-date documentation including README, API docs, architecture diagrams, and inline code comments.
|
|
9
9
|
|
|
10
10
|
## Usage
|
|
11
11
|
|
|
12
12
|
```
|
|
13
|
-
/docs
|
|
14
|
-
/docs readme
|
|
15
|
-
/docs api
|
|
16
|
-
/docs architecture
|
|
13
|
+
/ai-sprint-docs
|
|
14
|
+
/ai-sprint-docs readme
|
|
15
|
+
/ai-sprint-docs api
|
|
16
|
+
/ai-sprint-docs architecture
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Workflow
|
|
@@ -489,13 +489,13 @@ graph TD
|
|
|
489
489
|
|
|
490
490
|
## Integration with Other Commands
|
|
491
491
|
|
|
492
|
-
**/code** → **/docs**
|
|
492
|
+
**/ai-sprint-code** → **/ai-sprint-docs**
|
|
493
493
|
- After generating code, document it
|
|
494
494
|
|
|
495
|
-
**/review** → **/docs**
|
|
495
|
+
**/ai-sprint-review** → **/ai-sprint-docs**
|
|
496
496
|
- Review identifies missing docs
|
|
497
497
|
|
|
498
|
-
**/test** → **/docs**
|
|
498
|
+
**/ai-sprint-test** → **/ai-sprint-docs**
|
|
499
499
|
- Tests validate doc examples work
|
|
500
500
|
|
|
501
501
|
## Success Criteria
|
|
@@ -64,7 +64,7 @@ Task(subagent_type="planner", prompt="Create implementation plan for: $ARGUMENTS
|
|
|
64
64
|
|
|
65
65
|
### Step 5: Create Plan Files
|
|
66
66
|
|
|
67
|
-
Create plan directory: `ai_context/plans/YYMMDD-HHMM-feature-name/`
|
|
67
|
+
Create plan directory: `ai_context/ai-sprint-plans/YYMMDD-HHMM-feature-name/`
|
|
68
68
|
|
|
69
69
|
**Required files:**
|
|
70
70
|
|
|
@@ -113,7 +113,7 @@ Every plan must include:
|
|
|
113
113
|
|
|
114
114
|
Plan directory structure:
|
|
115
115
|
```
|
|
116
|
-
ai_context/plans/YYMMDD-HHMM-feature-name/
|
|
116
|
+
ai_context/ai-sprint-plans/YYMMDD-HHMM-feature-name/
|
|
117
117
|
├── plan.md # Overview
|
|
118
118
|
├── phase-01-*.md # Phase details
|
|
119
119
|
├── phase-02-*.md
|
|
@@ -126,7 +126,7 @@ ai_context/plans/YYMMDD-HHMM-feature-name/
|
|
|
126
126
|
After plan creation:
|
|
127
127
|
1. Review plan with user
|
|
128
128
|
2. Get approval or make adjustments
|
|
129
|
-
3. Execute with `/code {plan-path}` or continue `/auto`
|
|
129
|
+
3. Execute with `/ai-sprint-code {plan-path}` or continue `/ai-sprint-auto`
|
|
130
130
|
|
|
131
131
|
## REMEMBER
|
|
132
132
|
|
|
@@ -7,16 +7,16 @@ argument-hint: [optional: specific file or directory to review]
|
|
|
7
7
|
|
|
8
8
|
**Objective:** $ARGUMENTS
|
|
9
9
|
|
|
10
|
-
## Command: /review
|
|
10
|
+
## Command: /ai-sprint-review
|
|
11
11
|
|
|
12
12
|
Perform comprehensive code quality review focusing on security, maintainability, performance, and best practices.
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
15
15
|
|
|
16
16
|
```
|
|
17
|
-
/review
|
|
18
|
-
/review src/
|
|
19
|
-
/review src/auth/login.ts
|
|
17
|
+
/ai-sprint-review
|
|
18
|
+
/ai-sprint-review src/
|
|
19
|
+
/ai-sprint-review src/auth/login.ts
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Workflow
|
|
@@ -328,13 +328,13 @@ Similar validation in:
|
|
|
328
328
|
|
|
329
329
|
## Integration with Other Commands
|
|
330
330
|
|
|
331
|
-
**/code** → **/review**
|
|
331
|
+
**/ai-sprint-code** → **/ai-sprint-review**
|
|
332
332
|
- After code generation, review for quality
|
|
333
333
|
|
|
334
|
-
**/review** → **/secure**
|
|
334
|
+
**/ai-sprint-review** → **/ai-sprint-secure**
|
|
335
335
|
- Review identifies issues, security scan validates
|
|
336
336
|
|
|
337
|
-
**/review** → **/test**
|
|
337
|
+
**/ai-sprint-review** → **/ai-sprint-test**
|
|
338
338
|
- Review suggests missing tests
|
|
339
339
|
|
|
340
340
|
## Common Code Smells
|