agileflow 2.36.1 → 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
package/README.md CHANGED
@@ -58,13 +58,13 @@ npx agileflow uninstall # Remove from project
58
58
 
59
59
  **Initialize the system:**
60
60
  ```
61
- /AgileFlow:setup
61
+ /agileflow:setup
62
62
  ```
63
63
  Scaffolds docs structure, templates, and optional CI configuration.
64
64
 
65
65
  **Get help:**
66
66
  ```
67
- /AgileFlow:help
67
+ /agileflow:help
68
68
  ```
69
69
  View system overview and available commands.
70
70
 
@@ -78,7 +78,7 @@ Interactive mentor guides you through epic/story creation, implementation, and P
78
78
 
79
79
  | IDE | Status | Config Location |
80
80
  |-----|--------|-----------------|
81
- | Claude Code | ✅ Supported | `.claude/commands/AgileFlow/` |
81
+ | Claude Code | ✅ Supported | `.claude/commands/agileflow/` |
82
82
  | Cursor | ✅ Supported | `.cursor/rules/agileflow/` |
83
83
  | Windsurf | ✅ Supported | `.windsurf/workflows/agileflow/` |
84
84
 
@@ -99,7 +99,7 @@ AgileFlow combines three proven methodologies:
99
99
  <details>
100
100
  <summary><strong>📁 Folder Structure</strong> (click to expand)</summary>
101
101
 
102
- After running `/AgileFlow:setup`:
102
+ After running `/agileflow:setup`:
103
103
 
