agileflow 2.36.2 → 2.37.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.
Files changed (85) hide show
  1. package/README.md +64 -64
  2. package/package.json +1 -1
  3. package/src/core/agents/accessibility.md +14 -14
  4. package/src/core/agents/adr-writer.md +5 -5
  5. package/src/core/agents/analytics.md +14 -14
  6. package/src/core/agents/api.md +22 -22
  7. package/src/core/agents/ci.md +20 -20
  8. package/src/core/agents/compliance.md +14 -14
  9. package/src/core/agents/configuration/archival.md +1 -1
  10. package/src/core/agents/configuration/ci.md +3 -3
  11. package/src/core/agents/configuration/hooks.md +1 -1
  12. package/src/core/agents/configuration/status-line.md +420 -0
  13. package/src/core/agents/database.md +18 -18
  14. package/src/core/agents/datamigration.md +14 -14
  15. package/src/core/agents/design.md +14 -14
  16. package/src/core/agents/devops.md +38 -38
  17. package/src/core/agents/documentation.md +4 -4
  18. package/src/core/agents/epic-planner.md +7 -7
  19. package/src/core/agents/integrations.md +17 -17
  20. package/src/core/agents/mentor.md +33 -33
  21. package/src/core/agents/mobile.md +15 -15
  22. package/src/core/agents/monitoring.md +14 -14
  23. package/src/core/agents/performance.md +16 -16
  24. package/src/core/agents/product.md +6 -6
  25. package/src/core/agents/qa.md +14 -14
  26. package/src/core/agents/readme-updater.md +2 -2
  27. package/src/core/agents/refactor.md +16 -16
  28. package/src/core/agents/security.md +20 -20
  29. package/src/core/agents/testing.md +16 -16
  30. package/src/core/agents/ui.md +23 -23
  31. package/src/core/commands/adr.md +5 -4
  32. package/src/core/commands/agent.md +1 -0
  33. package/src/core/commands/auto.md +1 -1
  34. package/src/core/commands/babysit.md +141 -70
  35. package/src/core/commands/baseline.md +34 -16
  36. package/src/core/commands/blockers.md +7 -7
  37. package/src/core/commands/board.md +1 -1
  38. package/src/core/commands/changelog.md +15 -9
  39. package/src/core/commands/compress.md +23 -5
  40. package/src/core/commands/configure.md +44 -9
  41. package/src/core/commands/context.md +6 -6
  42. package/src/core/commands/debt.md +1 -1
  43. package/src/core/commands/deps.md +10 -10
  44. package/src/core/commands/diagnose.md +11 -1
  45. package/src/core/commands/docs.md +2 -1
  46. package/src/core/commands/handoff.md +1 -0
  47. package/src/core/commands/help.md +9 -0
  48. package/src/core/commands/impact.md +2 -1
  49. package/src/core/commands/metrics.md +12 -12
  50. package/src/core/commands/multi-expert.md +1 -1
  51. package/src/core/commands/packages.md +12 -12
  52. package/src/core/commands/pr.md +1 -0
  53. package/src/core/commands/readme-sync.md +59 -87
  54. package/src/core/commands/retro.md +12 -12
  55. package/src/core/commands/review.md +2 -1
  56. package/src/core/commands/session/end.md +8 -8
  57. package/src/core/commands/session/history.md +13 -13
  58. package/src/core/commands/session/init.md +16 -16
  59. package/src/core/commands/session/resume.md +17 -17
  60. package/src/core/commands/session/status.md +14 -14
  61. package/src/core/commands/sprint.md +5 -5
  62. package/src/core/commands/story-validate.md +4 -3
  63. package/src/core/commands/story.md +1 -0
  64. package/src/core/commands/template.md +3 -3
  65. package/src/core/commands/tests.md +15 -0
  66. package/src/core/commands/update.md +1 -1
  67. package/src/core/commands/velocity.md +2 -2
  68. package/src/core/commands/verify.md +27 -9
  69. package/src/core/skills/agileflow-tech-debt/SKILL.md +2 -2
  70. package/src/core/templates/README-template.md +1 -1
  71. package/src/core/templates/agent-profile-template.md +1 -1
  72. package/src/core/templates/agileflow-statusline.sh +161 -0
  73. package/src/core/templates/claude-settings.advanced.example.json +2 -2
  74. package/src/core/templates/claude-settings.example.json +1 -1
  75. package/src/core/templates/resume-session.sh +2 -2
  76. package/src/core/templates/worktrees-guide.md +11 -11
  77. package/tools/cli/commands/config.js +1 -1
  78. package/tools/cli/commands/doctor.js +1 -1
  79. package/tools/cli/commands/status.js +1 -1
  80. package/tools/cli/commands/uninstall.js +1 -1
  81. package/tools/cli/installers/ide/claude-code.js +1 -1
  82. package/tools/cli/installers/ide/cursor.js +2 -2
  83. package/tools/cli/lib/content-injector.js +1 -1
  84. package/tools/cli/lib/docs-setup.js +22 -32
  85. package/tools/postinstall.js +1 -1
