specialist-agent 2.7.0 → 2.8.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 (213) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +2 -2
  3. package/.codex/INSTALL.md +12 -3
  4. package/.cursor-plugin/plugin.json +2 -2
  5. package/.opencode/INSTALL.md +12 -3
  6. package/README.md +8 -6
  7. package/agents/analyst-lite.md +1 -1
  8. package/agents/analyst.md +7 -7
  9. package/agents/api-lite.md +5 -5
  10. package/agents/api.md +13 -13
  11. package/agents/architect-lite.md +7 -7
  12. package/agents/architect.md +26 -26
  13. package/agents/cloud-lite.md +3 -3
  14. package/agents/cloud.md +15 -15
  15. package/agents/data-lite.md +1 -1
  16. package/agents/data.md +26 -26
  17. package/agents/debugger-lite.md +2 -2
  18. package/agents/debugger.md +15 -15
  19. package/agents/deps-lite.md +4 -4
  20. package/agents/deps.md +21 -21
  21. package/agents/designer-lite.md +1 -1
  22. package/agents/designer.md +13 -13
  23. package/agents/devops-lite.md +1 -1
  24. package/agents/devops.md +11 -11
  25. package/agents/docs-lite.md +5 -5
  26. package/agents/docs.md +39 -30
  27. package/agents/executor-lite.md +1 -1
  28. package/agents/executor.md +25 -25
  29. package/agents/explorer-lite.md +3 -3
  30. package/agents/explorer.md +13 -13
  31. package/agents/finance-lite.md +1 -1
  32. package/agents/finance.md +18 -18
  33. package/agents/i18n-lite.md +4 -4
  34. package/agents/i18n.md +24 -24
  35. package/agents/legal-lite.md +9 -9
  36. package/agents/legal.md +15 -15
  37. package/agents/memory.md +9 -9
  38. package/agents/orchestrator-lite.md +1 -1
  39. package/agents/orchestrator.md +8 -8
  40. package/agents/pair-lite.md +2 -2
  41. package/agents/pair.md +14 -14
  42. package/agents/perf-lite.md +4 -4
  43. package/agents/perf.md +20 -20
  44. package/agents/planner-lite.md +4 -4
  45. package/agents/planner.md +21 -21
  46. package/agents/refactor-lite.md +4 -4
  47. package/agents/refactor.md +32 -32
  48. package/agents/ripple-lite.md +8 -8
  49. package/agents/ripple.md +14 -14
  50. package/agents/scout-lite.md +1 -1
  51. package/agents/scout.md +19 -19
  52. package/agents/security-lite.md +1 -1
  53. package/agents/security.md +18 -18
  54. package/agents/starter-lite.md +3 -3
  55. package/agents/starter.md +29 -29
  56. package/agents/tdd-lite.md +2 -2
  57. package/agents/tdd.md +16 -16
  58. package/agents/tester-lite.md +1 -1
  59. package/agents/tester.md +18 -18
  60. package/cli/index.mjs +33 -9
  61. package/hooks/native/auto-dispatch.mjs +4 -4
  62. package/hooks/native/auto-format.mjs +13 -10
  63. package/hooks/native/security-guard.mjs +16 -11
  64. package/hooks/native/session-context.mjs +2 -2
  65. package/hooks/native/utils.mjs +1 -1
  66. package/package.json +2 -2
  67. package/packs/angular/CLAUDE.md +2 -2
  68. package/packs/angular/agents/builder.md +14 -14
  69. package/packs/angular/agents/doctor.md +14 -14
  70. package/packs/angular/agents/migrator.md +16 -16
  71. package/packs/angular/agents/reviewer.md +22 -22
  72. package/packs/angular/agents-lite/builder.md +1 -1
  73. package/packs/angular/agents-lite/doctor.md +1 -1
  74. package/packs/angular/agents-lite/migrator.md +2 -2
  75. package/packs/angular/agents-lite/reviewer.md +8 -8
  76. package/packs/angular/skills/dev-create-component/SKILL.md +1 -1
  77. package/packs/angular/skills/dev-create-injectable/SKILL.md +2 -2
  78. package/packs/angular/skills/dev-create-module/SKILL.md +1 -1
  79. package/packs/angular/skills/dev-create-service/SKILL.md +1 -1
  80. package/packs/angular/skills/dev-create-test/SKILL.md +1 -1
  81. package/packs/angular/skills/migration-migrate-module/SKILL.md +1 -1
  82. package/packs/angular/skills/review-check-architecture/SKILL.md +1 -1
  83. package/packs/angular/skills/review-review/SKILL.md +5 -5
  84. package/packs/astro/ARCHITECTURE.md +17 -17
  85. package/packs/astro/CLAUDE.md +4 -4
  86. package/packs/astro/agents/builder.md +28 -28
  87. package/packs/astro/agents/doctor.md +15 -15
  88. package/packs/astro/agents/migrator.md +18 -18
  89. package/packs/astro/agents/reviewer.md +26 -26
  90. package/packs/astro/agents-lite/builder.md +1 -1
  91. package/packs/astro/agents-lite/doctor.md +2 -2
  92. package/packs/astro/agents-lite/migrator.md +10 -10
  93. package/packs/astro/agents-lite/reviewer.md +9 -9
  94. package/packs/astro/skills/dev-create-component/SKILL.md +1 -1
  95. package/packs/astro/skills/dev-create-island/SKILL.md +7 -7
  96. package/packs/astro/skills/dev-create-module/SKILL.md +1 -1
  97. package/packs/astro/skills/dev-create-service/SKILL.md +5 -5
  98. package/packs/astro/skills/dev-create-test/SKILL.md +4 -4
  99. package/packs/astro/skills/dev-generate-types/SKILL.md +6 -6
  100. package/packs/astro/skills/migration-migrate-module/SKILL.md +1 -1
  101. package/packs/astro/skills/review-check-architecture/SKILL.md +1 -1
  102. package/packs/astro/skills/review-review/SKILL.md +5 -5
  103. package/packs/nextjs/CLAUDE.md +2 -2
  104. package/packs/nextjs/agents/builder.md +12 -12
  105. package/packs/nextjs/agents/doctor.md +11 -11
  106. package/packs/nextjs/agents/migrator.md +14 -14
  107. package/packs/nextjs/agents/reviewer.md +17 -17
  108. package/packs/nextjs/agents-lite/builder.md +1 -1
  109. package/packs/nextjs/agents-lite/doctor.md +1 -1
  110. package/packs/nextjs/agents-lite/migrator.md +2 -2
  111. package/packs/nextjs/agents-lite/reviewer.md +4 -4
  112. package/packs/nextjs/skills/dev-create-component/SKILL.md +1 -1
  113. package/packs/nextjs/skills/dev-create-hook/SKILL.md +1 -1
  114. package/packs/nextjs/skills/dev-create-module/SKILL.md +1 -1
  115. package/packs/nextjs/skills/dev-create-service/SKILL.md +1 -1
  116. package/packs/nextjs/skills/dev-create-test/SKILL.md +1 -1
  117. package/packs/nextjs/skills/migration-migrate-module/SKILL.md +1 -1
  118. package/packs/nextjs/skills/review-check-architecture/SKILL.md +1 -1
  119. package/packs/nextjs/skills/review-review/SKILL.md +1 -1
  120. package/packs/nuxt/ARCHITECTURE.md +25 -25
  121. package/packs/nuxt/CLAUDE.md +6 -6
  122. package/packs/nuxt/agents/builder.md +24 -24
  123. package/packs/nuxt/agents/doctor.md +15 -15
  124. package/packs/nuxt/agents/migrator.md +15 -15
  125. package/packs/nuxt/agents/reviewer.md +23 -23
  126. package/packs/nuxt/agents-lite/builder.md +1 -1
  127. package/packs/nuxt/agents-lite/doctor.md +3 -3
  128. package/packs/nuxt/agents-lite/migrator.md +8 -8
  129. package/packs/nuxt/agents-lite/reviewer.md +8 -8
  130. package/packs/nuxt/skills/dev-create-component/SKILL.md +1 -1
  131. package/packs/nuxt/skills/dev-create-composable/SKILL.md +1 -1
  132. package/packs/nuxt/skills/dev-create-module/SKILL.md +1 -1
  133. package/packs/nuxt/skills/dev-create-service/SKILL.md +5 -5
  134. package/packs/nuxt/skills/dev-create-test/SKILL.md +2 -2
  135. package/packs/nuxt/skills/dev-generate-types/SKILL.md +6 -6
  136. package/packs/nuxt/skills/migration-migrate-module/SKILL.md +1 -1
  137. package/packs/nuxt/skills/review-check-architecture/SKILL.md +1 -1
  138. package/packs/nuxt/skills/review-review/SKILL.md +5 -5
  139. package/packs/react/CLAUDE.md +2 -2
  140. package/packs/react/agents/builder.md +12 -12
  141. package/packs/react/agents/doctor.md +13 -13
  142. package/packs/react/agents/migrator.md +14 -14
  143. package/packs/react/agents/reviewer.md +18 -18
  144. package/packs/react/agents-lite/builder.md +1 -1
  145. package/packs/react/agents-lite/doctor.md +1 -1
  146. package/packs/react/agents-lite/migrator.md +2 -2
  147. package/packs/react/agents-lite/reviewer.md +4 -4
  148. package/packs/react/skills/dev-create-component/SKILL.md +1 -1
  149. package/packs/react/skills/dev-create-hook/SKILL.md +1 -1
  150. package/packs/react/skills/dev-create-module/SKILL.md +1 -1
  151. package/packs/react/skills/dev-create-service/SKILL.md +1 -1
  152. package/packs/react/skills/dev-create-test/SKILL.md +1 -1
  153. package/packs/react/skills/migration-migrate-module/SKILL.md +1 -1
  154. package/packs/react/skills/review-check-architecture/SKILL.md +1 -1
  155. package/packs/react/skills/review-review/SKILL.md +1 -1
  156. package/packs/svelte/CLAUDE.md +2 -2
  157. package/packs/svelte/agents/builder.md +12 -12
  158. package/packs/svelte/agents/doctor.md +11 -11
  159. package/packs/svelte/agents/migrator.md +14 -14
  160. package/packs/svelte/agents/reviewer.md +17 -17
  161. package/packs/svelte/agents-lite/builder.md +1 -1
  162. package/packs/svelte/agents-lite/doctor.md +1 -1
  163. package/packs/svelte/agents-lite/migrator.md +2 -2
  164. package/packs/svelte/agents-lite/reviewer.md +4 -4
  165. package/packs/svelte/skills/dev-create-component/SKILL.md +1 -1
  166. package/packs/svelte/skills/dev-create-module/SKILL.md +1 -1
  167. package/packs/svelte/skills/dev-create-service/SKILL.md +1 -1
  168. package/packs/svelte/skills/dev-create-store/SKILL.md +1 -1
  169. package/packs/svelte/skills/dev-create-test/SKILL.md +1 -1
  170. package/packs/svelte/skills/migration-migrate-module/SKILL.md +1 -1
  171. package/packs/svelte/skills/review-check-architecture/SKILL.md +1 -1
  172. package/packs/svelte/skills/review-review/SKILL.md +1 -1
  173. package/packs/vue/ARCHITECTURE.md +7 -7
  174. package/packs/vue/CLAUDE.md +3 -3
  175. package/packs/vue/agents/builder.md +24 -24
  176. package/packs/vue/agents/doctor.md +14 -14
  177. package/packs/vue/agents/migrator.md +15 -15
  178. package/packs/vue/agents/reviewer.md +23 -23
  179. package/packs/vue/agents-lite/builder.md +1 -1
  180. package/packs/vue/agents-lite/doctor.md +2 -2
  181. package/packs/vue/agents-lite/migrator.md +8 -8
  182. package/packs/vue/agents-lite/reviewer.md +8 -8
  183. package/packs/vue/skills/dev-create-component/SKILL.md +1 -1
  184. package/packs/vue/skills/dev-create-composable/SKILL.md +1 -1
  185. package/packs/vue/skills/dev-create-module/SKILL.md +1 -1
  186. package/packs/vue/skills/dev-create-service/SKILL.md +5 -5
  187. package/packs/vue/skills/dev-create-test/SKILL.md +2 -2
  188. package/packs/vue/skills/dev-generate-types/SKILL.md +6 -6
  189. package/packs/vue/skills/migration-migrate-module/SKILL.md +1 -1
  190. package/packs/vue/skills/review-check-architecture/SKILL.md +1 -1
  191. package/packs/vue/skills/review-review/SKILL.md +1 -1
  192. package/skills/audit/SKILL.md +10 -10
  193. package/skills/brainstorm/SKILL.md +27 -27
  194. package/skills/checkpoint/SKILL.md +3 -3
  195. package/skills/codereview/SKILL.md +28 -28
  196. package/skills/commit/SKILL.md +9 -9
  197. package/skills/debug/SKILL.md +7 -7
  198. package/skills/estimate/SKILL.md +1 -1
  199. package/skills/finish/SKILL.md +5 -5
  200. package/skills/health/SKILL.md +9 -9
  201. package/skills/learn/SKILL.md +9 -9
  202. package/skills/lint/SKILL.md +9 -9
  203. package/skills/migrate-framework/SKILL.md +7 -7
  204. package/skills/onboard/SKILL.md +10 -10
  205. package/skills/plan/SKILL.md +10 -10
  206. package/skills/recall/SKILL.md +5 -5
  207. package/skills/remember/SKILL.md +5 -5
  208. package/skills/tdd/SKILL.md +12 -12
  209. package/skills/tutorial/SKILL.md +16 -16
  210. package/skills/verify/SKILL.md +24 -24
  211. package/skills/worktree/SKILL.md +8 -8
  212. package/skills/write-skill/SKILL.md +16 -16
  213. package/templates/skill-template/SKILL.md +5 -5
