specweave 0.7.1 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/CLAUDE.md +307 -11
  2. package/README.md +41 -3
  3. package/dist/cli/commands/import-docs.d.ts +21 -0
  4. package/dist/cli/commands/import-docs.d.ts.map +1 -0
  5. package/dist/cli/commands/import-docs.js +146 -0
  6. package/dist/cli/commands/import-docs.js.map +1 -0
  7. package/dist/cli/commands/init-multiproject.d.ts +11 -0
  8. package/dist/cli/commands/init-multiproject.d.ts.map +1 -0
  9. package/dist/cli/commands/init-multiproject.js +202 -0
  10. package/dist/cli/commands/init-multiproject.js.map +1 -0
  11. package/dist/cli/commands/init.js +3 -3
  12. package/dist/cli/commands/init.js.map +1 -1
  13. package/dist/cli/commands/migrate-to-multiproject.d.ts +37 -0
  14. package/dist/cli/commands/migrate-to-multiproject.d.ts.map +1 -0
  15. package/dist/cli/commands/migrate-to-multiproject.js +189 -0
  16. package/dist/cli/commands/migrate-to-multiproject.js.map +1 -0
  17. package/dist/cli/commands/migrate-to-profiles.d.ts +25 -0
  18. package/dist/cli/commands/migrate-to-profiles.d.ts.map +1 -0
  19. package/dist/cli/commands/migrate-to-profiles.js +350 -0
  20. package/dist/cli/commands/migrate-to-profiles.js.map +1 -0
  21. package/dist/cli/commands/switch-project.d.ts +13 -0
  22. package/dist/cli/commands/switch-project.d.ts.map +1 -0
  23. package/dist/cli/commands/switch-project.js +91 -0
  24. package/dist/cli/commands/switch-project.js.map +1 -0
  25. package/dist/cli/helpers/issue-tracker/index.js +4 -4
  26. package/dist/cli/helpers/issue-tracker/index.js.map +1 -1
  27. package/dist/cli/helpers/issue-tracker/utils.d.ts +6 -3
  28. package/dist/cli/helpers/issue-tracker/utils.d.ts.map +1 -1
  29. package/dist/cli/helpers/issue-tracker/utils.js +9 -7
  30. package/dist/cli/helpers/issue-tracker/utils.js.map +1 -1
  31. package/dist/core/brownfield/analyzer.d.ts +86 -0
  32. package/dist/core/brownfield/analyzer.d.ts.map +1 -0
  33. package/dist/core/brownfield/analyzer.js +365 -0
  34. package/dist/core/brownfield/analyzer.js.map +1 -0
  35. package/dist/core/brownfield/importer.d.ts +76 -0
  36. package/dist/core/brownfield/importer.d.ts.map +1 -0
  37. package/dist/core/brownfield/importer.js +287 -0
  38. package/dist/core/brownfield/importer.js.map +1 -0
  39. package/dist/core/config-manager.d.ts +47 -0
  40. package/dist/core/config-manager.d.ts.map +1 -0
  41. package/dist/core/config-manager.js +136 -0
  42. package/dist/core/config-manager.js.map +1 -0
  43. package/dist/core/project-manager.d.ts +127 -0
  44. package/dist/core/project-manager.d.ts.map +1 -0
  45. package/dist/core/project-manager.js +524 -0
  46. package/dist/core/project-manager.js.map +1 -0
  47. package/dist/core/sync/profile-manager.d.ts +72 -0
  48. package/dist/core/sync/profile-manager.d.ts.map +1 -0
  49. package/dist/core/sync/profile-manager.js +338 -0
  50. package/dist/core/sync/profile-manager.js.map +1 -0
  51. package/dist/core/sync/profile-selector.d.ts +52 -0
  52. package/dist/core/sync/profile-selector.d.ts.map +1 -0
  53. package/dist/core/sync/profile-selector.js +179 -0
  54. package/dist/core/sync/profile-selector.js.map +1 -0
  55. package/dist/core/sync/project-context.d.ts +81 -0
  56. package/dist/core/sync/project-context.d.ts.map +1 -0
  57. package/dist/core/sync/project-context.js +354 -0
  58. package/dist/core/sync/project-context.js.map +1 -0
  59. package/dist/core/sync/rate-limiter.d.ts +116 -0
  60. package/dist/core/sync/rate-limiter.d.ts.map +1 -0
  61. package/dist/core/sync/rate-limiter.js +308 -0
  62. package/dist/core/sync/rate-limiter.js.map +1 -0
  63. package/dist/core/sync/time-range-selector.d.ts +48 -0
  64. package/dist/core/sync/time-range-selector.d.ts.map +1 -0
  65. package/dist/core/sync/time-range-selector.js +224 -0
  66. package/dist/core/sync/time-range-selector.js.map +1 -0
  67. package/dist/core/types/config.d.ts +4 -0
  68. package/dist/core/types/config.d.ts.map +1 -1
  69. package/dist/core/types/config.js.map +1 -1
  70. package/dist/core/types/sync-profile.d.ts +205 -0
  71. package/dist/core/types/sync-profile.d.ts.map +1 -0
  72. package/dist/core/types/sync-profile.js +8 -0
  73. package/dist/core/types/sync-profile.js.map +1 -0
  74. package/dist/utils/project-detection.d.ts +141 -0
  75. package/dist/utils/project-detection.d.ts.map +1 -0
  76. package/dist/utils/project-detection.js +321 -0
  77. package/dist/utils/project-detection.js.map +1 -0
  78. package/package.json +2 -1
  79. package/plugins/specweave/agents/pm/AGENT.md +7 -4
  80. package/plugins/specweave/commands/specweave-abandon.md +17 -17
  81. package/plugins/specweave/commands/specweave-check-tests.md +14 -14
  82. package/plugins/specweave/commands/specweave-costs.md +1 -1
  83. package/plugins/specweave/commands/specweave-do.md +12 -12
  84. package/plugins/specweave/commands/specweave-done.md +28 -15
  85. package/plugins/specweave/commands/specweave-import-docs.md +212 -0
  86. package/plugins/specweave/commands/specweave-increment.md +10 -10
  87. package/plugins/specweave/commands/specweave-init-multiproject.md +146 -0
  88. package/plugins/specweave/commands/specweave-next.md +16 -16
  89. package/plugins/specweave/commands/specweave-pause.md +17 -17
  90. package/plugins/specweave/commands/specweave-progress.md +10 -10
  91. package/plugins/specweave/commands/specweave-qa.md +11 -11
  92. package/plugins/specweave/commands/specweave-resume.md +22 -22
  93. package/plugins/specweave/commands/specweave-status.md +18 -18
  94. package/plugins/specweave/commands/specweave-switch-project.md +168 -0
  95. package/plugins/specweave/commands/specweave-sync-docs.md +1 -1
  96. package/plugins/specweave/commands/specweave-sync-tasks.md +9 -9
  97. package/plugins/specweave/commands/specweave-tdd-cycle.md +7 -0
  98. package/plugins/specweave/commands/specweave-tdd-green.md +7 -0
  99. package/plugins/specweave/commands/specweave-tdd-red.md +7 -0
  100. package/plugins/specweave/commands/specweave-tdd-refactor.md +7 -0
  101. package/plugins/specweave/commands/specweave-translate.md +1 -1
  102. package/plugins/specweave/commands/specweave-update-scope.md +8 -8
  103. package/plugins/specweave/commands/specweave-validate.md +18 -20
  104. package/plugins/specweave/commands/specweave.md +5 -5
  105. package/plugins/specweave/skills/SKILLS-INDEX.md +1 -1
  106. package/plugins/specweave/skills/increment-planner/SKILL.md +40 -4
  107. package/plugins/specweave/skills/increment-quality-judge/SKILL.md +5 -5
  108. package/plugins/specweave/skills/increment-quality-judge-v2/SKILL.md +5 -5
  109. package/plugins/specweave/skills/specweave-detector/SKILL.md +3 -3
  110. package/plugins/specweave-ado/commands/{close-workitem.md → specweave-ado-close-workitem.md} +1 -1
  111. package/plugins/specweave-ado/commands/{create-workitem.md → specweave-ado-create-workitem.md} +1 -1
  112. package/plugins/specweave-ado/commands/{status.md → specweave-ado-status.md} +1 -1
  113. package/plugins/specweave-ado/commands/{sync.md → specweave-ado-sync.md} +1 -1
  114. package/plugins/specweave-ado/lib/ado-client-v2.ts +547 -0
  115. package/plugins/specweave-github/commands/{close-issue.md → specweave-github-close-issue.md} +1 -1
  116. package/plugins/specweave-github/commands/{create-issue.md → specweave-github-create-issue.md} +1 -1
  117. package/plugins/specweave-github/commands/{status.md → specweave-github-status.md} +1 -1
  118. package/plugins/specweave-github/commands/{sync-tasks.md → specweave-github-sync-tasks.md} +1 -1
  119. package/plugins/specweave-github/commands/specweave-github-sync.md +568 -0
  120. package/plugins/specweave-github/lib/github-client-v2.ts +555 -0
  121. package/plugins/specweave-infrastructure/commands/{monitor-setup.md → specweave-infrastructure-monitor-setup.md} +1 -1
  122. package/plugins/specweave-infrastructure/commands/{slo-implement.md → specweave-infrastructure-slo-implement.md} +1 -1
  123. package/plugins/specweave-jira/commands/{sync.md → specweave-jira-sync.md} +1 -1
  124. package/plugins/specweave-jira/lib/jira-client-v2.ts +529 -0
  125. package/plugins/specweave-ml/commands/{ml-deploy.md → specweave-ml-deploy.md} +1 -1
  126. package/plugins/specweave-ml/commands/{ml-evaluate.md → specweave-ml-evaluate.md} +1 -1
  127. package/plugins/specweave-ml/commands/{ml-explain.md → specweave-ml-explain.md} +1 -1
  128. package/plugins/specweave-ml/commands/{ml-pipeline.md → specweave-ml-pipeline.md} +1 -1
  129. package/src/templates/AGENTS.md.template +1 -0
  130. package/src/templates/CLAUDE.md.template +1 -0
  131. package/plugins/specweave-github/commands/sync.md +0 -443
  132. /package/plugins/specweave/{commands/README.md → COMMANDS.md} +0 -0