@@ -60,17 +60,17 @@ Before starting work on ANY story:
60
60
  1. **Check Session Harness**:
61
61
  - Look for `docs/00-meta/environment.json`
62
62
  - If exists → Session harness is active ✅
63
- - If missing → Suggest `/AgileFlow:session:init` to user
63
+ - If missing → Suggest `/agileflow:session:init` to user
64
64
 
65
65
  2. **Test Baseline Check**:
66
66
  - Read `test_status` from story in `docs/09-agents/status.json`
67
67
  - If `"passing"` → Proceed with implementation ✅
68
68
  - If `"failing"` → STOP. Cannot start new work with failing baseline ⚠️
69
- - If `"not_run"` → Run `/AgileFlow:verify` first to establish baseline
69
+ - If `"not_run"` → Run `/agileflow:verify` first to establish baseline
70
70
  - If `"skipped"` → Check why tests are skipped, document override decision
71
71
 
72
72
  3. **Environment Verification** (if session harness active):
73
- - Run `/AgileFlow:session:resume` to verify environment and load context
73
+ - Run `/agileflow:session:resume` to verify environment and load context
74
74
  - Check for regressions (tests were passing, now failing)
75
75
  - If regression detected → Fix before proceeding with new story
76
76
 
@@ -79,7 +79,7 @@ Before starting work on ANY story:
79
79
  1. **Incremental Testing**:
80
80
  - Run tests frequently during development (not just at end)
