@mobiman/vector 1.1.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 (225) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +117 -0
  3. package/agents/vector-codebase-mapper.md +770 -0
  4. package/agents/vector-debugger.md +1338 -0
  5. package/agents/vector-executor.md +487 -0
  6. package/agents/vector-integration-checker.md +443 -0
  7. package/agents/vector-nyquist-auditor.md +176 -0
  8. package/agents/vector-phase-researcher.md +553 -0
  9. package/agents/vector-plan-checker.md +706 -0
  10. package/agents/vector-planner.md +1307 -0
  11. package/agents/vector-project-researcher.md +629 -0
  12. package/agents/vector-research-synthesizer.md +247 -0
  13. package/agents/vector-roadmapper.md +650 -0
  14. package/agents/vector-ui-auditor.md +439 -0
  15. package/agents/vector-ui-checker.md +300 -0
  16. package/agents/vector-ui-researcher.md +353 -0
  17. package/agents/vector-verifier.md +579 -0
  18. package/bin/install.cjs +2907 -0
  19. package/bin/install.cjs.map +1 -0
  20. package/bin/install.cts +3103 -0
  21. package/bin/install.d.cts +3 -0
  22. package/bin/install.d.cts.map +1 -0
  23. package/commands/vector/add-phase.md +43 -0
  24. package/commands/vector/add-tests.md +41 -0
  25. package/commands/vector/add-todo.md +47 -0
  26. package/commands/vector/audit-milestone.md +36 -0
  27. package/commands/vector/autonomous.md +41 -0
  28. package/commands/vector/check-todos.md +45 -0
  29. package/commands/vector/cleanup.md +18 -0
  30. package/commands/vector/complete-milestone.md +136 -0
  31. package/commands/vector/debug.md +168 -0
  32. package/commands/vector/discuss-phase.md +90 -0
  33. package/commands/vector/do.md +30 -0
  34. package/commands/vector/execute-phase.md +41 -0
  35. package/commands/vector/health.md +22 -0
  36. package/commands/vector/help.md +22 -0
  37. package/commands/vector/insert-phase.md +32 -0
  38. package/commands/vector/join-discord.md +18 -0
  39. package/commands/vector/list-phase-assumptions.md +46 -0
  40. package/commands/vector/map-codebase.md +71 -0
  41. package/commands/vector/new-milestone.md +44 -0
  42. package/commands/vector/new-project.md +42 -0
  43. package/commands/vector/pause-work.md +38 -0
  44. package/commands/vector/plan-milestone-gaps.md +34 -0
  45. package/commands/vector/plan-phase.md +45 -0
  46. package/commands/vector/progress.md +24 -0
  47. package/commands/vector/quick.md +47 -0
  48. package/commands/vector/reapply-patches.md +123 -0
  49. package/commands/vector/remove-phase.md +31 -0
  50. package/commands/vector/research-phase.md +190 -0
  51. package/commands/vector/resume-work.md +40 -0
  52. package/commands/vector/set-profile.md +12 -0
  53. package/commands/vector/settings.md +36 -0
  54. package/commands/vector/stats.md +18 -0
  55. package/commands/vector/ui-phase.md +34 -0
  56. package/commands/vector/ui-review.md +32 -0
  57. package/commands/vector/update.md +37 -0
  58. package/commands/vector/validate-phase.md +35 -0
  59. package/commands/vector/verify-work.md +38 -0
  60. package/core/bin/lib/commands.cjs +641 -0
  61. package/core/bin/lib/commands.cjs.map +1 -0
  62. package/core/bin/lib/commands.cts +712 -0
  63. package/core/bin/lib/commands.d.cts +23 -0
  64. package/core/bin/lib/commands.d.cts.map +1 -0
  65. package/core/bin/lib/config.cjs +281 -0
  66. package/core/bin/lib/config.cjs.map +1 -0
  67. package/core/bin/lib/config.cts +301 -0
  68. package/core/bin/lib/config.d.cts +50 -0
  69. package/core/bin/lib/config.d.cts.map +1 -0
  70. package/core/bin/lib/core.cjs +483 -0
  71. package/core/bin/lib/core.cjs.map +1 -0
  72. package/core/bin/lib/core.cts +544 -0
  73. package/core/bin/lib/core.d.cts +96 -0
  74. package/core/bin/lib/core.d.cts.map +1 -0
  75. package/core/bin/lib/frontmatter.cjs +341 -0
  76. package/core/bin/lib/frontmatter.cjs.map +1 -0
  77. package/core/bin/lib/frontmatter.cts +295 -0
  78. package/core/bin/lib/frontmatter.d.cts +18 -0
  79. package/core/bin/lib/frontmatter.d.cts.map +1 -0
  80. package/core/bin/lib/init.cjs +674 -0
  81. package/core/bin/lib/init.cjs.map +1 -0
  82. package/core/bin/lib/init.cts +775 -0
  83. package/core/bin/lib/init.d.cts +16 -0
  84. package/core/bin/lib/init.d.cts.map +1 -0
  85. package/core/bin/lib/milestone.cjs +210 -0
  86. package/core/bin/lib/milestone.cjs.map +1 -0
  87. package/core/bin/lib/milestone.cts +241 -0
  88. package/core/bin/lib/milestone.d.cts +11 -0
  89. package/core/bin/lib/milestone.d.cts.map +1 -0
  90. package/core/bin/lib/model-profiles.cjs +62 -0
  91. package/core/bin/lib/model-profiles.cjs.map +1 -0
  92. package/core/bin/lib/model-profiles.cts +66 -0
  93. package/core/bin/lib/model-profiles.d.cts +33 -0
  94. package/core/bin/lib/model-profiles.d.cts.map +1 -0
  95. package/core/bin/lib/phase.cjs +713 -0
  96. package/core/bin/lib/phase.cjs.map +1 -0
  97. package/core/bin/lib/phase.cts +914 -0
  98. package/core/bin/lib/phase.d.cts +21 -0
  99. package/core/bin/lib/phase.d.cts.map +1 -0
  100. package/core/bin/lib/roadmap.cjs +246 -0
  101. package/core/bin/lib/roadmap.cjs.map +1 -0
  102. package/core/bin/lib/roadmap.cts +311 -0
  103. package/core/bin/lib/roadmap.d.cts +7 -0
  104. package/core/bin/lib/roadmap.d.cts.map +1 -0
  105. package/core/bin/lib/state.cjs +709 -0
  106. package/core/bin/lib/state.cjs.map +1 -0
  107. package/core/bin/lib/state.cts +718 -0
  108. package/core/bin/lib/state.d.cts +47 -0
  109. package/core/bin/lib/state.d.cts.map +1 -0
  110. package/core/bin/lib/template.cjs +220 -0
  111. package/core/bin/lib/template.cjs.map +1 -0
  112. package/core/bin/lib/template.cts +229 -0
  113. package/core/bin/lib/template.d.cts +15 -0
  114. package/core/bin/lib/template.d.cts.map +1 -0
  115. package/core/bin/lib/verify.cjs +824 -0
  116. package/core/bin/lib/verify.cjs.map +1 -0
  117. package/core/bin/lib/verify.cts +829 -0
  118. package/core/bin/lib/verify.d.cts +17 -0
  119. package/core/bin/lib/verify.d.cts.map +1 -0
  120. package/core/bin/vector-tools.cjs +641 -0
  121. package/core/bin/vector-tools.cjs.map +1 -0
  122. package/core/bin/vector-tools.cts +603 -0
  123. package/core/bin/vector-tools.d.cts +128 -0
  124. package/core/bin/vector-tools.d.cts.map +1 -0
  125. package/core/references/checkpoints.md +776 -0
  126. package/core/references/continuation-format.md +249 -0
  127. package/core/references/decimal-phase-calculation.md +65 -0
  128. package/core/references/git-integration.md +248 -0
  129. package/core/references/git-planning-commit.md +38 -0
  130. package/core/references/model-profile-resolution.md +36 -0
  131. package/core/references/model-profiles.md +101 -0
  132. package/core/references/phase-argument-parsing.md +61 -0
  133. package/core/references/planning-config.md +200 -0
  134. package/core/references/questioning.md +162 -0
  135. package/core/references/tdd.md +263 -0
  136. package/core/references/ui-brand.md +160 -0
  137. package/core/references/verification-patterns.md +612 -0
  138. package/core/templates/DEBUG.md +164 -0
  139. package/core/templates/UAT.md +247 -0
  140. package/core/templates/UI-SPEC.md +100 -0
  141. package/core/templates/VALIDATION.md +76 -0
  142. package/core/templates/codebase/architecture.md +255 -0
  143. package/core/templates/codebase/concerns.md +310 -0
  144. package/core/templates/codebase/conventions.md +307 -0
  145. package/core/templates/codebase/integrations.md +280 -0
  146. package/core/templates/codebase/stack.md +186 -0
  147. package/core/templates/codebase/structure.md +285 -0
  148. package/core/templates/codebase/testing.md +480 -0
  149. package/core/templates/config.json +37 -0
  150. package/core/templates/context.md +352 -0
  151. package/core/templates/continue-here.md +78 -0
  152. package/core/templates/copilot-instructions.md +7 -0
  153. package/core/templates/debug-subagent-prompt.md +91 -0
  154. package/core/templates/discovery.md +146 -0
  155. package/core/templates/milestone-archive.md +123 -0
  156. package/core/templates/milestone.md +115 -0
  157. package/core/templates/phase-prompt.md +610 -0
  158. package/core/templates/planner-subagent-prompt.md +117 -0
  159. package/core/templates/project.md +184 -0
  160. package/core/templates/requirements.md +231 -0
  161. package/core/templates/research-project/ARCHITECTURE.md +204 -0
  162. package/core/templates/research-project/FEATURES.md +147 -0
  163. package/core/templates/research-project/PITFALLS.md +200 -0
  164. package/core/templates/research-project/STACK.md +120 -0
  165. package/core/templates/research-project/SUMMARY.md +170 -0
  166. package/core/templates/research.md +552 -0
  167. package/core/templates/retrospective.md +54 -0
  168. package/core/templates/roadmap.md +202 -0
  169. package/core/templates/state.md +176 -0
  170. package/core/templates/summary-complex.md +59 -0
  171. package/core/templates/summary-minimal.md +41 -0
  172. package/core/templates/summary-standard.md +48 -0
  173. package/core/templates/summary.md +248 -0
  174. package/core/templates/user-setup.md +311 -0
  175. package/core/templates/verification-report.md +322 -0
  176. package/core/workflows/add-phase.md +112 -0
  177. package/core/workflows/add-tests.md +351 -0
  178. package/core/workflows/add-todo.md +158 -0
  179. package/core/workflows/audit-milestone.md +332 -0
  180. package/core/workflows/autonomous.md +743 -0
  181. package/core/workflows/check-todos.md +177 -0
  182. package/core/workflows/cleanup.md +152 -0
  183. package/core/workflows/complete-milestone.md +766 -0
  184. package/core/workflows/diagnose-issues.md +219 -0
  185. package/core/workflows/discovery-phase.md +289 -0
  186. package/core/workflows/discuss-phase.md +762 -0
  187. package/core/workflows/do.md +104 -0
  188. package/core/workflows/execute-phase.md +468 -0
  189. package/core/workflows/execute-plan.md +483 -0
  190. package/core/workflows/health.md +159 -0
  191. package/core/workflows/help.md +513 -0
  192. package/core/workflows/insert-phase.md +130 -0
  193. package/core/workflows/list-phase-assumptions.md +178 -0
  194. package/core/workflows/map-codebase.md +316 -0
  195. package/core/workflows/new-milestone.md +386 -0
  196. package/core/workflows/new-project.md +1113 -0
  197. package/core/workflows/node-repair.md +92 -0
  198. package/core/workflows/pause-work.md +122 -0
  199. package/core/workflows/plan-milestone-gaps.md +274 -0
  200. package/core/workflows/plan-phase.md +666 -0
  201. package/core/workflows/progress.md +382 -0
  202. package/core/workflows/quick.md +717 -0
  203. package/core/workflows/remove-phase.md +155 -0
  204. package/core/workflows/research-phase.md +74 -0
  205. package/core/workflows/resume-project.md +307 -0
  206. package/core/workflows/settings.md +243 -0
  207. package/core/workflows/stats.md +60 -0
  208. package/core/workflows/transition.md +544 -0
  209. package/core/workflows/ui-phase.md +290 -0
  210. package/core/workflows/ui-review.md +157 -0
  211. package/core/workflows/update.md +320 -0
  212. package/core/workflows/validate-phase.md +167 -0
  213. package/core/workflows/verify-phase.md +243 -0
  214. package/core/workflows/verify-work.md +584 -0
  215. package/package.json +55 -0
  216. package/scripts/build-hooks.cjs +38 -0
  217. package/scripts/build-hooks.cjs.map +1 -0
  218. package/scripts/build-hooks.cts +41 -0
  219. package/scripts/build-hooks.d.cts +6 -0
  220. package/scripts/build-hooks.d.cts.map +1 -0
  221. package/scripts/run-tests.cjs +28 -0
  222. package/scripts/run-tests.cjs.map +1 -0
  223. package/scripts/run-tests.cts +28 -0
  224. package/scripts/run-tests.d.cts +3 -0
  225. package/scripts/run-tests.d.cts.map +1 -0