@@ -1,18 +1,16 @@
1
1
  ---
2
- name: validate
2
+ name: specweave:validate
3
3
  description: Validate SpecWeave increment with rule-based checks and optional AI quality assessment
4
4
  ---
5
5
 
6
6
  # Validate Increment
7
7
 
8
- **⚡ Convenient Short Form**: Use `/validate` for quick access, or `/specweave:validate` for explicit namespace.
9
-
10
8
  You are helping the user validate a SpecWeave increment with optional AI-powered quality assessment.
11
9
 
12
10
  ## Usage
13
11
 
14
12
  ```bash
15
- /validate-increment <increment-id> [--quality] [--export] [--fix] [--always]
13
+ /specweave:validate <increment-id> [--quality] [--export] [--fix] [--always]
16
14
  ```
17
15
 
18
16
  ## Arguments
@@ -30,7 +28,7 @@ You are helping the user validate a SpecWeave increment with optional AI-powered
30
28
  ### Step 1: Parse and Validate Arguments
31
29
 
32
30
  1. **Extract increment ID**:
33
- - Parse from command: `/validate-increment 001` → "001"
31
+ - Parse from command: `/specweave:validate 001` → "001"
34
32
  - Normalize to 4-digit format: "0001"
35
33
  - Support formats: "1", "01", "001", "0001"