@@ -6,7 +6,7 @@ argument-hint: "[path or module]"
6
6
  allowed-tools: Read, Bash, Glob, Grep
7
7
  ---
8
8
 
9
- # /audit — Multi-Agent Code Audit
9
+ # /audit - Multi-Agent Code Audit
10
10
 
11
11
  Run a comprehensive audit that combines security, performance, architecture, and dependency analysis in one pass.
12
12
 
@@ -138,12 +138,12 @@ Compile findings into a structured report with severity ratings.
138
138
 
139
139
  ## Rules
140
140
 
141
- 1. **Check all 4 domains** — Skipping one defeats the purpose
142
- 2. **Run automated tools** — Never skip `npm audit` or linting if available
143
- 3. **Severity must be justified** — Every rating needs evidence
144
- 4. **Remediation is required** — Findings without fix suggestions are useless
145
- 5. **Line references are required** — Point to exact files and lines
146
- 6. **Never assume safety** — Verify, don't trust
141
+ 1. **Check all 4 domains** - Skipping one defeats the purpose
142
+ 2. **Run automated tools** - Never skip `npm audit` or linting if available
143
+ 3. **Severity must be justified** - Every rating needs evidence
144
+ 4. **Remediation is required** - Findings without fix suggestions are useless
145
+ 5. **Line references are required** - Point to exact files and lines
146
+ 6. **Never assume safety** - Verify, don't trust
147
147
 