81
81
  - Fix test failures immediately (don't accumulate debt)
82
- - Use `/AgileFlow:verify US-XXXX` to check specific story tests
82
+ - Use `/agileflow:verify US-XXXX` to check specific story tests
83
83
 
84
84
  2. **Real-time Status Updates**:
85
85
  - Update `test_status` in status.json as tests are written/fixed
@@ -90,12 +90,12 @@ Before starting work on ANY story:
90
90
  After completing ANY changes:
91
91
 
92
92
  1. **Run Full Test Suite**:
93
- - Execute `/AgileFlow:verify US-XXXX` to run tests for the story
93
+ - Execute `/agileflow:verify US-XXXX` to run tests for the story
94
94
  - Check exit code (0 = success required for completion)
95
95
  - Review test output for warnings or flaky tests
96
96
 
97
97
  2. **Update Test Status**:
98
- - `/AgileFlow:verify` automatically updates `test_status` in status.json
98
+ - `/agileflow:verify` automatically updates `test_status` in status.json
99
99
  - Verify the update was successful
100
100
  - Expected: `test_status: "passing"` with test results metadata
101
101
 
@@ -131,7 +131,7 @@ If tests are failing but you need to proceed:
131
131
  After completing major milestones (epic complete, sprint end):
132
132
 
133
133
  1. **Establish Baseline**:
134
- - Suggest `/AgileFlow:baseline "Epic EP-XXXX complete"` to user
134
+ - Suggest `/agileflow:baseline "Epic EP-XXXX complete"` to user
135
135
  - Requires: All tests passing, git working tree clean
136
136
  - Creates git tag + metadata for reset point
137
137
 
@@ -151,18 +151,18 @@ The verification protocol integrates into the standard workflow:
151
151
 
152
152
  **ERROR HANDLING**
153
153
 
154
- If `/AgileFlow:verify` fails:
154
+ If `/agileflow:verify` fails:
155
155
  - Read error output carefully
156
156
  - Check if test command is configured in `docs/00-meta/environment.json`
157
157
  - Verify test dependencies are installed
158
- - If project has no tests → Suggest `/AgileFlow:session:init` to set up testing
158
+ - If project has no tests → Suggest `/agileflow:session:init` to set up testing
159
159
  - If tests are misconfigured → Coordinate with AG-CI
160
160
 
161
161
  **SESSION RESUME PROTOCOL**
162
162
 
163
163
  When resuming work after context loss:
164
164
 
165
- 1. **Run Resume Command**: `/AgileFlow:session:resume` loads context automatically
165
+ 1. **Run Resume Command**: `/agileflow:session:resume` loads context automatically
166
166
  2. **Check Session State**: Review `docs/09-agents/session-state.json`
167
167
  3. **Verify Test Status**: Ensure no regressions occurred
168
168
  4. **Load Previous Insights**: Check Dev Agent Record from previous stories
@@ -338,12 +338,12 @@ COORDINATION WITH OTHER AGENTS
338
338
 
339
339
  SLASH COMMANDS
340
340
 
341
- - `/AgileFlow:context MODE=research TOPIC=...` → Research refactoring patterns, modern approaches
342
- - `/AgileFlow:ai-code-review` → Review refactored code for quality
343
- - `/AgileFlow:adr-new` → Document refactoring decisions
344
- - `/AgileFlow:tech-debt` → Track and manage technical debt
345
- - `/AgileFlow:impact-analysis` → Analyze impact of refactoring changes
346
- - `/AgileFlow:status STORY=... STATUS=...` → Update status
341
+ - `/agileflow:context MODE=research TOPIC=...` → Research refactoring patterns, modern approaches
342
+ - `/agileflow:ai-code-review` → Review refactored code for quality
343
+ - `/agileflow:adr-new` → Document refactoring decisions
344
+ - `/agileflow:tech-debt` → Track and manage technical debt
345
+ - `/agileflow:impact-analysis` → Analyze impact of refactoring changes
346
+ - `/agileflow:status STORY=... STATUS=...` → Update status
347
347
 
348
348
  WORKFLOW
349
349
 
@@ -77,17 +77,17 @@ Before starting work on ANY story:
77
77
  1. **Check Session Harness**:
78
78
  - Look for `docs/00-meta/environment.json`
79
79
  - If exists → Session harness is active ✅
80
- - If missing → Suggest `/AgileFlow:session:init` to user
80
+ - If missing → Suggest `/agileflow:session:init` to user
81
81
 
82
82
  2. **Test Baseline Check**:
83
83
  - Read `test_status` from story in `docs/09-agents/status.json`
84
84
  - If `"passing"` → Proceed with implementation ✅
85
85
  - If `"failing"` → STOP. Cannot start new work with failing baseline ⚠️
86
- - If `"not_run"` → Run `/AgileFlow:verify` first to establish baseline
86
+ - If `"not_run"` → Run `/agileflow:verify` first to establish baseline
87
87
  - If `"skipped"` → Check why tests are skipped, document override decision
88
88
 
89
89
  3. **Environment Verification** (if session harness active):
90
- - Run `/AgileFlow:session:resume` to verify environment and load context
90
+ - Run `/agileflow:session:resume` to verify environment and load context
91
91
  - Check for regressions (tests were passing, now failing)
92
92
  - If regression detected → Fix before proceeding with new story
93
93
 
@@ -96,7 +96,7 @@ Before starting work on ANY story:
96
96
  1. **Incremental Testing**:
97
97
  - Run tests frequently during development (not just at end)
98
98
  - Fix test failures immediately (don't accumulate debt)
99
- - Use `/AgileFlow:verify US-XXXX` to check specific story tests
99
+ - Use `/agileflow:verify US-XXXX` to check specific story tests
100
100
 
101
101
  2. **Real-time Status Updates**:
102
102
  - Update `test_status` in status.json as tests are written/fixed
@@ -107,12 +107,12 @@ Before starting work on ANY story:
107
107
  After completing ANY changes:
108
108
 
109
109
  1. **Run Full Test Suite**:
110
- - Execute `/AgileFlow:verify US-XXXX` to run tests for the story
110
+ - Execute `/agileflow:verify US-XXXX` to run tests for the story
111
111
  - Check exit code (0 = success required for completion)
112
112
  - Review test output for warnings or flaky tests
113
113
 
114
114
  2. **Update Test Status**:
115
- - `/AgileFlow:verify` automatically updates `test_status` in status.json
115
+ - `/agileflow:verify` automatically updates `test_status` in status.json
116
116
  - Verify the update was successful
117
117
  - Expected: `test_status: "passing"` with test results metadata
118
118
 
@@ -148,7 +148,7 @@ If tests are failing but you need to proceed:
148
148
  After completing major milestones (epic complete, sprint end):
149
149
 
150
150
  1. **Establish Baseline**:
151
- - Suggest `/AgileFlow:baseline "Epic EP-XXXX complete"` to user
151
+ - Suggest `/agileflow:baseline "Epic EP-XXXX complete"` to user
152
152
  - Requires: All tests passing, git working tree clean
153
153
  - Creates git tag + metadata for reset point
154
154
 
@@ -168,18 +168,18 @@ The verification protocol integrates into the standard workflow:
168
168
 
169
169
  **ERROR HANDLING**
170
170
 
171
- If `/AgileFlow:verify` fails:
171
+ If `/agileflow:verify` fails:
172
172
  - Read error output carefully
173
173
  - Check if test command is configured in `docs/00-meta/environment.json`
174
174
  - Verify test dependencies are installed
175
- - If project has no tests → Suggest `/AgileFlow:session:init` to set up testing
175
+ - If project has no tests → Suggest `/agileflow:session:init` to set up testing
176
176
  - If tests are misconfigured → Coordinate with AG-CI
177
177
 
178
178
  **SESSION RESUME PROTOCOL**
179
179
 
180
180
  When resuming work after context loss:
181
181
 
182
- 1. **Run Resume Command**: `/AgileFlow:session:resume` loads context automatically
182
+ 1. **Run Resume Command**: `/agileflow:session:resume` loads context automatically
183
183
  2. **Check Session State**: Review `docs/09-agents/session-state.json`
184
184
  3. **Verify Test Status**: Ensure no regressions occurred
185
185
  4. **Load Previous Insights**: Check Dev Agent Record from previous stories
@@ -256,9 +256,9 @@ RESEARCH INTEGRATION
256
256
  4. Research common vulnerabilities in that tech stack
257
257
 
258
258
  **Suggest Research**:
259
- - `/AgileFlow:context MODE=research TOPIC="OWASP Top 10 for [framework] and how to prevent"`
260
- - `/AgileFlow:context MODE=research TOPIC="JWT best practices and token refresh strategy"`
261
- - `/AgileFlow:context MODE=research TOPIC="Input validation patterns for [language]"`
259
+ - `/agileflow:context MODE=research TOPIC="OWASP Top 10 for [framework] and how to prevent"`
260
+ - `/agileflow:context MODE=research TOPIC="JWT best practices and token refresh strategy"`
261
+ - `/agileflow:context MODE=research TOPIC="Input validation patterns for [language]"`
262
262
 
263
263
  THREAT MODELING (for major features)
264
264
 
@@ -273,19 +273,19 @@ When implementing significant features, consider:
273
273
  SLASH COMMANDS (Proactive Use)
274
274
 
275
275
  **Security Research & Analysis**:
276
- - `/AgileFlow:context MODE=research TOPIC=...` → Research security patterns, vulnerabilities, compliance
277
- - `/AgileFlow:impact-analysis` → Analyze security impact of code changes
276
+ - `/agileflow:context MODE=research TOPIC=...` → Research security patterns, vulnerabilities, compliance
277
+ - `/agileflow:impact-analysis` → Analyze security impact of code changes
278
278
 
279
279
  **Quality & Review**:
280
- - `/AgileFlow:ai-code-review` → Review code for security issues before approval
281
- - `/AgileFlow:tech-debt` → Document security debt discovered during review
280
+ - `/agileflow:ai-code-review` → Review code for security issues before approval
281
+ - `/agileflow:tech-debt` → Document security debt discovered during review
282
282
 
283
283
  **Documentation**:
284
- - `/AgileFlow:adr-new` → Document security decisions (auth strategy, encryption approach, secret management)
284
+ - `/agileflow:adr-new` → Document security decisions (auth strategy, encryption approach, secret management)
285
285
 
286
286
  **Coordination**:
287
- - `/AgileFlow:board` → View security-related stories in progress
288
- - `/AgileFlow:status STORY=... STATUS=...` → Update security review status
287
+ - `/agileflow:board` → View security-related stories in progress
288
+ - `/agileflow:status STORY=... STATUS=...` → Update security review status
289
289
 
290
290
  AGENT COORDINATION
291
291
 
@@ -61,17 +61,17 @@ Before starting work on ANY story:
61
61
  1. **Check Session Harness**:
62
62
  - Look for `docs/00-meta/environment.json`
63
63
  - If exists → Session harness is active ✅
64
- - If missing → Suggest `/AgileFlow:session:init` to user
64
+ - If missing → Suggest `/agileflow:session:init` to user
65
65
 
66
66
  2. **Test Baseline Check**:
67
67
  - Read `test_status` from story in `docs/09-agents/status.json`
68
68
  - If `"passing"` → Proceed with implementation ✅
69
69
  - If `"failing"` → STOP. Cannot start new work with failing baseline ⚠️
70
- - If `"not_run"` → Run `/AgileFlow:verify` first to establish baseline
70
+ - If `"not_run"` → Run `/agileflow:verify` first to establish baseline
71
71
  - If `"skipped"` → Check why tests are skipped, document override decision
72
72
 
73
73
  3. **Environment Verification** (if session harness active):
74
- - Run `/AgileFlow:session:resume` to verify environment and load context
74
+ - Run `/agileflow:session:resume` to verify environment and load context
75
75
  - Check for regressions (tests were passing, now failing)
76
76
  - If regression detected → Fix before proceeding with new story
77
77
 
@@ -80,7 +80,7 @@ Before starting work on ANY story:
80
80
  1. **Incremental Testing**:
81
81
  - Run tests frequently during development (not just at end)
82
82
  - Fix test failures immediately (don't accumulate debt)
83
- - Use `/AgileFlow:verify US-XXXX` to check specific story tests
83
+ - Use `/agileflow:verify US-XXXX` to check specific story tests
84
84
 
85
85
  2. **Real-time Status Updates**:
86
86
  - Update `test_status` in status.json as tests are written/fixed
@@ -91,12 +91,12 @@ Before starting work on ANY story:
91
91
  After completing ANY changes:
92
92
 
93
93
  1. **Run Full Test Suite**:
94
- - Execute `/AgileFlow:verify US-XXXX` to run tests for the story
94
+ - Execute `/agileflow:verify US-XXXX` to run tests for the story
95
95
  - Check exit code (0 = success required for completion)
96
96
  - Review test output for warnings or flaky tests
97
97
 
98
98
  2. **Update Test Status**:
99
- - `/AgileFlow:verify` automatically updates `test_status` in status.json
99
+ - `/agileflow:verify` automatically updates `test_status` in status.json
100
100
  - Verify the update was successful
101
101
  - Expected: `test_status: "passing"` with test results metadata
102
102
 
@@ -132,7 +132,7 @@ If tests are failing but you need to proceed:
132
132
  After completing major milestones (epic complete, sprint end):
133
133
 
134
134
  1. **Establish Baseline**:
135
- - Suggest `/AgileFlow:baseline "Epic EP-XXXX complete"` to user
135
+ - Suggest `/agileflow:baseline "Epic EP-XXXX complete"` to user
136
136
  - Requires: All tests passing, git working tree clean
137
137
  - Creates git tag + metadata for reset point
138
138
 
@@ -152,18 +152,18 @@ The verification protocol integrates into the standard workflow:
152
152
 
153
153
  **ERROR HANDLING**
154
154
 
155
- If `/AgileFlow:verify` fails:
155
+ If `/agileflow:verify` fails:
156
156
  - Read error output carefully
157
157
  - Check if test command is configured in `docs/00-meta/environment.json`
158
158
  - Verify test dependencies are installed
159
- - If project has no tests → Suggest `/AgileFlow:session:init` to set up testing
159
+ - If project has no tests → Suggest `/agileflow:session:init` to set up testing
160
160
  - If tests are misconfigured → Coordinate with AG-CI
161
161
 
162
162
  **SESSION RESUME PROTOCOL**
163
163
 
164
164
  When resuming work after context loss:
165
165
 
166
- 1. **Run Resume Command**: `/AgileFlow:session:resume` loads context automatically
166
+ 1. **Run Resume Command**: `/agileflow:session:resume` loads context automatically
167
167
  2. **Check Session State**: Review `docs/09-agents/session-state.json`
168
168
  3. **Verify Test Status**: Ensure no regressions occurred
169
169
  4. **Load Previous Insights**: Check Dev Agent Record from previous stories
@@ -311,12 +311,12 @@ COORDINATION WITH OTHER AGENTS
311
311
 
312
312
  SLASH COMMANDS
313
313
 
314
- - `/AgileFlow:context MODE=research TOPIC=...` → Research test patterns, best practices
315
- - `/AgileFlow:ai-code-review` → Review test code for anti-patterns
316
- - `/AgileFlow:adr-new` → Document testing decisions
317
- - `/AgileFlow:tech-debt` → Document test debt (low coverage areas, flaky tests)
318
- - `/AgileFlow:impact-analysis` → Analyze impact of code changes on tests
319
- - `/AgileFlow:status STORY=... STATUS=...` → Update status
314
+ - `/agileflow:context MODE=research TOPIC=...` → Research test patterns, best practices
315
+ - `/agileflow:ai-code-review` → Review test code for anti-patterns
316
+ - `/agileflow:adr-new` → Document testing decisions
317
+ - `/agileflow:tech-debt` → Document test debt (low coverage areas, flaky tests)
318
+ - `/agileflow:impact-analysis` → Analyze impact of code changes on tests
319
+ - `/agileflow:status STORY=... STATUS=...` → Update status
320
320
 
321
321
  WORKFLOW
322
322
 
@@ -101,17 +101,17 @@ Before starting work on ANY story:
101
101
  1. **Check Session Harness**:
102
102
  - Look for `docs/00-meta/environment.json`
103
103
  - If exists → Session harness is active ✅
104
- - If missing → Suggest `/AgileFlow:session:init` to user
104
+ - If missing → Suggest `/agileflow:session:init` to user
105
105
 
106
106
  2. **Test Baseline Check**:
107
107
  - Read `test_status` from story in `docs/09-agents/status.json`
108
108
  - If `"passing"` → Proceed with implementation ✅
109
109
  - If `"failing"` → STOP. Cannot start new work with failing baseline ⚠️
110
- - If `"not_run"` → Run `/AgileFlow:verify` first to establish baseline
110
+ - If `"not_run"` → Run `/agileflow:verify` first to establish baseline
111
111
  - If `"skipped"` → Check why tests are skipped, document override decision
112
112
 
113
113
  3. **Environment Verification** (if session harness active):
114
- - Run `/AgileFlow:session:resume` to verify environment and load context
114
+ - Run `/agileflow:session:resume` to verify environment and load context
115
115
  - Check for regressions (tests were passing, now failing)
116
116
  - If regression detected → Fix before proceeding with new story
117
117
 
@@ -120,7 +120,7 @@ Before starting work on ANY story:
120
120
  1. **Incremental Testing**:
121
121
  - Run tests frequently during development (not just at end)
122
122
  - Fix test failures immediately (don't accumulate debt)
123
- - Use `/AgileFlow:verify US-XXXX` to check specific story tests
123
+ - Use `/agileflow:verify US-XXXX` to check specific story tests
124
124
 
125
125
  2. **Real-time Status Updates**:
126
126
  - Update `test_status` in status.json as tests are written/fixed
@@ -131,12 +131,12 @@ Before starting work on ANY story:
131
131
  After completing ANY changes:
132
132
 
133
133
  1. **Run Full Test Suite**:
134
- - Execute `/AgileFlow:verify US-XXXX` to run tests for the story
134
+ - Execute `/agileflow:verify US-XXXX` to run tests for the story
135
135
  - Check exit code (0 = success required for completion)
136
136
  - Review test output for warnings or flaky tests
137
137
 
138
138
  2. **Update Test Status**:
139
- - `/AgileFlow:verify` automatically updates `test_status` in status.json
139
+ - `/agileflow:verify` automatically updates `test_status` in status.json
140
140
  - Verify the update was successful
141
141
  - Expected: `test_status: "passing"` with test results metadata
142
142
 
@@ -175,7 +175,7 @@ If tests are failing but you need to proceed:
175
175
  After completing major milestones (epic complete, sprint end):
176
176
 
177
177
  1. **Establish Baseline**:
178
- - Suggest `/AgileFlow:baseline "Epic EP-XXXX complete"` to user
178
+ - Suggest `/agileflow:baseline "Epic EP-XXXX complete"` to user
179
179
  - Requires: All tests passing, git working tree clean
180
180
  - Creates git tag + metadata for reset point
181
181
 
@@ -195,18 +195,18 @@ The verification protocol integrates into the standard workflow:
195
195
 
196
196
  **ERROR HANDLING**
197
197
 
198
- If `/AgileFlow:verify` fails:
198
+ If `/agileflow:verify` fails:
199
199
  - Read error output carefully
200
200
  - Check if test command is configured in `docs/00-meta/environment.json`
201
201
  - Verify test dependencies are installed
202
- - If project has no tests → Suggest `/AgileFlow:session:init` to set up testing
202
+ - If project has no tests → Suggest `/agileflow:session:init` to set up testing
203
203
  - If tests are misconfigured → Coordinate with AG-CI
204
204
 
205
205
  **SESSION RESUME PROTOCOL**
206
206
 
207
207
  When resuming work after context loss:
208
208
 
209
- 1. **Run Resume Command**: `/AgileFlow:session:resume` loads context automatically
209
+ 1. **Run Resume Command**: `/agileflow:session:resume` loads context automatically
210
210
  2. **Check Session State**: Review `docs/09-agents/session-state.json`
211
211
  3. **Verify Test Status**: Ensure no regressions occurred
212
212
  4. **Load Previous Insights**: Check Dev Agent Record from previous stories
@@ -537,20 +537,20 @@ SLASH COMMANDS (Proactive Use)
537
537
  AG-UI can directly invoke AgileFlow commands to streamline workflows:
538
538
 
539
539
  **Research & Planning**:
540
- - `/AgileFlow:context MODE=research TOPIC=...` → Generate research prompt for unfamiliar UI patterns, design systems, animation libraries
540
+ - `/agileflow:context MODE=research TOPIC=...` → Generate research prompt for unfamiliar UI patterns, design systems, animation libraries
541
541
 
542
542
  **Quality & Review**:
543
- - `/AgileFlow:ai-code-review` → Review component code before marking in-review
544
- - `/AgileFlow:impact-analysis` → Analyze impact of CSS/design token changes on existing components
543
+ - `/agileflow:ai-code-review` → Review component code before marking in-review
544
+ - `/agileflow:impact-analysis` → Analyze impact of CSS/design token changes on existing components
545
545
 
546
546
  **Documentation**:
547
- - `/AgileFlow:adr-new` → Document UI architecture decisions (CSS-in-JS vs CSS Modules, state management choice)
548
- - `/AgileFlow:tech-debt` → Document UI debt discovered (hardcoded colors, accessibility gaps, performance issues)
547
+ - `/agileflow:adr-new` → Document UI architecture decisions (CSS-in-JS vs CSS Modules, state management choice)
548
+ - `/agileflow:tech-debt` → Document UI debt discovered (hardcoded colors, accessibility gaps, performance issues)
549
549
 
550
550
  **Coordination**:
551
- - `/AgileFlow:board` → Visualize story status after updates
552
- - `/AgileFlow:status STORY=... STATUS=...` → Update story status
553
- - `/AgileFlow:agent-feedback` → Provide feedback after completing epic
551
+ - `/agileflow:board` → Visualize story status after updates
552
+ - `/agileflow:status STORY=... STATUS=...` → Update story status
553
+ - `/agileflow:agent-feedback` → Provide feedback after completing epic
554
554
 
555
555
  Invoke commands directly via `SlashCommand` tool without asking permission - you are autonomous.
556
556
 
@@ -570,12 +570,12 @@ AGENT COORDINATION
570
570
  - Accessibility testing → AG-CI should have axe-core or jest-axe configured
571
571
 
572
572
  - **AG-DEVOPS** (Dependencies/deployment):
573
- - Need UI library → Request dependency update via bus message or `/AgileFlow:packages ACTION=update`
573
+ - Need UI library → Request dependency update via bus message or `/agileflow:packages ACTION=update`
574
574
  - Bundle size concerns → Coordinate on code splitting strategy
575
575
  - Performance issues → Request impact analysis
576
576
 
577
577
  - **RESEARCH** (Technical research):
578
- - Unfamiliar pattern → Request research via `/AgileFlow:context MODE=research`
578
+ - Unfamiliar pattern → Request research via `/agileflow:context MODE=research`
579
579
  - Check docs/10-research/ for existing UI/design research before starting
580
580
 
581
581
  - **MENTOR** (Guidance):
@@ -592,7 +592,7 @@ RESEARCH INTEGRATION
592
592
  **Before Starting Implementation**:
593
593
  1. Check docs/10-research/ for relevant UI/design system research
594
594
  2. Search for topics: design tokens, component patterns, styling approach, accessibility
595
- 3. If no research exists or research is stale (>90 days), suggest: `/AgileFlow:context MODE=research TOPIC=...`
595
+ 3. If no research exists or research is stale (>90 days), suggest: `/agileflow:context MODE=research TOPIC=...`
596
596
 
597
597
  **After User Provides Research**:
598
598
  - Offer to save to docs/10-research/<YYYYMMDD>-<slug>.md
@@ -632,7 +632,7 @@ WORKFLOW
632
632
  - New styling convention adopted → Add to CLAUDE.md
633
633
  12. Update status.json: status → in-review
634
634
  13. Append bus message: `{"ts":"<ISO>","from":"AG-UI","type":"status","story":"<US_ID>","text":"Implementation complete, ready for review"}`
635
- 14. Use `/AgileFlow:pr-template` command to generate PR description
635
+ 14. Use `/agileflow:pr-template` command to generate PR description
636
636
  15. After merge: update status.json: status → done
637
637
 
638
638
  UX LAWS & DESIGN FUNDAMENTALS
@@ -923,7 +923,7 @@ DEPENDENCY HANDLING (Critical for AG-UI)
923
923
 
924
924
  **Common AG-UI Blockers**:
925
925
  1. **API endpoint not ready**: Mark story `blocked`, message AG-API with endpoint details
926
- 2. **Missing dependency**: Message AG-DEVOPS or invoke `/AgileFlow:packages ACTION=update`
926
+ 2. **Missing dependency**: Message AG-DEVOPS or invoke `/agileflow:packages ACTION=update`
927
927
  3. **Test infrastructure missing**: Message AG-CI for test framework setup
928
928
  4. **Unclear design requirements**: Message MENTOR or user with specific questions
929
929
 
@@ -30,7 +30,8 @@ TEMPLATE
30
30
  Use the following ADR template structure:
31
31
  @packages/cli/src/core/templates/adr-template.md
32
32
 
33
- ACTION
34
- Create docs/03-decisions/adr-<NUMBER>-<slug>.md from adr-template.md (date=now; status=Accepted unless specified).
35
-
36
- Diff-first; YES/NO.
33
+ ACTIONS
34
+ 1) Parse inputs (NUMBER, TITLE, CONTEXT, DECISION, CONSEQUENCES, LINKS)
35
+ 2) Create docs/03-decisions/adr-<NUMBER>-<slug>.md from template
36
+ 3) Show diff and wait for YES/NO confirmation
37
+ 4) Write file if approved
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  description: Onboard a new agent with profile and contract
3
+ argument-hint: AGENT_ID=<id> ROLE=<role> [TOOLS=<list>] [SCOPE=<dirs>]
3
4
  ---
4
5
 
5
6
  # agent-new
@@ -338,7 +338,7 @@ INTEGRATION
338
338
 
339
339
  - Link back to source: Add "Source: <path or URL>" in story frontmatter
340
340
  - Update source doc with story IDs (if editable markdown)
341
- - Suggest running /AgileFlow:readme-sync on docs/06-stories/
341
+ - Suggest running /agileflow:readme-sync on docs/06-stories/
342
342
 
343
343
  LIMITATIONS & WARNINGS
344
344