36
34
 
@@ -54,7 +52,7 @@ Available increments:
54
52
  • 0003-payment-processing
55
53
  • 0004-reporting-dashboard
56
54
 
57
- Usage: /validate-increment <id> [--quality] [--export] [--fix] [--always]
55
+ Usage: /specweave:validate-increment <id> [--quality] [--export] [--fix] [--always]
58
56
  ```
59
57
 
60
58
  ### Step 2: Run Rule-Based Validation (Always)
@@ -438,7 +436,7 @@ To disable:
438
436
  1. Initialize your project
439
437
  2. Set validation.quality_judge.always_run: false
440
438
 
441
- Or run: /validate-increment <id> (quality will run automatically)
439
+ Or run: /specweave:validate-increment <id> (quality will run automatically)
442
440
  ```
443
441
 
444
442
  ### Step 8: Generate Validation Report
@@ -451,7 +449,7 @@ Or run: /validate-increment <id> (quality will run automatically)
451
449
  # Validation Report: Increment 0001-authentication
452
450
 
453
451
  Generated: 2025-10-28 14:32:15 UTC
454
- Command: /validate-increment 001 --quality
452
+ Command: /specweave:validate-increment 001 --quality
455
453
 
456
454
  ## Executive Summary
457
455
 
@@ -554,7 +552,7 @@ Command: /validate-increment 001 --quality
554
552
 