148
148
  ## Output
149
149
 
@@ -161,9 +161,9 @@ Overall Score: [0-100]
161
161
  Risk Level: [CRITICAL | HIGH | MEDIUM | LOW]
162
162
 
163
163
  Top Findings:
164
- 1. [CRITICAL] [description] — [file:line]
165
- 2. [HIGH] [description] — [file:line]
166
- 3. [HIGH] [description] — [file:line]
164
+ 1. [CRITICAL] [description] - [file:line]
165
+ 2. [HIGH] [description] - [file:line]
166
+ 3. [HIGH] [description] - [file:line]
167
167
 
168
168
  Full report: [inline below]
169
169
  ```
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  name: brainstorm
3
- description: "Use when starting a complex feature, exploring unclear requirements, or needing to challenge assumptions before committing to a design — before /plan."
3
+ description: "Use when starting a complex feature, exploring unclear requirements, or needing to challenge assumptions before committing to a design - before /plan."
4
4
  user-invocable: true
5
5
  argument-hint: "[idea or feature description]"
6
6
  allowed-tools: Read, Glob, Grep
7
7
  ---
8
8
 
9
- # /brainstorm — Socratic Brainstorming
9
+ # /brainstorm - Socratic Brainstorming
10
10
 
11
11
  Refine ideas through questioning before committing to a plan. Better questions lead to better designs.
12
12
 
@@ -23,18 +23,18 @@ Refine ideas through questioning before committing to a plan. Better questions l
23
23
 
24
24
  ## Workflow
25
25
 
26
- ### Step 1: Discovery — Understand the Problem Space
26
+ ### Step 1: Discovery - Understand the Problem Space
27
27
 
28
28
  Ask open-ended questions to map what's being built:
29
29
 
30
- 1. **Read relevant code** — Ground the discussion in reality
30
+ 1. **Read relevant code** - Ground the discussion in reality
31
31
  2. **Ask foundational questions:**
32
32
  - "What problem does this solve for the user?"
33
33
  - "Who are the primary users? Secondary users?"
34
34
  - "What does success look like? How will we measure it?"
35
35
  - "What's explicitly out of scope?"
36
36
  - "Are there existing patterns in the codebase we should follow?"
37
- 3. **Map the domain** — Identify entities, relationships, boundaries
37
+ 3. **Map the domain** - Identify entities, relationships, boundaries
38
38
 
39
39
  **Output:**
40
40
  ```markdown