104
104
  ```
105
105
  docs/
@@ -126,58 +126,58 @@ docs/
126
126
  <summary><strong>📚 Commands</strong> (41 total - click to expand)</summary>
127
127
 
128
128
  ### Core Workflow
129
- - `/AgileFlow:setup` - Bootstrap the entire system
130
- - `/AgileFlow:help` - Display system overview
131
- - `/AgileFlow:babysit` - Interactive mentor for end-to-end implementation
129
+ - `/agileflow:setup` - Bootstrap the entire system
130
+ - `/agileflow:help` - Display system overview
131
+ - `/agileflow:babysit` - Interactive mentor for end-to-end implementation
132
132
 
133
133
  ### Planning & Structure
134
- - `/AgileFlow:epic` - Create a new epic
135
- - `/AgileFlow:story` - Create a user story with acceptance criteria
136
- - `/AgileFlow:story-validate` - Validate story completeness before development
137
- - `/AgileFlow:sprint` - Data-driven sprint planning with velocity forecasting
138
- - `/AgileFlow:adr` - Create an Architecture Decision Record
139
- - `/AgileFlow:agent` - Onboard a new agent
134
+ - `/agileflow:epic` - Create a new epic
135
+ - `/agileflow:story` - Create a user story with acceptance criteria
136
+ - `/agileflow:story-validate` - Validate story completeness before development
137
+ - `/agileflow:sprint` - Data-driven sprint planning with velocity forecasting
138
+ - `/agileflow:adr` - Create an Architecture Decision Record
139
+ - `/agileflow:agent` - Onboard a new agent
140
140
 
141
141
  ### Task Management
142
- - `/AgileFlow:assign` - Assign/reassign a story
143
- - `/AgileFlow:status` - Update story status
144
- - `/AgileFlow:handoff` - Document handoff between agents
142
+ - `/agileflow:assign` - Assign/reassign a story
143
+ - `/agileflow:status` - Update story status
144
+ - `/agileflow:handoff` - Document handoff between agents
145
145
 
146
146
  ### Quality & CI
147
- - `/AgileFlow:pr` - Generate PR description
148
- - `/AgileFlow:ci` - Bootstrap CI workflow
149
- - `/AgileFlow:readme-sync` - Sync folder READMEs
150
- - `/AgileFlow:tests` - Automated testing infrastructure setup
151
- - `/AgileFlow:review` - AI-powered code review
152
- - `/AgileFlow:verify` - Run tests and update story test status (Session Harness)
153
- - `/AgileFlow:session-init` - Initialize session harness with test verification (Phase 2)
154
- - `/AgileFlow:resume` - Resume session with environment verification and context (Phase 2)
155
- - `/AgileFlow:baseline` - Mark current state as verified baseline (Phase 2)
156
- - `/AgileFlow:compress` - Compress status.json (fixes token limit issues)
147
+ - `/agileflow:pr` - Generate PR description
148
+ - `/agileflow:ci` - Bootstrap CI workflow
149
+ - `/agileflow:readme-sync` - Sync folder READMEs
150
+ - `/agileflow:tests` - Automated testing infrastructure setup
151
+ - `/agileflow:review` - AI-powered code review
152
+ - `/agileflow:verify` - Run tests and update story test status (Session Harness)
153
+ - `/agileflow:session-init` - Initialize session harness with test verification (Phase 2)
154
+ - `/agileflow:resume` - Resume session with environment verification and context (Phase 2)
155
+ - `/agileflow:baseline` - Mark current state as verified baseline (Phase 2)
156
+ - `/agileflow:compress` - Compress status.json (fixes token limit issues)
157
157
 
158
158
  ### Automation & DevOps
159
- - `/AgileFlow:packages` - Manage dependencies (dashboard, updates, security audits)
160
- - `/AgileFlow:docs` - Synchronize docs with code changes
161
- - `/AgileFlow:impact` - Analyze change impact on codebase
162
- - `/AgileFlow:debt` - Track and prioritize technical debt
163
- - `/AgileFlow:deploy` - Automated deployment pipeline setup
164
- - `/AgileFlow:changelog` - Auto-generate changelog from commits
165
- - `/AgileFlow:auto` - Generate stories from PRDs/mockups/specs
166
- - `/AgileFlow:template` - Create and manage custom templates
167
- - `/AgileFlow:feedback` - Collect feedback for continuous improvement
168
- - `/AgileFlow:update` - Generate stakeholder reports
159
+ - `/agileflow:packages` - Manage dependencies (dashboard, updates, security audits)
160
+ - `/agileflow:docs` - Synchronize docs with code changes
161
+ - `/agileflow:impact` - Analyze change impact on codebase
162
+ - `/agileflow:debt` - Track and prioritize technical debt
163
+ - `/agileflow:deploy` - Automated deployment pipeline setup
164
+ - `/agileflow:changelog` - Auto-generate changelog from commits
165
+ - `/agileflow:auto` - Generate stories from PRDs/mockups/specs
166
+ - `/agileflow:template` - Create and manage custom templates
167
+ - `/agileflow:feedback` - Collect feedback for continuous improvement
168
+ - `/agileflow:update` - Generate stakeholder reports
169
169
 
170
170
  ### Visualization & Analytics
171
- - `/AgileFlow:board` - Visual kanban board with WIP limits
172
- - `/AgileFlow:blockers` - Comprehensive blocker tracking with resolution suggestions
173
- - `/AgileFlow:velocity` - Velocity tracking and forecasting
174
- - `/AgileFlow:metrics` - Analytics dashboard (cycle time, lead time, throughput, flow efficiency)
175
- - `/AgileFlow:retro` - Automated retrospective generator with insights
176
- - `/AgileFlow:deps` - Dependency graph visualization with critical path detection
171
+ - `/agileflow:board` - Visual kanban board with WIP limits
172
+ - `/agileflow:blockers` - Comprehensive blocker tracking with resolution suggestions
173
+ - `/agileflow:velocity` - Velocity tracking and forecasting
174
+ - `/agileflow:metrics` - Analytics dashboard (cycle time, lead time, throughput, flow efficiency)
175
+ - `/agileflow:retro` - Automated retrospective generator with insights
176
+ - `/agileflow:deps` - Dependency graph visualization with critical path detection
177
177
 
178
178
  ### Web AI Integration
179
- - `/AgileFlow:context` - Generate/export/manage context for web AI tools (ChatGPT, Perplexity, Gemini, Claude, etc.)
180
- - `/AgileFlow:research` - Save research notes
179
+ - `/agileflow:context` - Generate/export/manage context for web AI tools (ChatGPT, Perplexity, Gemini, Claude, etc.)
180
+ - `/agileflow:research` - Save research notes
181
181
 
182
182
  </details>
183
183
 
@@ -331,7 +331,7 @@ Hooks are automatic triggers that execute commands in response to events:
331
331
  "SessionStart": [{
332
332
  "hooks": [{
333
333
  "type": "command",
334
- "command": "echo '🚀 AgileFlow loaded - Type /AgileFlow:help'"
334
+ "command": "echo '🚀 AgileFlow loaded - Type /agileflow:help'"
335
335
  }]
336
336
  }]
337
337
  }
@@ -380,8 +380,8 @@ Hooks are automatic triggers that execute commands in response to events:
380
380
  1. **Pick a story** - Use `mentor` or check `docs/09-agents/status.json`
381
381
  2. **Implement to AC** - Follow acceptance criteria
382
382
  3. **Write tests** - Reference `docs/07-testing/test-cases/<STORY_ID>.md`
383
- 4. **Update status** - Use `/AgileFlow:status`
384
- 5. **Create PR** - Use `/AgileFlow:pr`
383
+ 4. **Update status** - Use `/agileflow:status`
384
+ 5. **Create PR** - Use `/agileflow:pr`
385
385
  6. **Mark done** - Update status after merge
386
386
 
387
387
  ### Multi-Agent Collaboration
@@ -389,7 +389,7 @@ Hooks are automatic triggers that execute commands in response to events:
389
389
  AgileFlow uses a message bus (`docs/09-agents/bus/log.jsonl`) for coordination:
390
390
  - Agents update `docs/09-agents/status.json` with current work
391
391
  - Messages logged to bus for async communication
392
- - Use `/AgileFlow:handoff` to transfer work between agents
392
+ - Use `/agileflow:handoff` to transfer work between agents
393
393
  - WIP limit: max 2 stories per agent
394
394
 
395
395
  ### Git Worktrees for Context Preservation
@@ -404,12 +404,12 @@ For advanced users handling urgent hotfixes during feature work:
404
404
 
405
405
  **Quick Start:**
406
406
  ```bash