@@ -0,0 +1,30 @@
1
+ ---
2
+ name: vector:do
3
+ description: Route freeform text to the right Vector command automatically
4
+ argument-hint: "<description of what you want to do>"
5
+ allowed-tools:
6
+ - Read
7
+ - Bash
8
+ - AskUserQuestion
9
+ ---
10
+ <objective>
11
+ Analyze freeform natural language input and dispatch to the most appropriate Vector command.
12
+
13
+ Acts as a smart dispatcher — never does the work itself. Matches intent to the best Vector command using routing rules, confirms the match, then hands off.
14
+
15
+ Use when you know what you want but don't know which `/vector:*` command to run.
16
+ </objective>
17
+
18
+ <execution_context>
19
+ @~/.claude/core/workflows/do.md
20
+ @~/.claude/core/references/ui-brand.md
21
+ </execution_context>
22
+
23
+ <context>
24
+ $ARGUMENTS
25
+ </context>
26
+
27
+ <process>
28
+ Execute the do workflow from @~/.claude/core/workflows/do.md end-to-end.
29
+ Route user intent to the best Vector command and invoke it.
30
+ </process>
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: vector:execute-phase
3
+ description: Execute all plans in a phase with wave-based parallelization
4
+ argument-hint: "<phase-number> [--gaps-only]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Edit
9
+ - Glob
10
+ - Grep
11
+ - Bash
12
+ - Task
13
+ - TodoWrite
14
+ - AskUserQuestion
15
+ ---
16
+ <objective>
17
+ Execute all plans in a phase using wave-based parallel execution.
18
+
19
+ Orchestrator stays lean: discover plans, analyze dependencies, group into waves, spawn subagents, collect results. Each subagent loads the full execute-plan context and handles its own plan.
20
+
21
+ Context budget: ~15% orchestrator, 100% fresh per subagent.
22
+ </objective>
23
+
24
+ <execution_context>
25
+ @~/.claude/core/workflows/execute-phase.md
26
+ @~/.claude/core/references/ui-brand.md
27
+ </execution_context>
28
+
29
+ <context>
30
+ Phase: $ARGUMENTS
31
+
32
+ **Flags:**
33
+ - `--gaps-only` — Execute only gap closure plans (plans with `gap_closure: true` in frontmatter). Use after verify-work creates fix plans.
34
+
35
+ Context files are resolved inside the workflow via `vector-tools init execute-phase` and per-subagent `<files_to_read>` blocks.
36
+ </context>
37
+
38
+ <process>
39
+ Execute the execute-phase workflow from @~/.claude/core/workflows/execute-phase.md end-to-end.
40
+ Preserve all workflow gates (wave execution, checkpoint handling, verification, state updates, routing).
41
+ </process>
@@ -0,0 +1,22 @@
1
+ ---
2
+ name: vector:health
3
+ description: Diagnose planning directory health and optionally repair issues
4
+ argument-hint: [--repair]
5
+ allowed-tools:
6
+ - Read
7
+ - Bash
8
+ - Write
9
+ - AskUserQuestion
10
+ ---
11
+ <objective>
12
+ Validate `.planning/` directory integrity and report actionable issues. Checks for missing files, invalid configurations, inconsistent state, and orphaned plans.
13
+ </objective>
14
+
15
+ <execution_context>
16
+ @~/.claude/core/workflows/health.md
17
+ </execution_context>
18
+
19
+ <process>
20
+ Execute the health workflow from @~/.claude/core/workflows/health.md end-to-end.
21
+ Parse --repair flag from arguments and pass to workflow.
22
+ </process>
@@ -0,0 +1,22 @@
1
+ ---
2
+ name: vector:help
3
+ description: Show available Vector commands and usage guide
4
+ ---
5
+ <objective>
6
+ Display the complete Vector command reference.
7
+
8
+ Output ONLY the reference content below. Do NOT add:
9
+ - Project-specific analysis
10
+ - Git status or file context
11
+ - Next-step suggestions
12
+ - Any commentary beyond the reference
13
+ </objective>
14
+
15
+ <execution_context>
16
+ @~/.claude/core/workflows/help.md
17
+ </execution_context>
18
+
19
+ <process>
20
+ Output the complete Vector command reference from @~/.claude/core/workflows/help.md.
21
+ Display the reference content directly — no additions or modifications.
22
+ </process>
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: vector:insert-phase
3
+ description: Insert urgent work as decimal phase (e.g., 72.1) between existing phases
4
+ argument-hint: <after> <description>
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Bash
9
+ ---
10
+
11
+ <objective>
12
+ Insert a decimal phase for urgent work discovered mid-milestone that must be completed between existing integer phases.
13
+
14
+ Uses decimal numbering (72.1, 72.2, etc.) to preserve the logical sequence of planned phases while accommodating urgent insertions.
15
+
16
+ Purpose: Handle urgent work discovered during execution without renumbering entire roadmap.
17
+ </objective>
18
+
19
+ <execution_context>
20
+ @~/.claude/core/workflows/insert-phase.md
21
+ </execution_context>
22
+
23
+ <context>
24
+ Arguments: $ARGUMENTS (format: <after-phase-number> <description>)
25
+
26
+ Roadmap and state are resolved in-workflow via `init phase-op` and targeted tool calls.
27
+ </context>
28
+
29
+ <process>
30
+ Execute the insert-phase workflow from @~/.claude/core/workflows/insert-phase.md end-to-end.
31
+ Preserve all validation gates (argument parsing, phase verification, decimal calculation, roadmap updates).
32
+ </process>
@@ -0,0 +1,18 @@
1
+ ---
2
+ name: vector:join-discord
3
+ description: Join the Vector Discord community
4
+ ---
5
+
6
+ <objective>
7
+ Display the Discord invite link for the Vector community server.
8
+ </objective>
9
+
10
+ <output>
11
+ # Join the Vector Discord
12
+
13
+ Connect with other Vector users, get help, share what you're building, and stay updated.
14
+
15
+ **Invite link:** https://discord.gg/gsd
16
+
17
+ Click the link or paste it into your browser to join.
18
+ </output>
@@ -0,0 +1,46 @@
1
+ ---
2
+ name: vector:list-phase-assumptions
3
+ description: Surface Claude's assumptions about a phase approach before planning
4
+ argument-hint: "[phase]"
5
+ allowed-tools:
6
+ - Read
7
+ - Bash
8
+ - Grep
9
+ - Glob
10
+ ---
11
+
12
+ <objective>
13
+ Analyze a phase and present Claude's assumptions about technical approach, implementation order, scope boundaries, risk areas, and dependencies.
14
+
15
+ Purpose: Help users see what Claude thinks BEFORE planning begins - enabling course correction early when assumptions are wrong.
16
+ Output: Conversational output only (no file creation) - ends with "What do you think?" prompt
17
+ </objective>
18
+
19
+ <execution_context>
20
+ @~/.claude/core/workflows/list-phase-assumptions.md
21
+ </execution_context>
22
+
23
+ <context>
24
+ Phase number: $ARGUMENTS (required)
25
+
26
+ Project state and roadmap are loaded in-workflow using targeted reads.
27
+ </context>
28
+
29
+ <process>
30
+ 1. Validate phase number argument (error if missing or invalid)
31
+ 2. Check if phase exists in roadmap
32
+ 3. Follow list-phase-assumptions.md workflow:
33
+ - Analyze roadmap description
34
+ - Surface assumptions about: technical approach, implementation order, scope, risks, dependencies
35
+ - Present assumptions clearly
36
+ - Prompt "What do you think?"
37
+ 4. Gather feedback and offer next steps
38
+ </process>
39
+
40
+ <success_criteria>
41
+
42
+ - Phase validated against roadmap
43
+ - Assumptions surfaced across five areas
44
+ - User prompted for feedback
45
+ - User knows next steps (discuss context, plan phase, or correct assumptions)
46
+ </success_criteria>
@@ -0,0 +1,71 @@
1
+ ---
2
+ name: vector:map-codebase
3
+ description: Analyze codebase with parallel mapper agents to produce .planning/codebase/ documents
4
+ argument-hint: "[optional: specific area to map, e.g., 'api' or 'auth']"
5
+ allowed-tools:
6
+ - Read
7
+ - Bash
8
+ - Glob
9
+ - Grep
10
+ - Write
11
+ - Task
12
+ ---
13
+
14
+ <objective>
15
+ Analyze existing codebase using parallel vector-codebase-mapper agents to produce structured codebase documents.
16
+
17
+ Each mapper agent explores a focus area and **writes documents directly** to `.planning/codebase/`. The orchestrator only receives confirmations, keeping context usage minimal.
18
+
19
+ Output: .planning/codebase/ folder with 7 structured documents about the codebase state.
20
+ </objective>
21
+
22
+ <execution_context>
23
+ @~/.claude/core/workflows/map-codebase.md
24
+ </execution_context>
25
+
26
+ <context>
27
+ Focus area: $ARGUMENTS (optional - if provided, tells agents to focus on specific subsystem)
28
+
29
+ **Load project state if exists:**
30
+ Check for .planning/STATE.md - loads context if project already initialized
31
+
32
+ **This command can run:**
33
+ - Before /vector:new-project (brownfield codebases) - creates codebase map first
34
+ - After /vector:new-project (greenfield codebases) - updates codebase map as code evolves
35
+ - Anytime to refresh codebase understanding
36
+ </context>
37
+
38
+ <when_to_use>
39
+ **Use map-codebase for:**
40
+ - Brownfield projects before initialization (understand existing code first)
41
+ - Refreshing codebase map after significant changes
42
+ - Onboarding to an unfamiliar codebase
43
+ - Before major refactoring (understand current state)
44
+ - When STATE.md references outdated codebase info
45
+
46
+ **Skip map-codebase for:**
47
+ - Greenfield projects with no code yet (nothing to map)
48
+ - Trivial codebases (<5 files)
49
+ </when_to_use>
50
+
51
+ <process>
52
+ 1. Check if .planning/codebase/ already exists (offer to refresh or skip)
53
+ 2. Create .planning/codebase/ directory structure
54
+ 3. Spawn 4 parallel vector-codebase-mapper agents:
55
+ - Agent 1: tech focus → writes STACK.md, INTEGRATIONS.md
56
+ - Agent 2: arch focus → writes ARCHITECTURE.md, STRUCTURE.md
57
+ - Agent 3: quality focus → writes CONVENTIONS.md, TESTING.md
58
+ - Agent 4: concerns focus → writes CONCERNS.md
59
+ 4. Wait for agents to complete, collect confirmations (NOT document contents)
60
+ 5. Verify all 7 documents exist with line counts
61
+ 6. Commit codebase map
62
+ 7. Offer next steps (typically: /vector:new-project or /vector:plan-phase)
63
+ </process>
64
+
65
+ <success_criteria>
66
+ - [ ] .planning/codebase/ directory created
67
+ - [ ] All 7 codebase documents written by mapper agents
68
+ - [ ] Documents follow template structure
69
+ - [ ] Parallel agents completed without errors
70
+ - [ ] User knows next steps
71
+ </success_criteria>
@@ -0,0 +1,44 @@
1
+ ---
2
+ name: vector:new-milestone
3
+ description: Start a new milestone cycle — update PROJECT.md and route to requirements
4
+ argument-hint: "[milestone name, e.g., 'v1.1 Notifications']"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Bash
9
+ - Task
10
+ - AskUserQuestion
11
+ ---
12
+ <objective>
13
+ Start a new milestone: questioning → research (optional) → requirements → roadmap.
14
+
15
+ Brownfield equivalent of new-project. Project exists, PROJECT.md has history. Gathers "what's next", updates PROJECT.md, then runs requirements → roadmap cycle.
16
+
17
+ **Creates/Updates:**
18
+ - `.planning/PROJECT.md` — updated with new milestone goals
19
+ - `.planning/research/` — domain research (optional, NEW features only)
20
+ - `.planning/REQUIREMENTS.md` — scoped requirements for this milestone
21
+ - `.planning/ROADMAP.md` — phase structure (continues numbering)
22
+ - `.planning/STATE.md` — reset for new milestone
23
+
24
+ **After:** `/vector:plan-phase [N]` to start execution.
25
+ </objective>
26
+
27
+ <execution_context>
28
+ @~/.claude/core/workflows/new-milestone.md
29
+ @~/.claude/core/references/questioning.md
30
+ @~/.claude/core/references/ui-brand.md
31
+ @~/.claude/core/templates/project.md
32
+ @~/.claude/core/templates/requirements.md
33
+ </execution_context>
34
+
35
+ <context>
36
+ Milestone name: $ARGUMENTS (optional - will prompt if not provided)
37
+
38
+ Project and milestone context files are resolved inside the workflow (`init new-milestone`) and delegated via `<files_to_read>` blocks where subagents are used.
39
+ </context>
40
+
41
+ <process>
42
+ Execute the new-milestone workflow from @~/.claude/core/workflows/new-milestone.md end-to-end.
43
+ Preserve all workflow gates (validation, questioning, research, requirements, roadmap approval, commits).
44
+ </process>
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: vector:new-project
3
+ description: Initialize a new project with deep context gathering and PROJECT.md
4
+ argument-hint: "[--auto]"
5
+ allowed-tools:
6
+ - Read
7
+ - Bash
8
+ - Write
9
+ - Task
10
+ - AskUserQuestion
11
+ ---
12
+ <context>
13
+ **Flags:**
14
+ - `--auto` — Automatic mode. After config questions, runs research → requirements → roadmap without further interaction. Expects idea document via @ reference.
15
+ </context>
16
+
17
+ <objective>
18
+ Initialize a new project through unified flow: questioning → research (optional) → requirements → roadmap.
19
+
20
+ **Creates:**
21
+ - `.planning/PROJECT.md` — project context
22
+ - `.planning/config.json` — workflow preferences
23
+ - `.planning/research/` — domain research (optional)
24
+ - `.planning/REQUIREMENTS.md` — scoped requirements
25
+ - `.planning/ROADMAP.md` — phase structure
26
+ - `.planning/STATE.md` — project memory
27
+
28
+ **After this command:** Run `/vector:plan-phase 1` to start execution.
29
+ </objective>
30
+
31
+ <execution_context>
32
+ @~/.claude/core/workflows/new-project.md
33
+ @~/.claude/core/references/questioning.md
34
+ @~/.claude/core/references/ui-brand.md
35
+ @~/.claude/core/templates/project.md
36
+ @~/.claude/core/templates/requirements.md
37
+ </execution_context>
38
+
39
+ <process>
40
+ Execute the new-project workflow from @~/.claude/core/workflows/new-project.md end-to-end.
41
+ Preserve all workflow gates (validation, approvals, commits, routing).
42
+ </process>
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: vector:pause-work
3
+ description: Create context handoff when pausing work mid-phase
4
+ allowed-tools:
5
+ - Read
6
+ - Write
7
+ - Bash
8
+ ---
9
+
10
+ <objective>
11
+ Create `.continue-here.md` handoff file to preserve complete work state across sessions.
12
+
13
+ Routes to the pause-work workflow which handles:
14
+ - Current phase detection from recent files
15
+ - Complete state gathering (position, completed work, remaining work, decisions, blockers)
16
+ - Handoff file creation with all context sections
17
+ - Git commit as WIP
18
+ - Resume instructions
19
+ </objective>
20
+
21
+ <execution_context>
22
+ @~/.claude/core/workflows/pause-work.md
23
+ </execution_context>
24
+
25
+ <context>
26
+ State and phase progress are gathered in-workflow with targeted reads.
27
+ </context>
28
+
29
+ <process>
30
+ **Follow the pause-work workflow** from `@~/.claude/core/workflows/pause-work.md`.
31
+
32
+ The workflow handles all logic including:
33
+ 1. Phase directory detection
34
+ 2. State gathering with user clarifications
35
+ 3. Handoff file writing with timestamp
36
+ 4. Git commit
37
+ 5. Confirmation with resume instructions
38
+ </process>
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: vector:plan-milestone-gaps
3
+ description: Create phases to close all gaps identified by milestone audit
4
+ allowed-tools:
5
+ - Read
6
+ - Write
7
+ - Bash
8
+ - Glob
9
+ - Grep
10
+ - AskUserQuestion
11
+ ---
12
+ <objective>
13
+ Create all phases necessary to close gaps identified by `/vector:audit-milestone`.
14
+
15
+ Reads MILESTONE-AUDIT.md, groups gaps into logical phases, creates phase entries in ROADMAP.md, and offers to plan each phase.
16
+
17
+ One command creates all fix phases — no manual `/vector:add-phase` per gap.
18
+ </objective>
19
+
20
+ <execution_context>
21
+ @~/.claude/core/workflows/plan-milestone-gaps.md
22
+ </execution_context>
23
+
24
+ <context>
25
+ **Audit results:**
26
+ Glob: .planning/v*-MILESTONE-AUDIT.md (use most recent)
27
+
28
+ Original intent and current planning state are loaded on demand inside the workflow.
29
+ </context>
30
+
31
+ <process>
32
+ Execute the plan-milestone-gaps workflow from @~/.claude/core/workflows/plan-milestone-gaps.md end-to-end.
33
+ Preserve all workflow gates (audit loading, prioritization, phase grouping, user confirmation, roadmap updates).
34
+ </process>
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: vector:plan-phase
3
+ description: Create detailed phase plan (PLAN.md) with verification loop
4
+ argument-hint: "[phase] [--auto] [--research] [--skip-research] [--gaps] [--skip-verify] [--prd <file>]"
5
+ agent: vector-planner
6
+ allowed-tools:
7
+ - Read
8
+ - Write
9
+ - Bash
10
+ - Glob
11
+ - Grep
12
+ - Task
13
+ - WebFetch
14
+ - mcp__context7__*
15
+ ---
16
+ <objective>
17
+ Create executable phase prompts (PLAN.md files) for a roadmap phase with integrated research and verification.
18
+
19
+ **Default flow:** Research (if needed) → Plan → Verify → Done
20
+
21
+ **Orchestrator role:** Parse arguments, validate phase, research domain (unless skipped), spawn vector-planner, verify with vector-plan-checker, iterate until pass or max iterations, present results.
22
+ </objective>
23
+
24
+ <execution_context>
25
+ @~/.claude/core/workflows/plan-phase.md
26
+ @~/.claude/core/references/ui-brand.md
27
+ </execution_context>
28
+
29
+ <context>
30
+ Phase number: $ARGUMENTS (optional — auto-detects next unplanned phase if omitted)
31
+
32
+ **Flags:**
33
+ - `--research` — Force re-research even if RESEARCH.md exists
34
+ - `--skip-research` — Skip research, go straight to planning
35
+ - `--gaps` — Gap closure mode (reads VERIFICATION.md, skips research)
36
+ - `--skip-verify` — Skip verification loop
37
+ - `--prd <file>` — Use a PRD/acceptance criteria file instead of discuss-phase. Parses requirements into CONTEXT.md automatically. Skips discuss-phase entirely.
38
+
39
+ Normalize phase input in step 2 before any directory lookups.
40
+ </context>
41
+
42
+ <process>
43
+ Execute the plan-phase workflow from @~/.claude/core/workflows/plan-phase.md end-to-end.
44
+ Preserve all workflow gates (validation, research, planning, verification loop, routing).
45
+ </process>
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: vector:progress
3
+ description: Check project progress, show context, and route to next action (execute or plan)
4
+ allowed-tools:
5
+ - Read
6
+ - Bash
7
+ - Grep
8
+ - Glob
9
+ - SlashCommand
10
+ ---
11
+ <objective>
12
+ Check project progress, summarize recent work and what's ahead, then intelligently route to the next action - either executing an existing plan or creating the next one.
13
+
14
+ Provides situational awareness before continuing work.
15
+ </objective>
16
+
17
+ <execution_context>
18
+ @~/.claude/core/workflows/progress.md
19
+ </execution_context>
20
+
21
+ <process>
22
+ Execute the progress workflow from @~/.claude/core/workflows/progress.md end-to-end.
23
+ Preserve all routing logic (Routes A through F) and edge case handling.
24
+ </process>
@@ -0,0 +1,47 @@
1
+ ---
2
+ name: vector:quick
3
+ description: Execute a quick task with Vector guarantees (atomic commits, state tracking) but skip optional agents
4
+ argument-hint: "[--full] [--discuss] [--research]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Edit
9
+ - Glob
10
+ - Grep
11
+ - Bash
12
+ - Task
13
+ - AskUserQuestion
14
+ ---
15
+ <objective>
16
+ Execute small, ad-hoc tasks with Vector guarantees (atomic commits, STATE.md tracking).
17
+
18
+ Quick mode is the same system with a shorter path:
19
+ - Spawns vector-planner (quick mode) + vector-executor(s)
20
+ - Quick tasks live in `.planning/quick/` separate from planned phases
21
+ - Updates STATE.md "Quick Tasks Completed" table (NOT ROADMAP.md)
22
+
23
+ **Default:** Skips research, discussion, plan-checker, verifier. Use when you know exactly what to do.
24
+
25
+ **`--discuss` flag:** Lightweight discussion phase before planning. Surfaces assumptions, clarifies gray areas, captures decisions in CONTEXT.md. Use when the task has ambiguity worth resolving upfront.
26
+
27
+ **`--full` flag:** Enables plan-checking (max 2 iterations) and post-execution verification. Use when you want quality guarantees without full milestone ceremony.
28
+
29
+ **`--research` flag:** Spawns a focused research agent before planning. Investigates implementation approaches, library options, and pitfalls for the task. Use when you're unsure of the best approach.
30
+
31
+ Flags are composable: `--discuss --research --full` gives discussion + research + plan-checking + verification.
32
+ </objective>
33
+
34
+ <execution_context>
35
+ @~/.claude/core/workflows/quick.md
36
+ </execution_context>
37
+
38
+ <context>
39
+ $ARGUMENTS
40
+
41
+ Context files are resolved inside the workflow (`init quick`) and delegated via `<files_to_read>` blocks.
42
+ </context>
43
+
44
+ <process>
45
+ Execute the quick workflow from @~/.claude/core/workflows/quick.md end-to-end.
46
+ Preserve all workflow gates (validation, task description, planning, execution, state updates, commits).
47
+ </process>