@@ -49,17 +49,17 @@ Existing patterns: [relevant code already in the project]
49
49
 
50
50
  **BLOCKED** until problem space is understood.
51
51
 
52
- ### Step 2: Clarification — Challenge Vague Terms
52
+ ### Step 2: Clarification - Challenge Vague Terms
53
53
 
54
54
  Force precision on ambiguous language:
55
55
 
56
- 1. **Identify vague terms** — "fast", "scalable", "simple", "flexible"
56
+ 1. **Identify vague terms** - "fast", "scalable", "simple", "flexible"
57
57
  2. **Ask for specifics:**
58
58
  - "When you say 'fast', what response time is acceptable?"
59
59
  - "When you say 'scalable', how many concurrent users?"
60
60
  - "What do you mean by 'simple'? Simple to use or simple to implement?"
61
- 3. **Resolve contradictions** — "You want it fast AND fully validated?"
62
- 4. **Document decisions** — Each clarification becomes a constraint
61
+ 3. **Resolve contradictions** - "You want it fast AND fully validated?"
62
+ 4. **Document decisions** - Each clarification becomes a constraint
63
63
 
64
64
  **Output:**
65
65
  ```markdown
@@ -74,7 +74,7 @@ Force precision on ambiguous language:
74
74
 
75
75
  **BLOCKED** until all vague terms are defined.
76
76
 
77
- ### Step 3: Assumption Testing — Surface Hidden Premises
77
+ ### Step 3: Assumption Testing - Surface Hidden Premises
78
78
 
79
79
  List and challenge implicit assumptions:
80
80
 
@@ -87,9 +87,9 @@ List and challenge implicit assumptions:
87
87
  - "Is there evidence supporting this?"
88
88
  - "What's the fallback if this changes?"
89
89
  3. **Classify assumptions:**
90
- - **Validated** — Evidence exists
91
- - **Risky** — No evidence, high impact if wrong
92
- - **Safe** — Low impact even if wrong
90
+ - **Validated** - Evidence exists
91
+ - **Risky** - No evidence, high impact if wrong
92
+ - **Safe** - Low impact even if wrong
93
93
 
94
94
  **Output:**
95
95
  ```markdown
@@ -106,14 +106,14 @@ Risky assumptions to address: [list]
106
106
 
107
107
  **BLOCKED** until at least 5 assumptions are identified and tested.
108
108
 
109
- ### Step 4: Alternative Generation — Explore Options
109
+ ### Step 4: Alternative Generation - Explore Options
110
110
 
111
111
  Generate multiple approaches:
112
112
 
113
113
  1. **Produce at least 3 alternatives:**
114
- - **Approach A** — The obvious solution
115
- - **Approach B** — The simpler alternative
116
- - **Approach C** — The scalable/future-proof option
114
+ - **Approach A** - The obvious solution
115
+ - **Approach B** - The simpler alternative
116
+ - **Approach C** - The scalable/future-proof option
117
117
  2. **For each approach, document:**
118
118
  - Description (2-3 sentences)
119
119
  - Pros (concrete benefits)
@@ -139,17 +139,17 @@ Recommendation: Approach [X] because [rationale]
139
139
 
140
140
  **BLOCKED** until 3+ alternatives with pros/cons exist.
141
141
 
142
- ### Step 5: Convergence — Synthesize and Validate
142
+ ### Step 5: Convergence - Synthesize and Validate
143
143
 
144
144
  Present the design for approval in digestible sections:
145
145
 
146
146
  1. **Synthesize chosen approach** into a design summary
147
- 2. **Present in sections** — Each section gets user approval:
147
+ 2. **Present in sections** - Each section gets user approval:
148
148
  - Section 1: Problem & scope (approve?)
149
149
  - Section 2: Technical approach (approve?)
150
150
  - Section 3: Data model / API design (approve?)
151
151
  - Section 4: Key decisions & trade-offs (approve?)
152
- 3. **Document final design** — Ready for `/plan` handoff
152
+ 3. **Document final design** - Ready for `/plan` handoff
153
153
 
154
154
  **Output:**