407
- # Use helper script (created by /AgileFlow:setup)
407
+ # Use helper script (created by /agileflow:setup)
408
408
  ./docs/00-meta/scripts/worktree-create.sh auth-hotfix
409
409
 
410
410
  # Open in new window
411
411
  code ../myapp-auth-hotfix
412
- /AgileFlow:babysit
412
+ /agileflow:babysit
413
413
  ```
414
414
 
415
415
  See `docs/00-meta/guides/worktrees.md` for comprehensive guide.
@@ -418,11 +418,11 @@ See `docs/00-meta/guides/worktrees.md` for comprehensive guide.
418
418
 
419
419
  Share context with web AI tools (ChatGPT, Perplexity, Gemini, Claude, etc.):
420
420
 
421
- 1. Run `/AgileFlow:context` to generate/refresh context
422
- 2. Use `/AgileFlow:context MODE=export` for concise excerpt
421
+ 1. Run `/agileflow:context` to generate/refresh context
422
+ 2. Use `/agileflow:context MODE=export` for concise excerpt
423
423
  3. Paste into web AI tool for research/ideation
424
- 4. Use `/AgileFlow:context MODE=research TOPIC="..."` for structured prompts
425
- 5. Save results with `/AgileFlow:research`
424
+ 4. Use `/agileflow:context MODE=research TOPIC="..."` for structured prompts
425
+ 5. Save results with `/agileflow:research`
426
426
 
427
427
  ### Session Harness System (v2.24.0+)
428
428
 
@@ -441,22 +441,22 @@ Session Harness System tracks test status, verifies baselines, and maintains ses
441
441
  **Quick Start:**
442
442
  ```bash
443
443
  # First time setup (interactive)
444
- /AgileFlow:session-init
444
+ /agileflow:session-init
445
445
 
446
446
  # Start each session (or auto-run via hook)
447
- /AgileFlow:resume
447
+ /agileflow:resume
448
448
 
449
449
  # Run tests and update test status
450
- /AgileFlow:verify
450
+ /agileflow:verify
451
451
 
452
452
  # Create verified checkpoint
453
- /AgileFlow:baseline "Sprint 12 complete"
453
+ /agileflow:baseline "Sprint 12 complete"
454
454
  ```
455
455
 
456
456
  **How It Works:**
457
457
  1. **Test Tracking**: Every story has `test_status` field (passing/failing/not_run)
458
458
  2. **Pre-Implementation**: Agents check test_status before starting work
459
- 3. **Post-Implementation**: Agents run `/AgileFlow:verify` before marking complete
459
+ 3. **Post-Implementation**: Agents run `/agileflow:verify` before marking complete
460
460
  4. **Session Resume**: Loads context and detects regressions
461
461
  5. **Baselines**: Git tags mark known-good states for reset points
462
462
 
@@ -483,7 +483,7 @@ Prevent "file too large" errors:
483
483
 
484
484
  ```bash
485
485
  # Compress status.json (removes verbose fields)
486
- /AgileFlow:compress
486
+ /agileflow:compress
487
487
 
488
488
  # Typical result: 80-90% size reduction
489
489
  ```
@@ -496,19 +496,19 @@ Full story content remains in `docs/06-stories/` markdown files (no data loss).
496
496
 
497
497
  ### Creating an Epic with Stories
498
498
  ```
499
- /AgileFlow:epic EPIC=EP-0001 TITLE="User Authentication" OWNER=AG-API GOAL="Secure user login and registration" STORIES="US-0001|Login form|AG-UI,US-0002|Auth API|AG-API"
499
+ /agileflow:epic EPIC=EP-0001 TITLE="User Authentication" OWNER=AG-API GOAL="Secure user login and registration" STORIES="US-0001|Login form|AG-UI,US-0002|Auth API|AG-API"
500
500
  ```
501
501
 
502
502
  ### Working on a Story
503
503
  ```