555
553
  | Date | Rule-Based | Quality Score | Command |
556
554
  |------|------------|---------------|---------|
557
- | 2025-10-28 | 120/120 | 87/100 | /validate-increment 001 --quality |
555
+ | 2025-10-28 | 120/120 | 87/100 | /specweave:validate-increment 001 --quality |
558
556
  | 2025-10-25 | 115/120 | N/A | Auto-validation on save |
559
557
  | 2025-10-24 | 110/120 | N/A | Auto-validation on save |
560
558
 
@@ -575,7 +573,7 @@ For details: .specweave/docs/internal/delivery/guides/increment-validation.md
575
573
  ### Example 1: Basic Validation (Rule-Based Only)
576
574
 
577
575
  ```bash
578
- /validate-increment 001
576
+ /specweave:validate 001
579
577
  ```
580
578
 
581
579
  **Output**:
@@ -588,7 +586,7 @@ For details: .specweave/docs/internal/delivery/guides/increment-validation.md
588
586
  ### Example 2: Validation with Quality Assessment
589
587
 
590
588
  ```bash
591
- /validate-increment 001 --quality
589
+ /specweave:validate 001 --quality
592
590
  ```
593
591
 
594
592
  **Output**:
@@ -605,7 +603,7 @@ Suggestions: 3 (2 high, 1 medium)
605
603
  ### Example 3: Validate and Export Suggestions
606
604
 
607
605
  ```bash
608
- /validate-increment 001 --quality --export
606
+ /specweave:validate 001 --quality --export
609
607
  ```
610
608
 
611
609
  **Output**:
@@ -622,7 +620,7 @@ Suggestions: 3 (2 high, 1 medium)
622
620
  ### Example 4: Auto-Fix Issues
623
621
 
624
622
  ```bash
625
- /validate-increment 001 --quality --fix
623
+ /specweave:validate 001 --quality --fix
626
624
  ```
627
625
 
628
626
  **Output**:
@@ -643,7 +641,7 @@ Re-validated: 92/100 (improvement: +5)
643
641
  ### Example 5: Make Quality Assessment Default
644
642
 
645
643
  ```bash
646
- /validate-increment 001 --always
644
+ /specweave:validate 001 --always
647
645
  ```
648
646
 
649
647
  **Output**:
@@ -665,7 +663,7 @@ Available increments:
665
663
  • 0002-core-enhancements
666
664
  • 0003-payment-processing
667
665
 