155
155
  ```markdown
@@ -205,13 +205,13 @@ IF /brainstorm output exists:
205
205
 
206
206
  ## Rules
207
207
 
208
- 1. **Never skip assumption testing** — Hidden assumptions cause the biggest failures
209
- 2. **Always generate 3+ alternatives** — One option is not a choice
210
- 3. **Never proceed without user approval** — Design is collaborative
211
- 4. **Keep questions focused** — No irrelevant tangents or philosophical debates
212
- 5. **Ground in codebase** — Read actual files, don't hypothesize about code that exists
213
- 6. **Output must be actionable** — Ready for `/plan` handoff, not abstract musings
214
- 7. **Present in sections** — Digestible chunks, not a wall of text
208
+ 1. **Never skip assumption testing** - Hidden assumptions cause the biggest failures
209
+ 2. **Always generate 3+ alternatives** - One option is not a choice
210
+ 3. **Never proceed without user approval** - Design is collaborative
211
+ 4. **Keep questions focused** - No irrelevant tangents or philosophical debates
212
+ 5. **Ground in codebase** - Read actual files, don't hypothesize about code that exists
213
+ 6. **Output must be actionable** - Ready for `/plan` handoff, not abstract musings
214
+ 7. **Present in sections** - Digestible chunks, not a wall of text
215
215
 
216
216
  ## Output
217
217
 
@@ -6,7 +6,7 @@ argument-hint: "[create|restore|list|clean] [name]"
6
6
  allowed-tools: Bash
7
7
  ---
8
8
 
9
- # /checkpoint — Git Checkpoint Management
9
+ # /checkpoint - Git Checkpoint Management
10
10
 
11
11
  Create, restore, list, or clean git checkpoints.
12
12
 
@@ -206,12 +206,12 @@ Operation: [create|restore|list|clean]
206
206
  | Excuse | Reality |
207
207
  |--------|---------|
208
208
  | "I don't need a checkpoint, it's a small change" | Small changes break things too. A checkpoint takes 2 seconds, a rollback without one takes hours. |
209
- | "Git history is enough" | Checkpoints are labeled save points — faster than hunting through `git reflog`. |
209
+ | "Git history is enough" | Checkpoints are labeled save points - faster than hunting through `git reflog`. |
210
210
  | "I'll just undo if something goes wrong" | You can't undo what you can't identify. Checkpoints mark the exact safe state. |
211
211
 
212
212
  ## Rules
213
213
 
214
- 1. **Always confirm before restore** — Destructive operation
214
+ 1. **Always confirm before restore** - Destructive operation
215
215
  2. **Create restore point before major work**
216
216
  3. **Clean checkpoints after successful completion**
217
217
  4. **Keep restore points until merge**
@@ -1,20 +1,20 @@
1
1
  ---
2
2
  name: codereview
3
- description: "Use when you need a comprehensive code review combining architecture, security, and test perspectives — especially before merging, releasing, or after major changes."
3
+ description: "Use when you need a comprehensive code review combining architecture, security, and test perspectives - especially before merging, releasing, or after major changes."
4
4
  user-invocable: true
5
5
  argument-hint: "[path, module, or PR]"
6
6
  allowed-tools: Read, Bash, Glob, Grep
7
7
  ---
8
8
 
9
- # /codereview — Multi-Reviewer Parallel Code Review
9
+ # /codereview - Multi-Reviewer Parallel Code Review
10
10
 
11
- Run a comprehensive code review that dispatches 3 specialized perspectives concurrently — architecture, security, and testing — then consolidates into a single actionable verdict.
11
+ Run a comprehensive code review that dispatches 3 specialized perspectives concurrently - architecture, security, and testing - then consolidates into a single actionable verdict.
12
12
 
13
13
  **Target:** $ARGUMENTS
14
14
 
15
15
  ## Why 3 Perspectives, Not 6
16
16
 
17
- Most multi-reviewer systems use 5-7 overlapping perspectives that waste tokens and produce redundant findings. `/codereview` uses exactly 3 orthogonal perspectives — each covers a distinct failure mode with zero overlap:
17
+ Most multi-reviewer systems use 5-7 overlapping perspectives that waste tokens and produce redundant findings. `/codereview` uses exactly 3 orthogonal perspectives - each covers a distinct failure mode with zero overlap:
18
18
 
19
19
  ```
20
20
  ┌──────────────────────────────────────────────────────────────┐
@@ -71,7 +71,7 @@ find $TARGET -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.js" -o -name "
71
71
  gh pr diff $PR_NUMBER 2>/dev/null || git diff main...HEAD 2>/dev/null || true
