agileflow 2.94.0 → 2.95.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/CHANGELOG.md +20 -0
- package/README.md +6 -6
- package/lib/colors.generated.js +117 -0
- package/lib/colors.js +59 -109
- package/lib/generator-factory.js +333 -0
- package/lib/path-utils.js +49 -0
- package/lib/session-registry.js +25 -15
- package/lib/smart-json-file.js +40 -32
- package/lib/state-machine.js +286 -0
- package/package.json +1 -1
- package/scripts/agileflow-configure.js +7 -6
- package/scripts/archive-completed-stories.sh +86 -11
- package/scripts/babysit-context-restore.js +89 -0
- package/scripts/claude-tmux.sh +186 -7
- package/scripts/damage-control/bash-tool-damage-control.js +11 -247
- package/scripts/damage-control/edit-tool-damage-control.js +9 -249
- package/scripts/damage-control/write-tool-damage-control.js +9 -244
- package/scripts/generate-colors.js +314 -0
- package/scripts/lib/colors.generated.sh +82 -0
- package/scripts/lib/colors.sh +10 -70
- package/scripts/lib/configure-features.js +401 -0
- package/scripts/lib/context-loader.js +181 -52
- package/scripts/precompact-context.sh +54 -17
- package/scripts/session-coordinator.sh +2 -2
- package/scripts/session-manager.js +677 -11
- package/src/core/agents/council-advocate.md +202 -0
- package/src/core/agents/council-analyst.md +248 -0
- package/src/core/agents/council-optimist.md +166 -0
- package/src/core/commands/audit.md +93 -0
- package/src/core/commands/auto.md +73 -0
- package/src/core/commands/babysit.md +169 -13
- package/src/core/commands/baseline.md +73 -0
- package/src/core/commands/batch.md +64 -0
- package/src/core/commands/blockers.md +60 -0
- package/src/core/commands/board.md +66 -0
- package/src/core/commands/choose.md +77 -0
- package/src/core/commands/ci.md +77 -0
- package/src/core/commands/compress.md +27 -1
- package/src/core/commands/configure.md +126 -10
- package/src/core/commands/council.md +591 -0
- package/src/core/commands/debt.md +72 -0
- package/src/core/commands/deploy.md +73 -0
- package/src/core/commands/deps.md +68 -0
- package/src/core/commands/docs.md +60 -0
- package/src/core/commands/feedback.md +68 -0
- package/src/core/commands/help.md +189 -3
- package/src/core/commands/ideate.md +219 -20
- package/src/core/commands/impact.md +74 -0
- package/src/core/commands/install.md +529 -0
- package/src/core/commands/maintain.md +558 -0
- package/src/core/commands/metrics.md +75 -0
- package/src/core/commands/multi-expert.md +74 -0
- package/src/core/commands/packages.md +69 -0
- package/src/core/commands/readme-sync.md +64 -0
- package/src/core/commands/research/analyze.md +285 -121
- package/src/core/commands/research/import.md +281 -109
- package/src/core/commands/retro.md +76 -0
- package/src/core/commands/review.md +72 -0
- package/src/core/commands/rlm.md +83 -0
- package/src/core/commands/rpi.md +90 -0
- package/src/core/commands/session/cleanup.md +214 -12
- package/src/core/commands/session/end.md +229 -17
- package/src/core/commands/sprint.md +72 -0
- package/src/core/commands/story-validate.md +68 -0
- package/src/core/commands/template.md +69 -0
- package/src/core/commands/tests.md +83 -0
- package/src/core/commands/update.md +59 -0
- package/src/core/commands/validate-expertise.md +76 -0
- package/src/core/commands/velocity.md +74 -0
- package/src/core/commands/verify.md +91 -0
- package/src/core/commands/whats-new.md +69 -0
- package/src/core/commands/workflow.md +88 -0
- package/src/core/council/sessions/.gitkeep +0 -0
- package/src/core/council/shared_reasoning.template.md +106 -0
- package/src/core/templates/command-documentation.md +187 -0
- package/tools/cli/commands/session.js +1171 -0
- package/tools/cli/commands/setup.js +2 -81
- package/tools/cli/installers/core/installer.js +0 -5
- package/tools/cli/installers/ide/claude-code.js +6 -0
- package/tools/cli/lib/config-manager.js +42 -5
|
@@ -781,6 +781,79 @@ OUTPUT
|
|
|
781
781
|
|
|
782
782
|
---
|
|
783
783
|
|
|
784
|
+
## Expected Output
|
|
785
|
+
|
|
786
|
+
### Success - Deployment Configured
|
|
787
|
+
|
|
788
|
+
```
|
|
789
|
+
🚀 Deployment Setup
|
|
790
|
+
══════════════════════════════════════════════════════════════
|
|
791
|
+
|
|
792
|
+
Analyzing project...
|
|
793
|
+
✓ Detected: Next.js application
|
|
794
|
+
✓ Package manager: npm
|
|
795
|
+
✓ Build command: npm run build
|
|
796
|
+
✓ Output: .next/
|
|
797
|
+
|
|
798
|
+
Platform Recommendation: Vercel (optimal for Next.js)
|
|
799
|
+
|
|
800
|
+
Creating configuration...
|
|
801
|
+
✓ Created vercel.json
|
|
802
|
+
✓ Created .github/workflows/deploy.yml
|
|
803
|
+
✓ Updated package.json scripts
|
|
804
|
+
|
|
805
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
806
|
+
✅ Deployment Setup Complete
|
|
807
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
808
|
+
|
|
809
|
+
Next steps:
|
|
810
|
+
1. Connect GitHub repo to Vercel dashboard
|
|
811
|
+
2. Set environment variables in Vercel
|
|
812
|
+
3. Push to trigger first deployment
|
|
813
|
+
|
|
814
|
+
Environments:
|
|
815
|
+
- Preview: Automatic on PR
|
|
816
|
+
- Production: On merge to main
|
|
817
|
+
|
|
818
|
+
Rollback: vercel rollback <deployment-id>
|
|
819
|
+
```
|
|
820
|
+
|
|
821
|
+
### Success - Multi-Environment
|
|
822
|
+
|
|
823
|
+
```
|
|
824
|
+
🚀 Deployment Setup (Multi-Environment)
|
|
825
|
+
══════════════════════════════════════════════════════════════
|
|
826
|
+
|
|
827
|
+
Environments configured:
|
|
828
|
+
┌─────────────┬─────────────────────┬──────────────────┐
|
|
829
|
+
│ Environment │ URL │ Trigger │
|
|
830
|
+
├─────────────┼─────────────────────┼──────────────────┤
|
|
831
|
+
│ Development │ dev.example.com │ Push to dev/* │
|
|
832
|
+
│ Staging │ staging.example.com │ Push to staging │
|
|
833
|
+
│ Production │ example.com │ Push to main │
|
|
834
|
+
└─────────────┴─────────────────────┴──────────────────┘
|
|
835
|
+
|
|
836
|
+
✓ All environments configured
|
|
837
|
+
```
|
|
838
|
+
|
|
839
|
+
### Error - Unsupported Project
|
|
840
|
+
|
|
841
|
+
```
|
|
842
|
+
❌ Error: Could not detect project type
|
|
843
|
+
|
|
844
|
+
No supported framework found. Supported:
|
|
845
|
+
- Next.js
|
|
846
|
+
- Remix
|
|
847
|
+
- Vite
|
|
848
|
+
- Create React App
|
|
849
|
+
- Node.js API
|
|
850
|
+
|
|
851
|
+
Specify manually:
|
|
852
|
+
/agileflow:deploy TYPE=nodejs PLATFORM=railway
|
|
853
|
+
```
|
|
854
|
+
|
|
855
|
+
---
|
|
856
|
+
|
|
784
857
|
## Related Commands
|
|
785
858
|
|
|
786
859
|
- `/agileflow:configure` - Manage AgileFlow features and hooks
|
|
@@ -651,6 +651,74 @@ OUTPUT
|
|
|
651
651
|
|
|
652
652
|
---
|
|
653
653
|
|
|
654
|
+
## Expected Output
|
|
655
|
+
|
|
656
|
+
### Success - Dependency Graph
|
|
657
|
+
|
|
658
|
+
```
|
|
659
|
+
📊 Dependency Analysis: EP-0026
|
|
660
|
+
══════════════════════════════════════════════════════════════
|
|
661
|
+
|
|
662
|
+
Story Dependency Graph:
|
|
663
|
+
|
|
664
|
+
US-0050 (User registration)
|
|
665
|
+
↓
|
|
666
|
+
US-0051 (User login) ←──────┐
|
|
667
|
+
↓ │
|
|
668
|
+
US-0053 (OAuth Google) ─────┤
|
|
669
|
+
↓ │
|
|
670
|
+
US-0056 (Session mgmt) ─────┘
|
|
671
|
+
↓
|
|
672
|
+
US-0057 (Dashboard)
|
|
673
|
+
|
|
674
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
675
|
+
|
|
676
|
+
🎯 Critical Path:
|
|
677
|
+
US-0050 → US-0051 → US-0053 → US-0056 → US-0057
|
|
678
|
+
Duration: 6.5 days
|
|
679
|
+
|
|
680
|
+
⚡ Parallel Opportunities:
|
|
681
|
+
- US-0054 (OAuth GitHub) can run parallel to US-0053
|
|
682
|
+
- US-0055 (Rate limiting) has no dependencies
|
|
683
|
+
|
|
684
|
+
⚠️ Bottleneck: US-0051 (blocks 3 stories)
|
|
685
|
+
Consider: Add second developer or reduce scope
|
|
686
|
+
```
|
|
687
|
+
|
|
688
|
+
### Success - Circular Dependency Warning
|
|
689
|
+
|
|
690
|
+
```
|
|
691
|
+
📊 Dependency Analysis
|
|
692
|
+
══════════════════════════════════════════════════════════════
|
|
693
|
+
|
|
694
|
+
⚠️ CIRCULAR DEPENDENCY DETECTED:
|
|
695
|
+
|
|
696
|
+
US-0060 → US-0061 → US-0062 → US-0060
|
|
697
|
+
|
|
698
|
+
This creates a deadlock. Suggested fix:
|
|
699
|
+
1. Remove dependency: US-0062 → US-0060
|
|
700
|
+
2. Or split US-0060 into two stories
|
|
701
|
+
|
|
702
|
+
Show resolution options? [Y/n]
|
|
703
|
+
```
|
|
704
|
+
|
|
705
|
+
### Error - No Dependencies Defined
|
|
706
|
+
|
|
707
|
+
```
|
|
708
|
+
⚠️ No story dependencies found in EP-0026
|
|
709
|
+
|
|
710
|
+
Stories exist but no depends_on defined.
|
|
711
|
+
|
|
712
|
+
Add dependencies:
|
|
713
|
+
/agileflow:story:view US-0050
|
|
714
|
+
# Then edit to add depends_on: ["US-0049"]
|
|
715
|
+
|
|
716
|
+
Or visualize by owner:
|
|
717
|
+
/agileflow:deps VIEW=by-owner
|
|
718
|
+
```
|
|
719
|
+
|
|
720
|
+
---
|
|
721
|
+
|
|
654
722
|
## Related Commands
|
|
655
723
|
|
|
656
724
|
- `/agileflow:blockers` - Track blockers
|
|
@@ -399,6 +399,66 @@ OUTPUT
|
|
|
399
399
|
|
|
400
400
|
---
|
|
401
401
|
|
|
402
|
+
## Expected Output
|
|
403
|
+
|
|
404
|
+
### Success - Gap Analysis
|
|
405
|
+
|
|
406
|
+
```
|
|
407
|
+
📚 Documentation Gap Analysis
|
|
408
|
+
══════════════════════════════════════════════════════════════
|
|
409
|
+
|
|
410
|
+
Scanning codebase...
|
|
411
|
+
✓ Found 45 exported functions
|
|
412
|
+
✓ Found 12 API endpoints
|
|
413
|
+
✓ Found 8 React components
|
|
414
|
+
|
|
415
|
+
📊 Coverage Report:
|
|
416
|
+
┌────────────────────┬────────────┬────────────┬───────────┐
|
|
417
|
+
│ Category │ Documented │ Total │ Coverage │
|
|
418
|
+
├────────────────────┼────────────┼────────────┼───────────┤
|
|
419
|
+
│ API Endpoints │ 10 │ 12 │ 83% 🟡 │
|
|
420
|
+
│ Public Functions │ 38 │ 45 │ 84% 🟡 │
|
|
421
|
+
│ React Components │ 8 │ 8 │ 100% 🟢 │
|
|
422
|
+
│ README files │ 5 │ 8 │ 63% 🔴 │
|
|
423
|
+
└────────────────────┴────────────┴────────────┴───────────┘
|
|
424
|
+
|
|
425
|
+
🔴 Missing Documentation:
|
|
426
|
+
1. POST /api/orders/bulk - No JSDoc or OpenAPI spec
|
|
427
|
+
2. POST /api/webhooks/stripe - No JSDoc or OpenAPI spec
|
|
428
|
+
3. docs/06-stories/README.md - Folder missing README
|
|
429
|
+
4. docs/07-testing/README.md - Folder missing README
|
|
430
|
+
|
|
431
|
+
Generate missing docs? [Y/n]
|
|
432
|
+
```
|
|
433
|
+
|
|
434
|
+
### Success - Docs Updated
|
|
435
|
+
|
|
436
|
+
```
|
|
437
|
+
📚 Documentation Update
|
|
438
|
+
══════════════════════════════════════════════════════════════
|
|
439
|
+
|
|
440
|
+
✓ Updated docs/api/orders.md (added bulk endpoint)
|
|
441
|
+
✓ Created docs/06-stories/README.md
|
|
442
|
+
✓ Created docs/07-testing/README.md
|
|
443
|
+
✓ Regenerated docs/api/openapi.yaml
|
|
444
|
+
|
|
445
|
+
4 files updated.
|
|
446
|
+
Coverage: 63% → 88% (+25%)
|
|
447
|
+
```
|
|
448
|
+
|
|
449
|
+
### Error - Source Not Found
|
|
450
|
+
|
|
451
|
+
```
|
|
452
|
+
❌ Error: Source directory not found
|
|
453
|
+
|
|
454
|
+
Path: src/api/
|
|
455
|
+
|
|
456
|
+
Please verify project structure or specify source:
|
|
457
|
+
/agileflow:docs SOURCE=lib/
|
|
458
|
+
```
|
|
459
|
+
|
|
460
|
+
---
|
|
461
|
+
|
|
402
462
|
## Related Commands
|
|
403
463
|
|
|
404
464
|
- `/agileflow:readme-sync` - Sync folder README with contents
|
|
@@ -525,6 +525,74 @@ OUTPUT
|
|
|
525
525
|
|
|
526
526
|
---
|
|
527
527
|
|
|
528
|
+
## Expected Output
|
|
529
|
+
|
|
530
|
+
### Success - Feedback Collected
|
|
531
|
+
|
|
532
|
+
```
|
|
533
|
+
📝 Feedback Collection
|
|
534
|
+
══════════════════════════════════════════════════════════════
|
|
535
|
+
|
|
536
|
+
Session: Sprint 12 Review
|
|
537
|
+
Agent: AG-API
|
|
538
|
+
|
|
539
|
+
Questions:
|
|
540
|
+
1. What went well this sprint?
|
|
541
|
+
> "Testing workflow improvements saved significant time"
|
|
542
|
+
|
|
543
|
+
2. What could be improved?
|
|
544
|
+
> "Better documentation for new patterns"
|
|
545
|
+
|
|
546
|
+
3. Any blockers or concerns?
|
|
547
|
+
> "None currently"
|
|
548
|
+
|
|
549
|
+
4. Rate sprint (1-5): ⭐⭐⭐⭐☆ (4/5)
|
|
550
|
+
|
|
551
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
552
|
+
✅ Feedback Saved
|
|
553
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
554
|
+
|
|
555
|
+
Saved to: docs/09-agents/feedback/sprint-12-AG-API.md
|
|
556
|
+
|
|
557
|
+
Create improvement story for documentation? [Y/n]
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
### Success - Team Summary
|
|
561
|
+
|
|
562
|
+
```
|
|
563
|
+
📝 Sprint 12 Feedback Summary
|
|
564
|
+
══════════════════════════════════════════════════════════════
|
|
565
|
+
|
|
566
|
+
Responses: 5/6 agents (83%)
|
|
567
|
+
Average Rating: 4.2/5
|
|
568
|
+
|
|
569
|
+
🟢 Top Wins:
|
|
570
|
+
- Testing workflow improvements (3 mentions)
|
|
571
|
+
- Clear acceptance criteria (2 mentions)
|
|
572
|
+
- Good collaboration on US-0050
|
|
573
|
+
|
|
574
|
+
🟡 Areas for Improvement:
|
|
575
|
+
- Documentation for new patterns (3 mentions)
|
|
576
|
+
- Earlier blocker detection (2 mentions)
|
|
577
|
+
|
|
578
|
+
📊 Sentiment: Positive
|
|
579
|
+
Trend: ↑ from 3.8 last sprint
|
|
580
|
+
```
|
|
581
|
+
|
|
582
|
+
### Error - No Active Sprint
|
|
583
|
+
|
|
584
|
+
```
|
|
585
|
+
❌ Error: No active sprint found
|
|
586
|
+
|
|
587
|
+
Start a sprint first:
|
|
588
|
+
/agileflow:sprint ACTION=start
|
|
589
|
+
|
|
590
|
+
Or provide sprint manually:
|
|
591
|
+
/agileflow:feedback SPRINT=12
|
|
592
|
+
```
|
|
593
|
+
|
|
594
|
+
---
|
|
595
|
+
|
|
528
596
|
## Related Commands
|
|
529
597
|
|
|
530
598
|
- `/agileflow:retro` - Sprint retrospective
|
|
@@ -8,7 +8,69 @@ compact_context:
|
|
|
8
8
|
- "ACTIVE COMMAND: /agileflow:help - System guide (display-only, no file writes)"
|
|
9
9
|
- "MUST output markdown (never writes files)"
|
|
10
10
|
- "MUST show folder map, concepts, daily workflow, all commands"
|
|
11
|
-
- "Include dynamic injection:
|
|
11
|
+
- "Include dynamic injection: Available commands (61 total):
|
|
12
|
+
- `/agileflow:adr NUMBER=<number> TITLE=<text> CONTEXT=<text> DECISION=<text> CONSEQUENCES=<text> \[LINKS=<text>\]` - Create an Architecture Decision Record
|
|
13
|
+
- `/agileflow:adr-list` - List all Architecture Decision Records
|
|
14
|
+
- `/agileflow:adr-update NUMBER=<number> \[STATUS=<status>\] \[REASON=<text>\]` - Update ADR status or content
|
|
15
|
+
- `/agileflow:adr-view NUMBER=<number>` - View ADR details with contextual actions
|
|
16
|
+
- `/agileflow:agent AGENT\_ID=<id> ROLE=<text> \[TOOLS=<list>\] \[SCOPE=<list>\]` - Onboard a new agent with profile and contract
|
|
17
|
+
- `/agileflow:assign STORY=<US\-ID> NEW\_OWNER=<id> \[NEW\_STATUS=<status>\] \[NOTE=<text>\]` - Assign or reassign a story to an owner
|
|
18
|
+
- `/agileflow:audit STORY=<US\-ID>` - Audit story completion \- tests \+ acceptance criteria verification \(GSD pattern\)
|
|
19
|
+
- `/agileflow:auto SOURCE=<path\|url> \[EPIC=<EP\-ID>\] \[OWNER=<id>\] \[AUTO\_CREATE=true\|false\]` - Auto\-generate stories from PRDs, mockups, or specs
|
|
20
|
+
- `/agileflow:baseline` - Mark current state as verified baseline
|
|
21
|
+
- `/agileflow:batch <operation> <pattern> \[<action>\]` - Process multiple items with functional patterns \(map/pmap/filter/reduce\)
|
|
22
|
+
- `/agileflow:changelog \(no arguments\)` - Auto\-generate changelog from commit history
|
|
23
|
+
- `/agileflow:choose <decision> \[<context>\]` - AI\-directed decision making with structured options
|
|
24
|
+
- `/agileflow:ci \(no arguments\)` - Bootstrap CI/CD workflow with testing and quality checks
|
|
25
|
+
- `/agileflow:council <question> \[--mode parallel\|debate\] \[--rounds N\]` - Convene AI Council for strategic decisions with three perspectives \(Optimist, Advocate, Analyst\)
|
|
26
|
+
- `/agileflow:compress \(no arguments\)` - Compress status\.json by removing verbose fields and keeping only tracking metadata
|
|
27
|
+
- `/agileflow:context-export \(no arguments\)` - Export concise context excerpt for web AI tools
|
|
28
|
+
- `/agileflow:context-full \(no arguments\)` - Generate/refresh full context brief for web AI tools
|
|
29
|
+
- `/agileflow:context-note NOTE=<text>` - Add timestamped note to context file
|
|
30
|
+
- `/agileflow:debt \(no arguments\)` - Track and prioritize technical debt items
|
|
31
|
+
- `/agileflow:deploy \(no arguments\)` - Set up automated deployment pipeline
|
|
32
|
+
- `/agileflow:diagnose \(no arguments\)` - System health diagnostics
|
|
33
|
+
- `/agileflow:epic EPIC=<EP\-ID> TITLE=<text> OWNER=<id> GOAL=<text> \[STORIES=<list>\] \[RESEARCH=<file>\]` - Create a new epic with stories
|
|
34
|
+
- `/agileflow:epic-list` - List all epics with status and progress
|
|
35
|
+
- `/agileflow:epic-view EPIC=<EP\-ID>` - View epic details with stories and contextual actions
|
|
36
|
+
- `/agileflow:feedback \(no arguments\)` - Collect and process agent feedback
|
|
37
|
+
- `/agileflow:handoff STORY=<US\-ID> FROM=<id> TO=<id> \[SUMMARY=<text>\] \[BLOCKERS=<list>\]` - Document work handoff between agents
|
|
38
|
+
- `/agileflow:help \(no arguments\)` - Display AgileFlow system overview and commands
|
|
39
|
+
- `/agileflow:multi-expert <question>` - Deploy multiple domain experts on the same problem for higher confidence
|
|
40
|
+
- `/agileflow:packages \(no arguments\)` - Manage dependencies with updates and security audits
|
|
41
|
+
- `/agileflow:pr STORY=<US\-ID> \[TITLE=<text>\] \[TEST\_EVIDENCE=<text>\]` - Generate pull request description from story
|
|
42
|
+
- `/agileflow:readme-sync FOLDER=<path>\|all` - Synchronize a folder's README\.md with its current contents
|
|
43
|
+
- `/agileflow:research-analyze` - Analyze existing research for implementation in your project
|
|
44
|
+
- `/agileflow:research-ask TOPIC=<text> \[DETAILS=<text>\] \[ERROR=<text>\]` - Generate detailed research prompt for web AI tools \(ChatGPT, Perplexity, etc\.\)
|
|
45
|
+
- `/agileflow:research-import TOPIC=<text> \[CONTENT=<text>\] \[SOURCE=<url>\]` - Import research results and save to research folder
|
|
46
|
+
- `/agileflow:research-list \(no arguments\)` - Show research notes index
|
|
47
|
+
- `/agileflow:research-view FILE=<filename>` - Read a specific research note
|
|
48
|
+
- `/agileflow:rlm DOCUMENT=<path> QUERY=<text> \[MAX\_ITERATIONS=<number>\] \[DEPTH=<number>\]` - Analyze complex documents using RLM \(Recursive Language Models\) pattern
|
|
49
|
+
- `/agileflow:session-cleanup \(no arguments\)` - Interactive session cleanup with AI assessment
|
|
50
|
+
- `/agileflow:session-end \(no arguments\)` - Cleanly end session with optional merge to main
|
|
51
|
+
- `/agileflow:session-history` - View past session history and metrics
|
|
52
|
+
- `/agileflow:session-init \(no arguments\)` - Initialize session harness with test verification
|
|
53
|
+
- `/agileflow:session-new \(no arguments\)` - Create a new parallel session with git worktree
|
|
54
|
+
- `/agileflow:session-resume \(no arguments\)` - Pick a session to switch to or resume
|
|
55
|
+
- `/agileflow:session-spawn` - Spawn multiple parallel Claude Code sessions in git worktrees
|
|
56
|
+
- `/agileflow:session-status` - View current session state and activity
|
|
57
|
+
- `/agileflow:skill-create` - Generate a custom skill with web research, cookbook pattern, and MCP integration
|
|
58
|
+
- `/agileflow:skill-delete` - Remove an installed skill from \.claude/skills/
|
|
59
|
+
- `/agileflow:skill-edit` - Edit an existing skill's SKILL\.md, cookbook entries, or references
|
|
60
|
+
- `/agileflow:skill-list \(no arguments\)` - List all installed skills with their descriptions and status
|
|
61
|
+
- `/agileflow:skill-test` - Verify a skill works correctly by testing its activation and functionality
|
|
62
|
+
- `/agileflow:skill-upgrade` - Upgrade existing skills with self\-improving learning capability
|
|
63
|
+
- `/agileflow:status STORY=<US\-ID> STATUS=<status> \[SUMMARY=<text>\] \[PR=<url>\] \[TO=<agent\-id>\]` - Update story status and progress
|
|
64
|
+
- `/agileflow:story EPIC=<EP\-ID> STORY=<US\-ID> TITLE=<text> OWNER=<id> \[ESTIMATE=<pts>\] \[AC=<list>\] \[TDD=true\]` - Create a user story with acceptance criteria
|
|
65
|
+
- `/agileflow:story-validate STORY=<US\-ID>` - Validate story completeness before development
|
|
66
|
+
- `/agileflow:story-view STORY=<US\-ID>` - View story details with contextual actions
|
|
67
|
+
- `/agileflow:template ACTION=create\|edit\|list\|use \[TYPE=story\|epic\|adr\|custom\] \[NAME=<name>\]` - Create and manage custom document templates
|
|
68
|
+
- `/agileflow:tests \(no arguments\)` - Set up automated testing infrastructure
|
|
69
|
+
- `/agileflow:validate-expertise` - Validate expertise files for drift and staleness
|
|
70
|
+
- `/agileflow:verify` - Run project tests and update story test status
|
|
71
|
+
- `/agileflow:whats-new \(no arguments\)` - Show what's new in AgileFlow
|
|
72
|
+
- `/agileflow:workflow <template> \[<arguments>\]` - Define and run parameterized workflow templates
|
|
73
|
+
"
|
|
12
74
|
state_fields:
|
|
13
75
|
- display_mode
|
|
14
76
|
---
|
|
@@ -61,7 +123,69 @@ Output includes:
|
|
|
61
123
|
- Daily flow: Pick story → Implement to AC → Tests → PR → Update status
|
|
62
124
|
- WIP limit: max 2 stories/agent
|
|
63
125
|
- All available commands with examples
|
|
64
|
-
- Dynamic injection:
|
|
126
|
+
- Dynamic injection: Available commands (61 total):
|
|
127
|
+
- `/agileflow:adr NUMBER=<number> TITLE=<text> CONTEXT=<text> DECISION=<text> CONSEQUENCES=<text> \[LINKS=<text>\]` - Create an Architecture Decision Record
|
|
128
|
+
- `/agileflow:adr-list` - List all Architecture Decision Records
|
|
129
|
+
- `/agileflow:adr-update NUMBER=<number> \[STATUS=<status>\] \[REASON=<text>\]` - Update ADR status or content
|
|
130
|
+
- `/agileflow:adr-view NUMBER=<number>` - View ADR details with contextual actions
|
|
131
|
+
- `/agileflow:agent AGENT\_ID=<id> ROLE=<text> \[TOOLS=<list>\] \[SCOPE=<list>\]` - Onboard a new agent with profile and contract
|
|
132
|
+
- `/agileflow:assign STORY=<US\-ID> NEW\_OWNER=<id> \[NEW\_STATUS=<status>\] \[NOTE=<text>\]` - Assign or reassign a story to an owner
|
|
133
|
+
- `/agileflow:audit STORY=<US\-ID>` - Audit story completion \- tests \+ acceptance criteria verification \(GSD pattern\)
|
|
134
|
+
- `/agileflow:auto SOURCE=<path\|url> \[EPIC=<EP\-ID>\] \[OWNER=<id>\] \[AUTO\_CREATE=true\|false\]` - Auto\-generate stories from PRDs, mockups, or specs
|
|
135
|
+
- `/agileflow:baseline` - Mark current state as verified baseline
|
|
136
|
+
- `/agileflow:batch <operation> <pattern> \[<action>\]` - Process multiple items with functional patterns \(map/pmap/filter/reduce\)
|
|
137
|
+
- `/agileflow:changelog \(no arguments\)` - Auto\-generate changelog from commit history
|
|
138
|
+
- `/agileflow:choose <decision> \[<context>\]` - AI\-directed decision making with structured options
|
|
139
|
+
- `/agileflow:ci \(no arguments\)` - Bootstrap CI/CD workflow with testing and quality checks
|
|
140
|
+
- `/agileflow:council <question> \[--mode parallel\|debate\] \[--rounds N\]` - Convene AI Council for strategic decisions with three perspectives \(Optimist, Advocate, Analyst\)
|
|
141
|
+
- `/agileflow:compress \(no arguments\)` - Compress status\.json by removing verbose fields and keeping only tracking metadata
|
|
142
|
+
- `/agileflow:context-export \(no arguments\)` - Export concise context excerpt for web AI tools
|
|
143
|
+
- `/agileflow:context-full \(no arguments\)` - Generate/refresh full context brief for web AI tools
|
|
144
|
+
- `/agileflow:context-note NOTE=<text>` - Add timestamped note to context file
|
|
145
|
+
- `/agileflow:debt \(no arguments\)` - Track and prioritize technical debt items
|
|
146
|
+
- `/agileflow:deploy \(no arguments\)` - Set up automated deployment pipeline
|
|
147
|
+
- `/agileflow:diagnose \(no arguments\)` - System health diagnostics
|
|
148
|
+
- `/agileflow:epic EPIC=<EP\-ID> TITLE=<text> OWNER=<id> GOAL=<text> \[STORIES=<list>\] \[RESEARCH=<file>\]` - Create a new epic with stories
|
|
149
|
+
- `/agileflow:epic-list` - List all epics with status and progress
|
|
150
|
+
- `/agileflow:epic-view EPIC=<EP\-ID>` - View epic details with stories and contextual actions
|
|
151
|
+
- `/agileflow:feedback \(no arguments\)` - Collect and process agent feedback
|
|
152
|
+
- `/agileflow:handoff STORY=<US\-ID> FROM=<id> TO=<id> \[SUMMARY=<text>\] \[BLOCKERS=<list>\]` - Document work handoff between agents
|
|
153
|
+
- `/agileflow:help \(no arguments\)` - Display AgileFlow system overview and commands
|
|
154
|
+
- `/agileflow:multi-expert <question>` - Deploy multiple domain experts on the same problem for higher confidence
|
|
155
|
+
- `/agileflow:packages \(no arguments\)` - Manage dependencies with updates and security audits
|
|
156
|
+
- `/agileflow:pr STORY=<US\-ID> \[TITLE=<text>\] \[TEST\_EVIDENCE=<text>\]` - Generate pull request description from story
|
|
157
|
+
- `/agileflow:readme-sync FOLDER=<path>\|all` - Synchronize a folder's README\.md with its current contents
|
|
158
|
+
- `/agileflow:research-analyze` - Analyze existing research for implementation in your project
|
|
159
|
+
- `/agileflow:research-ask TOPIC=<text> \[DETAILS=<text>\] \[ERROR=<text>\]` - Generate detailed research prompt for web AI tools \(ChatGPT, Perplexity, etc\.\)
|
|
160
|
+
- `/agileflow:research-import TOPIC=<text> \[CONTENT=<text>\] \[SOURCE=<url>\]` - Import research results and save to research folder
|
|
161
|
+
- `/agileflow:research-list \(no arguments\)` - Show research notes index
|
|
162
|
+
- `/agileflow:research-view FILE=<filename>` - Read a specific research note
|
|
163
|
+
- `/agileflow:rlm DOCUMENT=<path> QUERY=<text> \[MAX\_ITERATIONS=<number>\] \[DEPTH=<number>\]` - Analyze complex documents using RLM \(Recursive Language Models\) pattern
|
|
164
|
+
- `/agileflow:session-cleanup \(no arguments\)` - Interactive session cleanup with AI assessment
|
|
165
|
+
- `/agileflow:session-end \(no arguments\)` - Cleanly end session with optional merge to main
|
|
166
|
+
- `/agileflow:session-history` - View past session history and metrics
|
|
167
|
+
- `/agileflow:session-init \(no arguments\)` - Initialize session harness with test verification
|
|
168
|
+
- `/agileflow:session-new \(no arguments\)` - Create a new parallel session with git worktree
|
|
169
|
+
- `/agileflow:session-resume \(no arguments\)` - Pick a session to switch to or resume
|
|
170
|
+
- `/agileflow:session-spawn` - Spawn multiple parallel Claude Code sessions in git worktrees
|
|
171
|
+
- `/agileflow:session-status` - View current session state and activity
|
|
172
|
+
- `/agileflow:skill-create` - Generate a custom skill with web research, cookbook pattern, and MCP integration
|
|
173
|
+
- `/agileflow:skill-delete` - Remove an installed skill from \.claude/skills/
|
|
174
|
+
- `/agileflow:skill-edit` - Edit an existing skill's SKILL\.md, cookbook entries, or references
|
|
175
|
+
- `/agileflow:skill-list \(no arguments\)` - List all installed skills with their descriptions and status
|
|
176
|
+
- `/agileflow:skill-test` - Verify a skill works correctly by testing its activation and functionality
|
|
177
|
+
- `/agileflow:skill-upgrade` - Upgrade existing skills with self\-improving learning capability
|
|
178
|
+
- `/agileflow:status STORY=<US\-ID> STATUS=<status> \[SUMMARY=<text>\] \[PR=<url>\] \[TO=<agent\-id>\]` - Update story status and progress
|
|
179
|
+
- `/agileflow:story EPIC=<EP\-ID> STORY=<US\-ID> TITLE=<text> OWNER=<id> \[ESTIMATE=<pts>\] \[AC=<list>\] \[TDD=true\]` - Create a user story with acceptance criteria
|
|
180
|
+
- `/agileflow:story-validate STORY=<US\-ID>` - Validate story completeness before development
|
|
181
|
+
- `/agileflow:story-view STORY=<US\-ID>` - View story details with contextual actions
|
|
182
|
+
- `/agileflow:template ACTION=create\|edit\|list\|use \[TYPE=story\|epic\|adr\|custom\] \[NAME=<name>\]` - Create and manage custom document templates
|
|
183
|
+
- `/agileflow:tests \(no arguments\)` - Set up automated testing infrastructure
|
|
184
|
+
- `/agileflow:validate-expertise` - Validate expertise files for drift and staleness
|
|
185
|
+
- `/agileflow:verify` - Run project tests and update story test status
|
|
186
|
+
- `/agileflow:whats-new \(no arguments\)` - Show what's new in AgileFlow
|
|
187
|
+
- `/agileflow:workflow <template> \[<arguments>\]` - Define and run parameterized workflow templates
|
|
188
|
+
|
|
65
189
|
|
|
66
190
|
- **Related**: All AgileFlow commands, system documentation
|
|
67
191
|
<!-- COMPACT_SUMMARY_END -->
|
|
@@ -89,7 +213,69 @@ Print a concise, one-screen overview:
|
|
|
89
213
|
- WIP limit: max 2 stories/agent
|
|
90
214
|
- List ALL available commands with one-line examples
|
|
91
215
|
|
|
92
|
-
|
|
216
|
+
Available commands (61 total):
|
|
217
|
+
- `/agileflow:adr NUMBER=<number> TITLE=<text> CONTEXT=<text> DECISION=<text> CONSEQUENCES=<text> \[LINKS=<text>\]` - Create an Architecture Decision Record
|
|
218
|
+
- `/agileflow:adr-list` - List all Architecture Decision Records
|
|
219
|
+
- `/agileflow:adr-update NUMBER=<number> \[STATUS=<status>\] \[REASON=<text>\]` - Update ADR status or content
|
|
220
|
+
- `/agileflow:adr-view NUMBER=<number>` - View ADR details with contextual actions
|
|
221
|
+
- `/agileflow:agent AGENT\_ID=<id> ROLE=<text> \[TOOLS=<list>\] \[SCOPE=<list>\]` - Onboard a new agent with profile and contract
|
|
222
|
+
- `/agileflow:assign STORY=<US\-ID> NEW\_OWNER=<id> \[NEW\_STATUS=<status>\] \[NOTE=<text>\]` - Assign or reassign a story to an owner
|
|
223
|
+
- `/agileflow:audit STORY=<US\-ID>` - Audit story completion \- tests \+ acceptance criteria verification \(GSD pattern\)
|
|
224
|
+
- `/agileflow:auto SOURCE=<path\|url> \[EPIC=<EP\-ID>\] \[OWNER=<id>\] \[AUTO\_CREATE=true\|false\]` - Auto\-generate stories from PRDs, mockups, or specs
|
|
225
|
+
- `/agileflow:baseline` - Mark current state as verified baseline
|
|
226
|
+
- `/agileflow:batch <operation> <pattern> \[<action>\]` - Process multiple items with functional patterns \(map/pmap/filter/reduce\)
|
|
227
|
+
- `/agileflow:changelog \(no arguments\)` - Auto\-generate changelog from commit history
|
|
228
|
+
- `/agileflow:choose <decision> \[<context>\]` - AI\-directed decision making with structured options
|
|
229
|
+
- `/agileflow:ci \(no arguments\)` - Bootstrap CI/CD workflow with testing and quality checks
|
|
230
|
+
- `/agileflow:council <question> \[--mode parallel\|debate\] \[--rounds N\]` - Convene AI Council for strategic decisions with three perspectives \(Optimist, Advocate, Analyst\)
|
|
231
|
+
- `/agileflow:compress \(no arguments\)` - Compress status\.json by removing verbose fields and keeping only tracking metadata
|
|
232
|
+
- `/agileflow:context-export \(no arguments\)` - Export concise context excerpt for web AI tools
|
|
233
|
+
- `/agileflow:context-full \(no arguments\)` - Generate/refresh full context brief for web AI tools
|
|
234
|
+
- `/agileflow:context-note NOTE=<text>` - Add timestamped note to context file
|
|
235
|
+
- `/agileflow:debt \(no arguments\)` - Track and prioritize technical debt items
|
|
236
|
+
- `/agileflow:deploy \(no arguments\)` - Set up automated deployment pipeline
|
|
237
|
+
- `/agileflow:diagnose \(no arguments\)` - System health diagnostics
|
|
238
|
+
- `/agileflow:epic EPIC=<EP\-ID> TITLE=<text> OWNER=<id> GOAL=<text> \[STORIES=<list>\] \[RESEARCH=<file>\]` - Create a new epic with stories
|
|
239
|
+
- `/agileflow:epic-list` - List all epics with status and progress
|
|
240
|
+
- `/agileflow:epic-view EPIC=<EP\-ID>` - View epic details with stories and contextual actions
|
|
241
|
+
- `/agileflow:feedback \(no arguments\)` - Collect and process agent feedback
|
|
242
|
+
- `/agileflow:handoff STORY=<US\-ID> FROM=<id> TO=<id> \[SUMMARY=<text>\] \[BLOCKERS=<list>\]` - Document work handoff between agents
|
|
243
|
+
- `/agileflow:help \(no arguments\)` - Display AgileFlow system overview and commands
|
|
244
|
+
- `/agileflow:multi-expert <question>` - Deploy multiple domain experts on the same problem for higher confidence
|
|
245
|
+
- `/agileflow:packages \(no arguments\)` - Manage dependencies with updates and security audits
|
|
246
|
+
- `/agileflow:pr STORY=<US\-ID> \[TITLE=<text>\] \[TEST\_EVIDENCE=<text>\]` - Generate pull request description from story
|
|
247
|
+
- `/agileflow:readme-sync FOLDER=<path>\|all` - Synchronize a folder's README\.md with its current contents
|
|
248
|
+
- `/agileflow:research-analyze` - Analyze existing research for implementation in your project
|
|
249
|
+
- `/agileflow:research-ask TOPIC=<text> \[DETAILS=<text>\] \[ERROR=<text>\]` - Generate detailed research prompt for web AI tools \(ChatGPT, Perplexity, etc\.\)
|
|
250
|
+
- `/agileflow:research-import TOPIC=<text> \[CONTENT=<text>\] \[SOURCE=<url>\]` - Import research results and save to research folder
|
|
251
|
+
- `/agileflow:research-list \(no arguments\)` - Show research notes index
|
|
252
|
+
- `/agileflow:research-view FILE=<filename>` - Read a specific research note
|
|
253
|
+
- `/agileflow:rlm DOCUMENT=<path> QUERY=<text> \[MAX\_ITERATIONS=<number>\] \[DEPTH=<number>\]` - Analyze complex documents using RLM \(Recursive Language Models\) pattern
|
|
254
|
+
- `/agileflow:session-cleanup \(no arguments\)` - Interactive session cleanup with AI assessment
|
|
255
|
+
- `/agileflow:session-end \(no arguments\)` - Cleanly end session with optional merge to main
|
|
256
|
+
- `/agileflow:session-history` - View past session history and metrics
|
|
257
|
+
- `/agileflow:session-init \(no arguments\)` - Initialize session harness with test verification
|
|
258
|
+
- `/agileflow:session-new \(no arguments\)` - Create a new parallel session with git worktree
|
|
259
|
+
- `/agileflow:session-resume \(no arguments\)` - Pick a session to switch to or resume
|
|
260
|
+
- `/agileflow:session-spawn` - Spawn multiple parallel Claude Code sessions in git worktrees
|
|
261
|
+
- `/agileflow:session-status` - View current session state and activity
|
|
262
|
+
- `/agileflow:skill-create` - Generate a custom skill with web research, cookbook pattern, and MCP integration
|
|
263
|
+
- `/agileflow:skill-delete` - Remove an installed skill from \.claude/skills/
|
|
264
|
+
- `/agileflow:skill-edit` - Edit an existing skill's SKILL\.md, cookbook entries, or references
|
|
265
|
+
- `/agileflow:skill-list \(no arguments\)` - List all installed skills with their descriptions and status
|
|
266
|
+
- `/agileflow:skill-test` - Verify a skill works correctly by testing its activation and functionality
|
|
267
|
+
- `/agileflow:skill-upgrade` - Upgrade existing skills with self\-improving learning capability
|
|
268
|
+
- `/agileflow:status STORY=<US\-ID> STATUS=<status> \[SUMMARY=<text>\] \[PR=<url>\] \[TO=<agent\-id>\]` - Update story status and progress
|
|
269
|
+
- `/agileflow:story EPIC=<EP\-ID> STORY=<US\-ID> TITLE=<text> OWNER=<id> \[ESTIMATE=<pts>\] \[AC=<list>\] \[TDD=true\]` - Create a user story with acceptance criteria
|
|
270
|
+
- `/agileflow:story-validate STORY=<US\-ID>` - Validate story completeness before development
|
|
271
|
+
- `/agileflow:story-view STORY=<US\-ID>` - View story details with contextual actions
|
|
272
|
+
- `/agileflow:template ACTION=create\|edit\|list\|use \[TYPE=story\|epic\|adr\|custom\] \[NAME=<name>\]` - Create and manage custom document templates
|
|
273
|
+
- `/agileflow:tests \(no arguments\)` - Set up automated testing infrastructure
|
|
274
|
+
- `/agileflow:validate-expertise` - Validate expertise files for drift and staleness
|
|
275
|
+
- `/agileflow:verify` - Run project tests and update story test status
|
|
276
|
+
- `/agileflow:whats-new \(no arguments\)` - Show what's new in AgileFlow
|
|
277
|
+
- `/agileflow:workflow <template> \[<arguments>\]` - Define and run parameterized workflow templates
|
|
278
|
+
|
|
93
279
|
|
|
94
280
|
OUTPUT: plain markdown only (no file writes)
|
|
95
281
|
|