668
- Usage: /validate-increment <id> [--quality] [--export] [--fix] [--always]
666
+ Usage: /specweave:validate-increment <id> [--quality] [--export] [--fix] [--always]
669
667
  ```
670
668
 
671
669
  ### Invalid Flags
@@ -678,7 +676,7 @@ Valid flags:
678
676
  --fix Auto-fix issues (experimental)
679
677
  --always Make quality assessment default
680
678
 
681
- Usage: /validate-increment <id> [--quality] [--export] [--fix] [--always]
679
+ Usage: /specweave:validate-increment <id> [--quality] [--export] [--fix] [--always]
682
680
  ```
683
681
 
684
682
  ### Quality Assessment Failed
@@ -688,7 +686,7 @@ Usage: /validate-increment <id> [--quality] [--export] [--fix] [--always]
688
686
  ✅ Rule-based validation completed successfully (120/120)
689
687
 
690
688
  You can:
691
- 1. Try again: /validate-increment 001 --quality
689
+ 1. Try again: /specweave:validate-increment 001 --quality
692
690
  2. Continue with rule-based results
693
691
  3. Check logs: .specweave/increments/0001-name/logs/validation.log
694
692
  ```
@@ -709,7 +707,7 @@ Export suggestions to tasks? [Y/n]: _
709
707
 
710
708
  This command can be triggered by:
711
709
 
712
- 1. **Manual execution**: `/validate-increment 001 --quality`
710
+ 1. **Manual execution**: `/specweave:validate 001 --quality`
713
711
  2. **Post-document-save hook**: Auto-runs rule-based validation
714
712
  3. **Pre-implementation hook**: Validates before starting tasks
715
713
  4. **CI/CD pipeline**: Automated validation in GitHub Actions
@@ -724,7 +722,7 @@ if [[ "$FILE" =~ spec\.md|plan\.md|tasks\.md|tests\.md ]]; then
724
722
  INCREMENT_ID=$(echo "$FILE" | grep -oP '(?<=increments/)\d{4}')
725
723
 
726
724
  # Run validation (rule-based only, no quality unless config says so)
727
- /validate-increment "$INCREMENT_ID"
725
+ /specweave:validate-increment "$INCREMENT_ID"
728
726
  fi
729
727
  ```
730
728
 
@@ -749,6 +747,6 @@ All validation settings use sensible defaults. Quality assessment is prompted ea
749
747
 
750
748
  **Important**: This command works alongside intent-based validation. Users can say:
751
749
  - "Validate quality of increment 001" (intent-based)
752
- - `/validate-increment 001 --quality` (slash command)
750
+ - `/specweave:validate 001 --quality` (slash command)
753
751
 
754
752
  Both routes activate the same validation logic for consistency.
@@ -295,11 +295,11 @@ swnext # Instead of /specweave next
295
295
  ```yaml
296
296
  # .claude/config.yaml
297
297
  command_aliases:
298
- /inc: /specweave inc
299
- /do: /specweave do
300
- /next: /specweave next
301
- /done: /specweave done
302
- /progress: /specweave progress
298
+ /specweave:increment: /specweave inc
299
+ /specweave:do: /specweave do
300
+ /specweave:next: /specweave next
301
+ /specweave:done: /specweave done
302
+ /specweave:progress: /specweave progress
303
303
  ```
304
304
 
305
305
  **Usage**:
@@ -77,7 +77,7 @@ Step 4: Execute → Follow the increment planning workflow
77
77
 
78
78
  #### specweave-detector
79
79
 