72
72
  ```
73
73
 
74
- Read the project's `docs/ARCHITECTURE.md` if it exists — this is the source of truth for architecture review.
74
+ Read the project's `docs/ARCHITECTURE.md` if it exists - this is the source of truth for architecture review.
75
75
 
76
76
  ### Step 2: Parallel Review Dispatch
77
77
 
@@ -157,15 +157,15 @@ npx vitest run --passWithNoTests --reporter=json 2>/dev/null || npx jest --json
157
157
 
158
158
  Merge findings from all 3 perspectives:
159
159
 
160
- 1. **Deduplicate** — Remove findings flagged by multiple perspectives (keep highest severity)
161
- 2. **Cross-reference** — A security finding that also lacks tests is escalated one severity level
162
- 3. **Assign severity** — Every finding gets a severity level (see table below)
163
- 4. **Sort** — CRITICAL first, then HIGH, MEDIUM, LOW
164
- 5. **Group** — By file, then by severity within each file
160
+ 1. **Deduplicate** - Remove findings flagged by multiple perspectives (keep highest severity)
161
+ 2. **Cross-reference** - A security finding that also lacks tests is escalated one severity level
162
+ 3. **Assign severity** - Every finding gets a severity level (see table below)
163
+ 4. **Sort** - CRITICAL first, then HIGH, MEDIUM, LOW
164
+ 5. **Group** - By file, then by severity within each file
165
165
 
166
166
  ### Step 4: Verdict
167
167
 
168
- Apply verdict rules based on the consolidated findings. The verdict is final and non-negotiable — it follows the rules mechanically.
168
+ Apply verdict rules based on the consolidated findings. The verdict is final and non-negotiable - it follows the rules mechanically.
169
169
 
170
170
  ## Severity Levels
171
171
 
@@ -199,7 +199,7 @@ Apply verdict rules based on the consolidated findings. The verdict is final and
199
199
  3. Every CRITICAL or HIGH finding includes a specific file:line reference
200
200
  4. Every CRITICAL or HIGH finding includes a concrete remediation suggestion
201
201
  5. Automated checks were run where available (`npm audit`, `tsc`, linting, test suite)
202
- 6. The verdict follows the Verdict Rules mechanically — no exceptions
202
+ 6. The verdict follows the Verdict Rules mechanically - no exceptions
203
203
  7. Cross-referencing was performed (security findings checked for test coverage)
204
204
 
205
205
  ## Anti-Rationalization
@@ -217,16 +217,16 @@ Apply verdict rules based on the consolidated findings. The verdict is final and
217
217
 
218
218
  ## Rules
219
219
 
220
- 1. **All 3 perspectives are mandatory** — Skipping one defeats the purpose of multi-reviewer review
221
- 2. **Read-only** — Never modify files during a review
222
- 3. **Evidence required** — Every finding needs a file:line reference and explanation
223
- 4. **Remediation required** — Findings without fix suggestions are useless
224
- 5. **Verdict is mechanical** — Follow the Verdict Rules table, no subjective overrides
225
- 6. **No sycophancy** — Never say "LGTM", "looks good", or "great job" without evidence
226
- 7. **Cross-reference findings** — A security issue without tests is worse than either alone
227
- 8. **Severity must be justified** — Every rating needs a specific technical reason
228
- 9. **Run automated tools** — Never skip `npm audit`, linting, or type checking if available
229
- 10. **Fresh context per perspective** — Each reviewer perspective starts from the code, not from another reviewer's output
220
+ 1. **All 3 perspectives are mandatory** - Skipping one defeats the purpose of multi-reviewer review
221
+ 2. **Read-only** - Never modify files during a review
222
+ 3. **Evidence required** - Every finding needs a file:line reference and explanation
223
+ 4. **Remediation required** - Findings without fix suggestions are useless
224
+ 5. **Verdict is mechanical** - Follow the Verdict Rules table, no subjective overrides
225
+ 6. **No sycophancy** - Never say "LGTM", "looks good", or "great job" without evidence
226
+ 7. **Cross-reference findings** - A security issue without tests is worse than either alone
227
+ 8. **Severity must be justified** - Every rating needs a specific technical reason
228
+ 9. **Run automated tools** - Never skip `npm audit`, linting, or type checking if available
229
+ 10. **Fresh context per perspective** - Each reviewer perspective starts from the code, not from another reviewer's output
230
230
 
231
231
  ## Output
232
232
 
@@ -235,9 +235,9 @@ Apply verdict rules based on the consolidated findings. The verdict is final and
235
235
  Target: [path or PR]
236
236
  Scope: [X files, Y lines]
237
237
 
238
- Architecture: [N findings] — @reviewer
239
- Security: [N findings] — @security
240
- Tests: [N findings] — @tester
238
+ Architecture: [N findings] - @reviewer
239
+ Security: [N findings] - @security
240
+ Tests: [N findings] - @tester
241
241
 
242
242
  Severity:
243
243
  CRITICAL: N
@@ -246,9 +246,9 @@ Severity:
246
246
  LOW: N
247
247
 
248
248
  Top Findings:
249
- 1. [CRITICAL] [description] — [file:line]
250
- 2. [HIGH] [description] — [file:line]
251
- 3. [HIGH] [description] — [file:line]
249
+ 1. [CRITICAL] [description] - [file:line]
250
+ 2. [HIGH] [description] - [file:line]
251
+ 3. [HIGH] [description] - [file:line]
252
252
 
253
253
  Verdict: [APPROVE | APPROVE WITH NOTES | REQUEST_CHANGES | BLOCK]
254
254
  Reason: [1-line justification]
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  name: commit
3
- description: "Use when changes are ready to commit — generates conventional commit messages with scope detection and validation."
3
+ description: "Use when changes are ready to commit - generates conventional commit messages with scope detection and validation."
4
4
  user-invocable: true
5
5
  argument-hint: "[optional message override]"
6
6
  allowed-tools: Read, Bash, Glob, Grep
7
7
  ---
8
8
 
9
- # /commit — Smart Commit
9
+ # /commit - Smart Commit
10
10
 
11
11
  Generate and execute conventional commits with automatic scope detection and pre-commit validation.
12
12
 
@@ -66,7 +66,7 @@ Rules:
66
66
  - Type: lowercase (`feat`, `fix`, `refactor`, `test`, `docs`, `chore`, `perf`, `ci`, `style`)
67
67
  - Scope: optional, lowercase, max 15 chars
68
68
  - Description: imperative mood, lowercase start, no period, max 72 chars
69
- - Body: optional, for complex changes — wrap at 72 chars
69
+ - Body: optional, for complex changes - wrap at 72 chars
70
70
 
71
71
  If $ARGUMENTS provided, use it as description override but still validate format.
72
72
 
@@ -142,9 +142,9 @@ Files: 2 changed (+8 / -3)
142
142
 
143
143
  ## Rules
144
144
 
145
- 1. **Always validate before committing** — Check for secrets and debug code
146
- 2. **Follow conventional commits** — type(scope): description
147
- 3. **Imperative mood** — "add feature" not "added feature"
148
- 4. **Never commit .env files** — Block and warn
149
- 5. **Max 72 chars** — Subject line must fit in git log
150
- 6. **One logical change per commit** — Don't mix features
145
+ 1. **Always validate before committing** - Check for secrets and debug code
146
+ 2. **Follow conventional commits** - type(scope): description
147
+ 3. **Imperative mood** - "add feature" not "added feature"
148
+ 4. **Never commit .env files** - Block and warn
149
+ 5. **Max 72 chars** - Subject line must fit in git log
150
+ 6. **One logical change per commit** - Don't mix features
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  name: debug
3
- description: "Use when encountering any bug, test failure, unexpected behavior, or error — before proposing fixes. Use especially when previous fix attempts have failed."
3
+ description: "Use when encountering any bug, test failure, unexpected behavior, or error - before proposing fixes. Use especially when previous fix attempts have failed."
4
4
  user-invocable: true
5
5
  argument-hint: "[error message or bug description]"
6
6
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
7
7
  ---
8
8
 
9
- # /debug — Systematic Debugging
9
+ # /debug - Systematic Debugging
10
10
 
11
11
  Investigate and fix the bug using 4-phase methodology.
12
12
 
@@ -149,7 +149,7 @@ H2: [second option] (15%)
149
149
  ```markdown