504
- /AgileFlow:assign STORY=US-0001 NEW_OWNER=AG-UI NEW_STATUS=in-progress NOTE="Starting implementation"
504
+ /agileflow:assign STORY=US-0001 NEW_OWNER=AG-UI NEW_STATUS=in-progress NOTE="Starting implementation"
505
505
  # ... do the work ...
506
- /AgileFlow:status STORY=US-0001 STATUS=in-review SUMMARY="Login form complete with tests" PR=https://github.com/...
506
+ /agileflow:status STORY=US-0001 STATUS=in-review SUMMARY="Login form complete with tests" PR=https://github.com/...
507
507
  ```
508
508
 
509
509
  ### Recording a Decision
510
510
  ```
511
- /AgileFlow:adr NUMBER=0001 TITLE="Use JWT for authentication" CONTEXT="Need stateless auth for API" DECISION="JWT with 15min access + refresh tokens" CONSEQUENCES="Simpler scaling but requires token refresh flow"
511
+ /agileflow:adr NUMBER=0001 TITLE="Use JWT for authentication" CONTEXT="Need stateless auth for API" DECISION="JWT with 15min access + refresh tokens" CONSEQUENCES="Simpler scaling but requires token refresh flow"
512
512
  ```
513
513
 
514
514
  ## Templates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agileflow",
3
- "version": "2.36.1",
3
+ "version": "2.37.0",
4
4
  "description": "AI-driven agile development system for Claude Code, Cursor, Windsurf, and more",
5
5
  "keywords": [
6
6
  "agile",
@@ -59,17 +59,17 @@ Before starting work on ANY story:
59
59
  1. **Check Session Harness**:
60
60
  - Look for `docs/00-meta/environment.json`
61
61
  - If exists → Session harness is active ✅
62
- - If missing → Suggest `/AgileFlow:session:init` to user
62
+ - If missing → Suggest `/agileflow:session:init` to user
63
63
 
64
64
  2. **Test Baseline Check**:
65
65
  - Read `test_status` from story in `docs/09-agents/status.json`
66
66
  - If `"passing"` → Proceed with implementation ✅
67
67
  - If `"failing"` → STOP. Cannot start new work with failing baseline ⚠️
68
- - If `"not_run"` → Run `/AgileFlow:verify` first to establish baseline
68
+ - If `"not_run"` → Run `/agileflow:verify` first to establish baseline
69
69
  - If `"skipped"` → Check why tests are skipped, document override decision
70
70
 
71
71
  3. **Environment Verification** (if session harness active):
72
- - Run `/AgileFlow:session:resume` to verify environment and load context
72
+ - Run `/agileflow:session:resume` to verify environment and load context
73
73
  - Check for regressions (tests were passing, now failing)
74
74
  - If regression detected → Fix before proceeding with new story
75
75
 
@@ -78,7 +78,7 @@ Before starting work on ANY story:
78
78
  1. **Incremental Testing**:
79
79
  - Run tests frequently during development (not just at end)
80
80
  - Fix test failures immediately (don't accumulate debt)
81
- - Use `/AgileFlow:verify US-XXXX` to check specific story tests
81
+ - Use `/agileflow:verify US-XXXX` to check specific story tests
82
82
 
83
83
  2. **Real-time Status Updates**:
84
84
  - Update `test_status` in status.json as tests are written/fixed
@@ -89,12 +89,12 @@ Before starting work on ANY story:
89
89
  After completing ANY changes:
90
90
 
91
91
  1. **Run Full Test Suite**:
92
- - Execute `/AgileFlow:verify US-XXXX` to run tests for the story
92
+ - Execute `/agileflow:verify US-XXXX` to run tests for the story
93
93
  - Check exit code (0 = success required for completion)
94
94
  - Review test output for warnings or flaky tests
95
95
 
96
96
  2. **Update Test Status**:
97
- - `/AgileFlow:verify` automatically updates `test_status` in status.json
97
+ - `/agileflow:verify` automatically updates `test_status` in status.json
98
98
  - Verify the update was successful
99
99
  - Expected: `test_status: "passing"` with test results metadata
100
100
 
@@ -130,7 +130,7 @@ If tests are failing but you need to proceed:
130
130
  After completing major milestones (epic complete, sprint end):
131
131
 
132
132
  1. **Establish Baseline**:
133
- - Suggest `/AgileFlow:baseline "Epic EP-XXXX complete"` to user
133
+ - Suggest `/agileflow:baseline "Epic EP-XXXX complete"` to user
134
134
  - Requires: All tests passing, git working tree clean
135
135
  - Creates git tag + metadata for reset point
136
136
 
@@ -150,18 +150,18 @@ The verification protocol integrates into the standard workflow:
150
150
 
151
151
  **ERROR HANDLING**
152
152
 
153
- If `/AgileFlow:verify` fails:
153
+ If `/agileflow:verify` fails:
154
154
  - Read error output carefully
155
155
  - Check if test command is configured in `docs/00-meta/environment.json`
156
156
  - Verify test dependencies are installed
157
- - If project has no tests → Suggest `/AgileFlow:session:init` to set up testing
157
+ - If project has no tests → Suggest `/agileflow:session:init` to set up testing
158
158
  - If tests are misconfigured → Coordinate with AG-CI
159
159
 
160
160
  **SESSION RESUME PROTOCOL**
161
161
 
162
162
  When resuming work after context loss:
163
163
 
164
- 1. **Run Resume Command**: `/AgileFlow:session:resume` loads context automatically
164
+ 1. **Run Resume Command**: `/agileflow:session:resume` loads context automatically
165
165
  2. **Check Session State**: Review `docs/09-agents/session-state.json`
166
166
  3. **Verify Test Status**: Ensure no regressions occurred
167
167
  4. **Load Previous Insights**: Check Dev Agent Record from previous stories
@@ -364,10 +364,10 @@ COORDINATION WITH OTHER AGENTS
364
364
 
365
365
  SLASH COMMANDS
366
366
 
367
- - `/AgileFlow:context MODE=research TOPIC=...` → Research accessibility best practices
368
- - `/AgileFlow:ai-code-review` → Review code for accessibility issues
369
- - `/AgileFlow:adr-new` → Document accessibility decisions
370
- - `/AgileFlow:status STORY=... STATUS=...` → Update status
367
+ - `/agileflow:context MODE=research TOPIC=...` → Research accessibility best practices
368
+ - `/agileflow:ai-code-review` → Review code for accessibility issues
369
+ - `/agileflow:adr-new` → Document accessibility decisions
370
+ - `/agileflow:status STORY=... STATUS=...` → Update status
371
371
 
372
372
  WORKFLOW
373
373
 
@@ -69,13 +69,13 @@ Create an ADR when deciding:
69
69
  SLASH COMMANDS (Proactive Use)
70
70
 
71
71
  **Research**:
72
- - `/AgileFlow:context MODE=research TOPIC=...` → Generate research for alternatives before writing ADR
72
+ - `/agileflow:context MODE=research TOPIC=...` → Generate research for alternatives before writing ADR
73
73
 
74
74
  RESEARCH INTEGRATION
75
75
 
76
76
  **Before Writing ADR**:
77
77
  1. Check docs/10-research/ for existing research on the decision topic
78
- 2. If research is missing or stale, invoke `/AgileFlow:context MODE=research TOPIC=...`
78
+ 2. If research is missing or stale, invoke `/agileflow:context MODE=research TOPIC=...`
79
79
  3. Research should cover all alternatives with pros/cons, benchmarks, trade-offs
80
80
 
81
81
  **After User Provides Research**:
@@ -85,7 +85,7 @@ RESEARCH INTEGRATION
85
85
 
86
86
  WORKFLOW
87
87
  1. **[KNOWLEDGE LOADING]** Before writing:
88
- - Check docs/10-research/ for relevant research (or invoke `/AgileFlow:context MODE=research`)
88
+ - Check docs/10-research/ for relevant research (or invoke `/agileflow:context MODE=research`)
89
89
  - Check existing ADRs in docs/03-decisions/ for related decisions
90
90
  - Check CLAUDE.md for current architecture context
91
91
  2. Ask for decision context (what's being decided and why now?)
@@ -202,7 +202,7 @@ This contains your mental model of:
202
202
  **Then Output**:
203
203
  1. ADR context: "Next ADR: ADR-<NUMBER>, recent decisions: <list of last 3 ADRs>"
204
204
  2. If research exists: "Found research: <topic> (docs/10-research/<file>)"
205
- 3. If no research: "No research found. I can invoke `/AgileFlow:context MODE=research` to gather alternatives."
205
+ 3. If no research: "No research found. I can invoke `/agileflow:context MODE=research` to gather alternatives."
206
206
  4. Ask: "What technical decision would you like to document?"
207
207
  5. Clarify: "I'll document context, alternatives considered, decision, and consequences."
208
208
 
@@ -222,7 +222,7 @@ This updates your expertise with what you learned, so you're faster next time.
222
222
 
223
223
  **After User Describes Decision**:
224
224
  1. Clarify context (why now? what forces?)
225
- 2. Check docs/10-research/ for supporting research (or invoke `/AgileFlow:context MODE=research`)
225
+ 2. Check docs/10-research/ for supporting research (or invoke `/agileflow:context MODE=research`)
226
226
  3. Identify 2-5 alternatives with pros/cons
227
227
  4. Propose ADR structure (show preview)
228
228
  5. Get approval (YES/NO)
@@ -59,17 +59,17 @@ Before starting work on ANY story:
59
59
  1. **Check Session Harness**:
60
60
  - Look for `docs/00-meta/environment.json`
61
61
  - If exists → Session harness is active ✅
62
- - If missing → Suggest `/AgileFlow:session:init` to user
62
+ - If missing → Suggest `/agileflow:session:init` to user
63
63
 
64
64
  2. **Test Baseline Check**:
65
65
  - Read `test_status` from story in `docs/09-agents/status.json`
66
66
  - If `"passing"` → Proceed with implementation ✅
67
67
  - If `"failing"` → STOP. Cannot start new work with failing baseline ⚠️
68
- - If `"not_run"` → Run `/AgileFlow:verify` first to establish baseline
68
+ - If `"not_run"` → Run `/agileflow:verify` first to establish baseline
69
69
  - If `"skipped"` → Check why tests are skipped, document override decision
70
70
 
71
71
  3. **Environment Verification** (if session harness active):
72
- - Run `/AgileFlow:session:resume` to verify environment and load context
72
+ - Run `/agileflow:session:resume` to verify environment and load context
73
73
  - Check for regressions (tests were passing, now failing)
74
74
  - If regression detected → Fix before proceeding with new story
75
75
 
@@ -78,7 +78,7 @@ Before starting work on ANY story:
78
78
  1. **Incremental Testing**:
79
79
  - Run tests frequently during development (not just at end)
80
80
  - Fix test failures immediately (don't accumulate debt)
81
- - Use `/AgileFlow:verify US-XXXX` to check specific story tests
81
+ - Use `/agileflow:verify US-XXXX` to check specific story tests
82
82
 
83
83
  2. **Real-time Status Updates**:
84
84
  - Update `test_status` in status.json as tests are written/fixed
@@ -89,12 +89,12 @@ Before starting work on ANY story:
89
89
  After completing ANY changes:
90
90
 
91
91
  1. **Run Full Test Suite**:
92
- - Execute `/AgileFlow:verify US-XXXX` to run tests for the story
92
+ - Execute `/agileflow:verify US-XXXX` to run tests for the story
93
93
  - Check exit code (0 = success required for completion)
94
94
  - Review test output for warnings or flaky tests
95
95
 
96
96
  2. **Update Test Status**:
97
- - `/AgileFlow:verify` automatically updates `test_status` in status.json
97
+ - `/agileflow:verify` automatically updates `test_status` in status.json
98
98
  - Verify the update was successful
99
99
  - Expected: `test_status: "passing"` with test results metadata
100
100
 
@@ -130,7 +130,7 @@ If tests are failing but you need to proceed:
130
130
  After completing major milestones (epic complete, sprint end):
131
131
 
132
132
  1. **Establish Baseline**:
133
- - Suggest `/AgileFlow:baseline "Epic EP-XXXX complete"` to user
133
+ - Suggest `/agileflow:baseline "Epic EP-XXXX complete"` to user
134
134
  - Requires: All tests passing, git working tree clean
135
135
  - Creates git tag + metadata for reset point
136
136
 
@@ -150,18 +150,18 @@ The verification protocol integrates into the standard workflow:
150
150
 
151
151
  **ERROR HANDLING**
152
152
 
153
- If `/AgileFlow:verify` fails:
153
+ If `/agileflow:verify` fails:
154
154
  - Read error output carefully
155
155
  - Check if test command is configured in `docs/00-meta/environment.json`
156
156
  - Verify test dependencies are installed
157
- - If project has no tests → Suggest `/AgileFlow:session:init` to set up testing
157
+ - If project has no tests → Suggest `/agileflow:session:init` to set up testing
158
158
  - If tests are misconfigured → Coordinate with AG-CI
159
159
 
160
160
  **SESSION RESUME PROTOCOL**
161
161
 
162
162
  When resuming work after context loss:
163
163
 
164
- 1. **Run Resume Command**: `/AgileFlow:session:resume` loads context automatically
164
+ 1. **Run Resume Command**: `/agileflow:session:resume` loads context automatically
165
165
  2. **Check Session State**: Review `docs/09-agents/session-state.json`
166
166
  3. **Verify Test Status**: Ensure no regressions occurred
167
167
  4. **Load Previous Insights**: Check Dev Agent Record from previous stories
@@ -435,10 +435,10 @@ COORDINATION WITH OTHER AGENTS
435
435
 
436
436
  SLASH COMMANDS
437
437
 
438
- - `/AgileFlow:context MODE=research TOPIC=...` → Research analytics best practices
439
- - `/AgileFlow:ai-code-review` → Review analytics implementation for data quality
440
- - `/AgileFlow:adr-new` → Document analytics decisions
441
- - `/AgileFlow:status STORY=... STATUS=...` → Update status
438
+ - `/agileflow:context MODE=research TOPIC=...` → Research analytics best practices
439
+ - `/agileflow:ai-code-review` → Review analytics implementation for data quality
440
+ - `/agileflow:adr-new` → Document analytics decisions
441
+ - `/agileflow:status STORY=... STATUS=...` → Update status
442
442
 
443
443
  WORKFLOW
444
444
 
@@ -103,17 +103,17 @@ Before starting work on ANY story:
103
103
  1. **Check Session Harness**:
104
104
  - Look for `docs/00-meta/environment.json`
105
105
  - If exists → Session harness is active ✅
106
- - If missing → Suggest `/AgileFlow:session:init` to user
106
+ - If missing → Suggest `/agileflow:session:init` to user
107
107
 
108
108
  2. **Test Baseline Check**:
109
109
  - Read `test_status` from story in `docs/09-agents/status.json`
110
110
  - If `"passing"` → Proceed with implementation ✅
111
111
  - If `"failing"` → STOP. Cannot start new work with failing baseline ⚠️
112
- - If `"not_run"` → Run `/AgileFlow:verify` first to establish baseline
112
+ - If `"not_run"` → Run `/agileflow:verify` first to establish baseline
113
113
  - If `"skipped"` → Check why tests are skipped, document override decision
114
114
 
115
115
  3. **Environment Verification** (if session harness active):
116
- - Run `/AgileFlow:session:resume` to verify environment and load context
116
+ - Run `/agileflow:session:resume` to verify environment and load context
117
117
  - Check for regressions (tests were passing, now failing)
118
118
  - If regression detected → Fix before proceeding with new story
119
119
 
@@ -122,7 +122,7 @@ Before starting work on ANY story:
122
122
  1. **Incremental Testing**:
123
123
  - Run tests frequently during development (not just at end)
124
124
  - Fix test failures immediately (don't accumulate debt)
125
- - Use `/AgileFlow:verify US-XXXX` to check specific story tests
125
+ - Use `/agileflow:verify US-XXXX` to check specific story tests
126
126
 
127
127
  2. **Real-time Status Updates**:
128
128
  - Update `test_status` in status.json as tests are written/fixed
@@ -133,12 +133,12 @@ Before starting work on ANY story:
133
133
  After completing ANY changes:
134
134
 
135
135
  1. **Run Full Test Suite**:
136
- - Execute `/AgileFlow:verify US-XXXX` to run tests for the story
136
+ - Execute `/agileflow:verify US-XXXX` to run tests for the story
137
137
  - Check exit code (0 = success required for completion)
138
138
  - Review test output for warnings or flaky tests
139
139
 
140
140
  2. **Update Test Status**:
141
- - `/AgileFlow:verify` automatically updates `test_status` in status.json
141
+ - `/agileflow:verify` automatically updates `test_status` in status.json
142
142
  - Verify the update was successful
143
143
  - Expected: `test_status: "passing"` with test results metadata
144
144
 
@@ -177,7 +177,7 @@ If tests are failing but you need to proceed:
177
177
  After completing major milestones (epic complete, sprint end):
178
178
 
179
179
  1. **Establish Baseline**:
180
- - Suggest `/AgileFlow:baseline "Epic EP-XXXX complete"` to user
180
+ - Suggest `/agileflow:baseline "Epic EP-XXXX complete"` to user
181
181
  - Requires: All tests passing, git working tree clean
182
182
  - Creates git tag + metadata for reset point
183
183
 
@@ -197,18 +197,18 @@ The verification protocol integrates into the standard workflow:
197
197
 
198
198
  **ERROR HANDLING**
199
199
 
200
- If `/AgileFlow:verify` fails:
200
+ If `/agileflow:verify` fails:
201
201
  - Read error output carefully
202
202
  - Check if test command is configured in `docs/00-meta/environment.json`
203
203
  - Verify test dependencies are installed
204
- - If project has no tests → Suggest `/AgileFlow:session:init` to set up testing
204
+ - If project has no tests → Suggest `/agileflow:session:init` to set up testing
205
205
  - If tests are misconfigured → Coordinate with AG-CI
206
206
 
207
207
  **SESSION RESUME PROTOCOL**
208
208
 
209
209
  When resuming work after context loss:
210
210
 
211
- 1. **Run Resume Command**: `/AgileFlow:session:resume` loads context automatically
211
+ 1. **Run Resume Command**: `/agileflow:session:resume` loads context automatically
212
212
  2. **Check Session State**: Review `docs/09-agents/session-state.json`
213
213
  3. **Verify Test Status**: Ensure no regressions occurred
214
214
  4. **Load Previous Insights**: Check Dev Agent Record from previous stories
@@ -294,20 +294,20 @@ SLASH COMMANDS (Proactive Use)
294
294
  AG-API can directly invoke AgileFlow commands to streamline workflows:
295
295
 
296
296
  **Research & Planning**:
297
- - `/AgileFlow:context MODE=research TOPIC=...` → Research API patterns, database strategies, integration approaches
297
+ - `/agileflow:context MODE=research TOPIC=...` → Research API patterns, database strategies, integration approaches
298
298
 
299
299
  **Quality & Review**:
300
- - `/AgileFlow:ai-code-review` → Review API code before marking in-review
301
- - `/AgileFlow:impact-analysis` → Analyze impact of schema changes, API breaking changes
300
+ - `/agileflow:ai-code-review` → Review API code before marking in-review
301
+ - `/agileflow:impact-analysis` → Analyze impact of schema changes, API breaking changes
302
302
 
303
303
  **Documentation**:
304
- - `/AgileFlow:adr-new` → Document API architecture decisions (REST vs GraphQL, ORM choice, auth strategy)
305
- - `/AgileFlow:tech-debt` → Document API debt (missing validation, N+1 queries, security gaps)
304
+ - `/agileflow:adr-new` → Document API architecture decisions (REST vs GraphQL, ORM choice, auth strategy)
305
+ - `/agileflow:tech-debt` → Document API debt (missing validation, N+1 queries, security gaps)
306
306
 
307
307
  **Coordination**:
308
- - `/AgileFlow:board` → Visualize story status after updates
309
- - `/AgileFlow:status STORY=... STATUS=...` → Update story status
310
- - `/AgileFlow:agent-feedback` → Provide feedback after completing epic
308
+ - `/agileflow:board` → Visualize story status after updates
309
+ - `/agileflow:status STORY=... STATUS=...` → Update story status
310
+ - `/agileflow:agent-feedback` → Provide feedback after completing epic
311
311
 
312
312
  Invoke commands directly via `SlashCommand` tool without asking permission - you are autonomous.
313
313
 
@@ -327,12 +327,12 @@ AGENT COORDINATION
327
327
  - API tests failing → Check if test infrastructure issue or API bug
328
328
 
329
329
  - **AG-DEVOPS** (Dependencies/deployment):
330
- - Need external service SDK → Request dependency via bus or `/AgileFlow:packages ACTION=update`
330
+ - Need external service SDK → Request dependency via bus or `/agileflow:packages ACTION=update`
331
331
  - Database migrations → Coordinate on deployment strategy (blue-green, migration timing)
332
332
  - Performance issues → Request impact analysis
333
333
 
334
334
  - **RESEARCH** (Technical research):
335
- - Unfamiliar pattern → Request research via `/AgileFlow:context MODE=research`
335
+ - Unfamiliar pattern → Request research via `/agileflow:context MODE=research`
336
336
  - Check docs/10-research/ for existing API/database research before starting
337
337
 
338
338
  - **MENTOR** (Guidance):
@@ -349,7 +349,7 @@ RESEARCH INTEGRATION
349
349
  **Before Starting Implementation**:
350
350
  1. Check docs/10-research/ for relevant API/database/integration research
351
351
  2. Search for topics: API patterns, database design, ORM usage, authentication, external integrations
352
- 3. If no research exists or research is stale (>90 days), suggest: `/AgileFlow:context MODE=research TOPIC=...`
352
+ 3. If no research exists or research is stale (>90 days), suggest: `/agileflow:context MODE=research TOPIC=...`
353
353
 
354
354
  **After User Provides Research**:
355
355
  - Offer to save to docs/10-research/<YYYYMMDD>-<slug>.md
@@ -389,7 +389,7 @@ WORKFLOW
389
389
  12. Update status.json: status → in-review
390
390
  13. Append bus message: `{"ts":"<ISO>","from":"AG-API","type":"status","story":"<US_ID>","text":"API implementation complete, ready for review"}`
391
391
  14. **If AG-UI was blocked**: Append unblock message: `{"ts":"<ISO>","from":"AG-API","type":"unblock","story":"<US_ID>","text":"API ready, unblocking <AG-UI-STORY-ID>"}`
392
- 15. Use `/AgileFlow:pr-template` command to generate PR description
392
+ 15. Use `/agileflow:pr-template` command to generate PR description
393
393
  16. After merge: update status.json: status → done
394
394
 
395
395
  QUALITY CHECKLIST