80
- **Description**: Detects SpecWeave context (.specweave/ directory exists) and provides workflow documentation. v0.3.8+ features PROACTIVE auto-detection - when in SpecWeave folder, product descriptions automatically trigger increment planning. Explicit slash commands still work (/inc, /do, /progress, /validate, /done, /sync-docs, /sync-github). Keywords slash commands, /inc, /increment, /do, /progress, /validate, /done, specweave commands, smart workflow, auto-detection, specweave folder.
80
+ **Description**: Detects SpecWeave context (.specweave/ directory exists) and provides workflow documentation. v0.3.8+ features PROACTIVE auto-detection - when in SpecWeave folder, product descriptions automatically trigger increment planning. Explicit slash commands still work (/specweave:increment, /specweave:do, /specweave:progress, /specweave:validate, /specweave:done, /specweave:sync-docs, /sync-github). Keywords slash commands, specweave commands, smart workflow, auto-detection, specweave folder.
81
81
 
82
82
  **Location**: `.claude/skills/specweave-detector/SKILL.md`
83
83
 
@@ -33,6 +33,7 @@ The increment-planner skill automates the creation of implementation plans for A
33
33
  - Constitutional compliance
34
34
  - Separation of WHAT/WHY (spec) from HOW (plan) from STEPS (tasks with test plans)
35
35
  - **v0.7.0+**: Test-Aware Planning (bidirectional AC↔Task↔Test linking)
36
+ - **v0.8.0+**: Multi-Project Support (specs organized by project/team)
36
37
 
37
38
  ## Increment Types (v0.7.0+)
38
39
 
@@ -84,6 +85,34 @@ This skill activates automatically when users say:
84
85
 
85
86
  ---
86
87
 
88
+ ## 🆕 Multi-Project Support (v0.8.0+)
89
+
90
+ **Key Changes**:
91
+ - Specs are now organized by project: `.specweave/docs/internal/projects/{project-id}/specs/`
92
+ - Use `ProjectManager` (from `src/core/project-manager.ts`) to get correct paths
93
+ - Single project uses `projects/default/` automatically (transparent)
94
+ - Multi-project mode allows multiple teams/repos
95
+
96
+ **Path Resolution**:
97
+ ```typescript
98
+ import { ProjectManager } from '../../core/project-manager';
99
+
100
+ const projectManager = new ProjectManager(projectRoot);
101
+ const activeProject = projectManager.getActiveProject();
102
+
103
+ // Get correct paths for active project
104
+ const specsPath = projectManager.getSpecsPath(); // projects/{activeProject.id}/specs/
105
+ const modulesPath = projectManager.getModulesPath(); // projects/{activeProject.id}/modules/
106
+ const teamPath = projectManager.getTeamPath(); // projects/{activeProject.id}/team/
107
+ ```
108
+
109
+ **In PM Agent Instructions**:
110
+ - DO NOT hardcode `.specweave/docs/internal/specs/`
111
+ - USE ProjectManager to get correct path for active project
112
+ - Specs go to: `{projectManager.getSpecsPath()}/spec-{number}-{name}.md`
113
+
114
+ ---
115
+
87
116
  ## ⚠️ CRITICAL: Living Documentation Workflow
88
117
 
89
118
  **MANDATORY**: Feature planner must orchestrate **BOTH** living docs and increment files.