150
150
  ## Resolution
151
151
 
152
- Hypothesis: H1 — CONFIRMED ✓
152
+ Hypothesis: H1 - CONFIRMED ✓
153
153
 
154
154
  Root Cause:
155
155
  [Clear explanation]
@@ -204,7 +204,7 @@ Confidence: HIGH
204
204
 
205
205
  ## Rules
206
206
 
207
- 1. **Never guess** — Evidence first
208
- 2. **Never fix without understanding** — Know the root cause
209
- 3. **Never skip phases** — Each prevents blind spots
210
- 4. **Always checkpoint** — Fixes must be reversible
207
+ 1. **Never guess** - Evidence first
208
+ 2. **Never fix without understanding** - Know the root cause
209
+ 3. **Never skip phases** - Each prevents blind spots
210
+ 4. **Always checkpoint** - Fixes must be reversible
@@ -6,7 +6,7 @@ argument-hint: "[feature description]"
6
6
  allowed-tools: Read, Glob, Grep
7
7
  ---
8
8
 
9
- # /estimate — Cost Estimation
9
+ # /estimate - Cost Estimation
10
10
 
11
11
  Estimate token usage and cost before implementing a feature.
12
12
 
@@ -6,7 +6,7 @@ argument-hint: "[branch-name]"
6
6
  allowed-tools: Read, Bash, Glob, Grep
7
7
  ---
8
8
 
9
- # /finish — Finalize Branch
9
+ # /finish - Finalize Branch
10
10
 
11
11
  Complete development branch with final validation and metrics.
12
12
 
@@ -214,7 +214,7 @@ To fix:
214
214
 
215
215
  ## Rules
216
216
 
217
- 1. **Never skip validation** — All checks must pass
218
- 2. **Always show metrics** — Transparency in cost
219
- 3. **Offer cleanup** — Keep repo clean
220
- 4. **Don't auto-merge** — Human decision
217
+ 1. **Never skip validation** - All checks must pass
218
+ 2. **Always show metrics** - Transparency in cost
219
+ 3. **Offer cleanup** - Keep repo clean
220
+ 4. **Don't auto-merge** - Human decision
@@ -6,7 +6,7 @@ argument-hint: "[module or 'full']"
6
6
  allowed-tools: Read, Bash, Glob, Grep
7
7
  ---
8
8
 
9
- # /health — Project Health Score
9
+ # /health - Project Health Score
10
10
 
11
11
  Generate a comprehensive health score for your project or a specific module.
12
12
 
@@ -179,9 +179,9 @@ TREND (if previous scans exist)
179
179
  RECOMMENDATIONS
180
180
  ───────────────────────────────────────────────────────────────
181
181
 
182
- @reviewer — Run /review-fix-violations to auto-fix
183
- @tester — Add tests for auth module
184
- @builder — Refactor LoginForm.tsx
182
+ @reviewer - Run /review-fix-violations to auto-fix
183
+ @tester - Add tests for auth module
184
+ @builder - Refactor LoginForm.tsx
185
185
 
186
186
  ═══════════════════════════════════════════════════════════════
187
187
  Generated: 2024-01-20 14:30 | Scan time: 12s
@@ -244,8 +244,8 @@ Only checks:
244
244
 
245
245
  ## Rules
246
246
 
247
- 1. **Be objective** — Numbers, not opinions
248
- 2. **Prioritize issues** — Most impactful first
249
- 3. **Show trends** — Compare to previous scans
250
- 4. **Actionable** — Suggest specific fixes
251
- 5. **Save history** — Track progress over time
247
+ 1. **Be objective** - Numbers, not opinions
248
+ 2. **Prioritize issues** - Most impactful first
249
+ 3. **Show trends** - Compare to previous scans
250
+ 4. **Actionable** - Suggest specific fixes
251
+ 5. **Save history** - Track progress over time
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  name: learn
3
- description: "Use when implementing a feature and want to understand the code as it's built — during onboarding, teaching, or learning a new pattern."
3
+ description: "Use when implementing a feature and want to understand the code as it's built - during onboarding, teaching, or learning a new pattern."
4
4
  user-invocable: true
5
5
  argument-hint: "[feature to implement and learn]"
6
6
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
7
7
  ---
8
8
 
9
- # /learn — Learning Mode Implementation
9
+ # /learn - Learning Mode Implementation
10
10
 
11
11
  Implement features while explaining concepts, patterns, and decisions along the way.
12
12
 
@@ -127,7 +127,7 @@ const example = ...;
127
127
  ```
128
128
 
129
129
  **Alternatives considered:**
130
- - [Alternative] — didn't use because [reason]
130
+ - [Alternative] - didn't use because [reason]
131
131
  ```
132
132
 
133
133
  ### Step 5: Gotchas and Best Practices
@@ -231,7 +231,7 @@ loading states, errors, and caching.
231
231
  ### Step 1: The Types
232
232
 
233
233
  Before any logic, we define our types. This is called
234
- "types-first development" — we describe the shape of our
234
+ "types-first development" - we describe the shape of our
235
235
  data before we write code that uses it.
236
236
 
237
237
  ```typescript
@@ -253,8 +253,8 @@ interface User {
253
253
 
254
254
  ## Rules
255
255
 
256
- 1. **Never skip the "why"** — Every piece needs justification
257
- 2. **Build incrementally** — Complex → Simple steps
258
- 3. **Use visuals** — Diagrams help understanding
259
- 4. **Ask questions** — Engage the learner
260
- 5. **Connect concepts** — Show the bigger picture
256
+ 1. **Never skip the "why"** - Every piece needs justification
257
+ 2. **Build incrementally** - Complex → Simple steps
258
+ 3. **Use visuals** - Diagrams help understanding
259
+ 4. **Ask questions** - Engage the learner
260
+ 5. **Connect concepts** - Show the bigger picture
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  name: lint
3
- description: "Use when you need to lint the codebase and auto-fix issues — detects linter, runs it, and fixes what it can."
3
+ description: "Use when you need to lint the codebase and auto-fix issues - detects linter, runs it, and fixes what it can."
4
4
  user-invocable: true
5
5
  argument-hint: "[path or --fix]"
6
6
  allowed-tools: Read, Bash, Glob, Grep
7
7
  ---
8
8
 
9
- # /lint — Lint & Auto-Fix
9
+ # /lint - Lint & Auto-Fix
10
10
 
11
11
  Detect the project's linter, run it, auto-fix what's possible, and report remaining issues.
12
12
 
@@ -93,8 +93,8 @@ Fixed automatically:
93
93
  - 3 missing semicolons (ESLint --fix)
94
94
 
95
95
  Remaining (manual fix needed):
96
- - src/auth.ts:42 — no-explicit-any: Unexpected any
97
- - src/api.ts:18 — no-unused-vars: 'result' is defined but never used
96
+ - src/auth.ts:42 - no-explicit-any: Unexpected any
97
+ - src/api.ts:18 - no-unused-vars: 'result' is defined but never used
98
98
 
99
99
  Summary: 20 fixed, 2 remaining
100
100
  ```
@@ -119,8 +119,8 @@ Target: src/
119
119
 
120
120
  ## Rules
121
121
 
122
- 1. **Always auto-fix first** — Run with --fix/--write before reporting
123
- 2. **Detect, don't assume** — Check which linter is installed
124
- 3. **Format after lint** — Linter first, formatter second (if separate)
125
- 4. **Report remaining** — Only show issues that need manual intervention
126
- 5. **Never install linters** — Use what's already in the project
122
+ 1. **Always auto-fix first** - Run with --fix/--write before reporting
123
+ 2. **Detect, don't assume** - Check which linter is installed
124
+ 3. **Format after lint** - Linter first, formatter second (if separate)
125
+ 4. **Report remaining** - Only show issues that need manual intervention
126
+ 5. **Never install linters** - Use what's already in the project
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  name: migrate-framework
3
- description: "Use when switching a project or component between frameworks — React to Vue, Vue to Svelte, or any supported framework pair."
3
+ description: "Use when switching a project or component between frameworks - React to Vue, Vue to Svelte, or any supported framework pair."
4
4
  user-invocable: true
5
5
  argument-hint: "[source-framework] to [target-framework] [file-or-directory]"
6
6
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
7
7
  ---
8
8
 
9
- # /migrate-framework — Cross-Framework Migration
9
+ # /migrate-framework - Cross-Framework Migration
10
10
 
11
11
  Migrate code from one framework to another while preserving functionality.
12
12
 
@@ -158,11 +158,11 @@ Files created:
158
158
 
159
159
  ## Rules
160
160
 
161
- 1. **Preserve behavior** — Functionality must match
162
- 2. **Type safety** — Maintain TypeScript types
163
- 3. **Idiomatic code** — Use target framework patterns
164
- 4. **Flag manual work** — Mark complex conversions
165
- 5. **Keep original** — Don't delete source files
161
+ 1. **Preserve behavior** - Functionality must match
162
+ 2. **Type safety** - Maintain TypeScript types
163
+ 3. **Idiomatic code** - Use target framework patterns
164
+ 4. **Flag manual work** - Mark complex conversions
165
+ 5. **Keep original** - Don't delete source files
166
166
 
167
167
  ## Limitations
168
168
 
@@ -6,7 +6,7 @@ argument-hint: "[path or focus area]"
6
6
  allowed-tools: Read, Bash, Glob, Grep
7
7
  ---
8
8
 
9
- # /onboard — Codebase Onboarding
9
+ # /onboard - Codebase Onboarding
10
10
 
11
11
  Understand any codebase in minutes. Generates a developer guide with architecture, conventions, key modules, and getting-started instructions.
12
12
 
@@ -126,12 +126,12 @@ Compile everything into an actionable guide.
126
126
 
127
127
  ## Rules
128
128
 
129
- 1. **Read actual code** — Never rely solely on README or documentation
130
- 2. **Map before explaining** — Architecture diagram first, then details
131
- 3. **Focus on key modules** — 3-5 most important, not all of them
132
- 4. **Detect, don't assume** — Conventions come from reading files, not guessing
133
- 5. **Be honest about gaps** — Missing tests, docs, or conventions are findings too
134
- 6. **Actionable output** — Every section should help the developer start working
129
+ 1. **Read actual code** - Never rely solely on README or documentation
130
+ 2. **Map before explaining** - Architecture diagram first, then details
131
+ 3. **Focus on key modules** - 3-5 most important, not all of them
132
+ 4. **Detect, don't assume** - Conventions come from reading files, not guessing
133
+ 5. **Be honest about gaps** - Missing tests, docs, or conventions are findings too
134
+ 6. **Actionable output** - Every section should help the developer start working
135
135
 
136
136
  ## Output
137
137
 
@@ -151,9 +151,9 @@ Conventions:
151
151
  Styling: [Tailwind / CSS Modules / styled-components]
152
152
 
153
153
  Key Modules:
154
- 1. [module] — [purpose] ([X files])
155
- 2. [module] — [purpose] ([X files])
156
- 3. [module] — [purpose] ([X files])
154
+ 1. [module] - [purpose] ([X files])
155
+ 2. [module] - [purpose] ([X files])
156
+ 3. [module] - [purpose] ([X files])
157
157
 
158
158
  Getting Started:
159
159
  Install: [command]