@@ -114,7 +143,9 @@ Task(
114
143
  You MUST create living Spec (living docs - source of truth) AND optionally create increment spec.md:
115
144
 
116
145
  1. Spec (living docs - SOURCE OF TRUTH, permanent):
117
- - Create .specweave/docs/internal/specs/spec-{number}-{name}/spec.md
146
+ - IMPORTANT: Use ProjectManager to get correct path for active project
147
+ - Create at: {projectManager.getSpecsPath()}/spec-{number}-{name}.md
148
+ (This resolves to projects/{activeProject}/specs/ automatically)
118
149
  - This is the COMPLETE, PERMANENT source of truth
119
150
  - Include ALL of:
120
151
  * User stories (US-001, US-002, etc.) with full details
@@ -236,12 +267,17 @@ STEP 5: Validate Living Docs and Increment Files
236
267
 
237
268
  #### Living Spec (Living Docs - Source of Truth) ✅
238
269
  ```
239
- .specweave/docs/internal/specs/
240
- └── spec-{number}-{name}/ # ← PM Agent (MANDATORY)
241
- └── spec.md # COMPLETE user stories, AC, requirements
270
+ .specweave/docs/internal/projects/{project-id}/specs/ # ← Multi-project (v0.8.0+)
271
+ └── spec-{number}-{name}.md # ← PM Agent (MANDATORY)
272
+ # COMPLETE user stories, AC, requirements
242
273
  # This is the PERMANENT source of truth
243
274
  # Can be linked to Jira/ADO/GitHub Issues
244
275
  # Persists after increment completes
276
+
277
+ # Examples:
278
+ # Single project: projects/default/specs/spec-001-user-auth.md
279
+ # Multi-project: projects/web-app/specs/spec-001-user-auth.md
280
+ # projects/mobile/specs/spec-001-push-notifications.md
245
281
  ```
246
282
 
247
283
  #### Strategy Docs (Optional, High-Level) ⚠️
@@ -25,7 +25,7 @@ Provide nuanced quality assessment of SpecWeave artifacts (spec.md, plan.md, tes
25
25
 
26
26
  **Triggered by:**
27
27
  - Natural language: "validate quality of increment 0001", "quality check", "assess spec"
28
- - Slash command: `/validate-increment 0001 --quality` (supports --export, --fix, --always flags)
28
+ - Slash command: `/specweave:validate 0001 --quality` (supports --export, --fix, --always flags)
29
29
  - Manual invocation when reviewing docs
30
30
 
31
31
  ## What It Does
@@ -116,7 +116,7 @@ interface Suggestion {
116
116
  ### 3. Interactive Workflow
117
117
 
118
118
  ```bash
119
- /validate-increment 001
119
+ /specweave:validate 001
120
120
 
121
121
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
122
122
  VALIDATION RESULTS: Increment 0001-authentication
@@ -352,7 +352,7 @@ if (confidence < 0.80) {
352
352
  ### Current: Rule-Based Only
353
353
 
354
354
  ```
355
- User: /validate-increment 001
355
+ User: /specweave:validate-increment 001
356
356
 
357
357
  Run 120 rule-based checks
358
358
 
@@ -362,7 +362,7 @@ Show results: ✅ PASSED or ❌ FAILED
362
362
  ### With Quality Judge (Interactive)
363
363
 
364
364
  ```
365
- User: /validate-increment 001
365
+ User: /specweave:validate-increment 001
366
366
 
367
367
  Run 120 rule-based checks
368
368
 
@@ -380,7 +380,7 @@ Prompt: "Export suggestions to tasks? [Y/n]"
380
380
  ### With Quality Judge (Always-On)
381
381
 
382
382
  ```
383
- User: /validate-increment 001
383
+ User: /specweave:validate-increment 001
384
384
 
385
385
  Run in parallel:
386
386
  • Rule-based checks (120 rules)
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: increment-quality-judge-v2
3
- description: Enhanced AI-powered quality assessment with RISK SCORING (BMAD pattern) and quality gate decisions. Evaluates specifications, plans, and tests for clarity, testability, completeness, feasibility, maintainability, edge cases, and RISKS. Provides PASS/CONCERNS/FAIL decisions. Activates for validate quality, quality check, assess spec, evaluate increment, spec review, quality score, risk assessment, qa check, quality gate, /qa command.
3
+ description: Enhanced AI-powered quality assessment with RISK SCORING (BMAD pattern) and quality gate decisions. Evaluates specifications, plans, and tests for clarity, testability, completeness, feasibility, maintainability, edge cases, and RISKS. Provides PASS/CONCERNS/FAIL decisions. Activates for validate quality, quality check, assess spec, evaluate increment, spec review, quality score, risk assessment, qa check, quality gate, /specweave:qa command.
4
4
  allowed-tools: Read, Grep, Glob
5
5
  ---
6
6
 
@@ -303,7 +303,7 @@ Would you like to:
303
303
  ### Quick Mode (Default)
304
304
 
305
305
  ```
306
- User: /qa 0001
306
+ User: /specweave:qa 0001
307
307
 
308
308
  Step 1: Rule-based validation (120 checks) - FREE, FAST
309
309
  ├── If FAILED → Stop, show errors
@@ -320,7 +320,7 @@ Output: Enhanced report with risks and gate decision
320
320
  ### Pre-Implementation Mode
321
321
 
322
322
  ```
323
- User: /qa 0001 --pre
323
+ User: /specweave:qa 0001 --pre
324
324
 
325
325
  Checks:
326
326
  ✅ Spec quality (clarity, testability, completeness)
@@ -334,7 +334,7 @@ Gate decision before implementation starts
334
334
  ### Quality Gate Mode
335
335
 
336
336
  ```
337
- User: /qa 0001 --gate
337
+ User: /specweave:qa 0001 --gate
338
338
 
339
339
  Comprehensive checks:
340
340
  ✅ All pre-implementation checks
@@ -496,4 +496,4 @@ gate_decision = decide({
496
496
 
497
497
  **Version**: 2.0.0
498
498
  **Since**: v0.8.0
499
- **Related**: /qa command, QAOrchestrator agent (v0.9.0)
499
+ **Related**: /specweave:qa command, QAOrchestrator agent (v0.9.0)
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: specweave-detector
3
- description: Detects SpecWeave context (.specweave/ directory exists) and provides workflow documentation. v0.3.8+ features PROACTIVE auto-detection - when in SpecWeave folder, product descriptions automatically trigger increment planning. Explicit slash commands still work (/inc, /do, /progress, /validate, /done, /specweave:sync-docs, /sync-github). Keywords slash commands, /inc, /increment, /do, /progress, /validate, /done, specweave commands, smart workflow, auto-detection, specweave folder.
3
+ description: Detects SpecWeave context (.specweave/ directory exists) and provides workflow documentation. v0.3.8+ features PROACTIVE auto-detection - when in SpecWeave folder, product descriptions automatically trigger increment planning. Explicit slash commands still work (/inc, /specweave:do, /specweave:progress, /specweave:validate, /specweave:done, /specweave:sync-docs, /sync-github). Keywords slash commands, /specweave:increment, /increment, /specweave:do, /specweave:progress, /specweave:validate, /specweave:done, specweave commands, smart workflow, auto-detection, specweave folder.
4
4
  ---
5
5
 
6
6
  # SpecWeave - Smart Workflow with Auto-Detection
@@ -86,7 +86,7 @@ npx specweave init my-saas
86
86
  /do
87
87
  # Auto-finds active increment 0002
88
88
 
89
- # Repeat: /inc → /do → /progress → /inc (auto-closes) → /do...
89
+ # Repeat: /specweave:increment → /specweave:do → /specweave:progress → /specweave:increment (auto-closes) → /specweave:do...
90
90
  ```
91
91
 
92
92
  ## Command Details
@@ -329,7 +329,7 @@ User: "What SpecWeave commands are available?"
329
329
  **Command syntax**:
330
330
  ```
331
331
  User: "How do I create a new increment?"
332
- → Claude explains /inc command with examples
332
+ → Claude explains /specweave:increment command with examples
333
333
  ```
334
334
 
335
335
  ## Documentation
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: close-workitem
2
+ name: specweave-ado:close-workitem
3
3
  description: Close Azure DevOps work item when increment complete
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: create-workitem
2
+ name: specweave-ado:create-workitem
3
3
  description: Create Azure DevOps work item from SpecWeave increment
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: status
2
+ name: specweave-ado:status
3
3
  description: Check Azure DevOps sync status for increment
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: sync
2
+ name: specweave-ado:sync
3
3
  description: Sync SpecWeave increment progress with Azure DevOps work item
4
4
  ---
5
5