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.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +2 -2
- package/.codex/INSTALL.md +12 -3
- package/.cursor-plugin/plugin.json +2 -2
- package/.opencode/INSTALL.md +12 -3
- package/README.md +8 -6
- package/agents/analyst-lite.md +1 -1
- package/agents/analyst.md +7 -7
- package/agents/api-lite.md +5 -5
- package/agents/api.md +13 -13
- package/agents/architect-lite.md +7 -7
- package/agents/architect.md +26 -26
- package/agents/cloud-lite.md +3 -3
- package/agents/cloud.md +15 -15
- package/agents/data-lite.md +1 -1
- package/agents/data.md +26 -26
- package/agents/debugger-lite.md +2 -2
- package/agents/debugger.md +15 -15
- package/agents/deps-lite.md +4 -4
- package/agents/deps.md +21 -21
- package/agents/designer-lite.md +1 -1
- package/agents/designer.md +13 -13
- package/agents/devops-lite.md +1 -1
- package/agents/devops.md +11 -11
- package/agents/docs-lite.md +5 -5
- package/agents/docs.md +39 -30
- package/agents/executor-lite.md +1 -1
- package/agents/executor.md +25 -25
- package/agents/explorer-lite.md +3 -3
- package/agents/explorer.md +13 -13
- package/agents/finance-lite.md +1 -1
- package/agents/finance.md +18 -18
- package/agents/i18n-lite.md +4 -4
- package/agents/i18n.md +24 -24
- package/agents/legal-lite.md +9 -9
- package/agents/legal.md +15 -15
- package/agents/memory.md +9 -9
- package/agents/orchestrator-lite.md +1 -1
- package/agents/orchestrator.md +8 -8
- package/agents/pair-lite.md +2 -2
- package/agents/pair.md +14 -14
- package/agents/perf-lite.md +4 -4
- package/agents/perf.md +20 -20
- package/agents/planner-lite.md +4 -4
- package/agents/planner.md +21 -21
- package/agents/refactor-lite.md +4 -4
- package/agents/refactor.md +32 -32
- package/agents/ripple-lite.md +8 -8
- package/agents/ripple.md +14 -14
- package/agents/scout-lite.md +1 -1
- package/agents/scout.md +19 -19
- package/agents/security-lite.md +1 -1
- package/agents/security.md +18 -18
- package/agents/starter-lite.md +3 -3
- package/agents/starter.md +29 -29
- package/agents/tdd-lite.md +2 -2
- package/agents/tdd.md +16 -16
- package/agents/tester-lite.md +1 -1
- package/agents/tester.md +18 -18
- package/cli/index.mjs +33 -9
- package/hooks/native/auto-dispatch.mjs +4 -4
- package/hooks/native/auto-format.mjs +13 -10
- package/hooks/native/security-guard.mjs +16 -11
- package/hooks/native/session-context.mjs +2 -2
- package/hooks/native/utils.mjs +1 -1
- package/package.json +2 -2
- package/packs/angular/CLAUDE.md +2 -2
- package/packs/angular/agents/builder.md +14 -14
- package/packs/angular/agents/doctor.md +14 -14
- package/packs/angular/agents/migrator.md +16 -16
- package/packs/angular/agents/reviewer.md +22 -22
- package/packs/angular/agents-lite/builder.md +1 -1
- package/packs/angular/agents-lite/doctor.md +1 -1
- package/packs/angular/agents-lite/migrator.md +2 -2
- package/packs/angular/agents-lite/reviewer.md +8 -8
- package/packs/angular/skills/dev-create-component/SKILL.md +1 -1
- package/packs/angular/skills/dev-create-injectable/SKILL.md +2 -2
- package/packs/angular/skills/dev-create-module/SKILL.md +1 -1
- package/packs/angular/skills/dev-create-service/SKILL.md +1 -1
- package/packs/angular/skills/dev-create-test/SKILL.md +1 -1
- package/packs/angular/skills/migration-migrate-module/SKILL.md +1 -1
- package/packs/angular/skills/review-check-architecture/SKILL.md +1 -1
- package/packs/angular/skills/review-review/SKILL.md +5 -5
- package/packs/astro/ARCHITECTURE.md +17 -17
- package/packs/astro/CLAUDE.md +4 -4
- package/packs/astro/agents/builder.md +28 -28
- package/packs/astro/agents/doctor.md +15 -15
- package/packs/astro/agents/migrator.md +18 -18
- package/packs/astro/agents/reviewer.md +26 -26
- package/packs/astro/agents-lite/builder.md +1 -1
- package/packs/astro/agents-lite/doctor.md +2 -2
- package/packs/astro/agents-lite/migrator.md +10 -10
- package/packs/astro/agents-lite/reviewer.md +9 -9
- package/packs/astro/skills/dev-create-component/SKILL.md +1 -1
- package/packs/astro/skills/dev-create-island/SKILL.md +7 -7
- package/packs/astro/skills/dev-create-module/SKILL.md +1 -1
- package/packs/astro/skills/dev-create-service/SKILL.md +5 -5
- package/packs/astro/skills/dev-create-test/SKILL.md +4 -4
- package/packs/astro/skills/dev-generate-types/SKILL.md +6 -6
- package/packs/astro/skills/migration-migrate-module/SKILL.md +1 -1
- package/packs/astro/skills/review-check-architecture/SKILL.md +1 -1
- package/packs/astro/skills/review-review/SKILL.md +5 -5
- package/packs/nextjs/CLAUDE.md +2 -2
- package/packs/nextjs/agents/builder.md +12 -12
- package/packs/nextjs/agents/doctor.md +11 -11
- package/packs/nextjs/agents/migrator.md +14 -14
- package/packs/nextjs/agents/reviewer.md +17 -17
- package/packs/nextjs/agents-lite/builder.md +1 -1
- package/packs/nextjs/agents-lite/doctor.md +1 -1
- package/packs/nextjs/agents-lite/migrator.md +2 -2
- package/packs/nextjs/agents-lite/reviewer.md +4 -4
- package/packs/nextjs/skills/dev-create-component/SKILL.md +1 -1
- package/packs/nextjs/skills/dev-create-hook/SKILL.md +1 -1
- package/packs/nextjs/skills/dev-create-module/SKILL.md +1 -1
- package/packs/nextjs/skills/dev-create-service/SKILL.md +1 -1
- package/packs/nextjs/skills/dev-create-test/SKILL.md +1 -1
- package/packs/nextjs/skills/migration-migrate-module/SKILL.md +1 -1
- package/packs/nextjs/skills/review-check-architecture/SKILL.md +1 -1
- package/packs/nextjs/skills/review-review/SKILL.md +1 -1
- package/packs/nuxt/ARCHITECTURE.md +25 -25
- package/packs/nuxt/CLAUDE.md +6 -6
- package/packs/nuxt/agents/builder.md +24 -24
- package/packs/nuxt/agents/doctor.md +15 -15
- package/packs/nuxt/agents/migrator.md +15 -15
- package/packs/nuxt/agents/reviewer.md +23 -23
- package/packs/nuxt/agents-lite/builder.md +1 -1
- package/packs/nuxt/agents-lite/doctor.md +3 -3
- package/packs/nuxt/agents-lite/migrator.md +8 -8
- package/packs/nuxt/agents-lite/reviewer.md +8 -8
- package/packs/nuxt/skills/dev-create-component/SKILL.md +1 -1
- package/packs/nuxt/skills/dev-create-composable/SKILL.md +1 -1
- package/packs/nuxt/skills/dev-create-module/SKILL.md +1 -1
- package/packs/nuxt/skills/dev-create-service/SKILL.md +5 -5
- package/packs/nuxt/skills/dev-create-test/SKILL.md +2 -2
- package/packs/nuxt/skills/dev-generate-types/SKILL.md +6 -6
- package/packs/nuxt/skills/migration-migrate-module/SKILL.md +1 -1
- package/packs/nuxt/skills/review-check-architecture/SKILL.md +1 -1
- package/packs/nuxt/skills/review-review/SKILL.md +5 -5
- package/packs/react/CLAUDE.md +2 -2
- package/packs/react/agents/builder.md +12 -12
- package/packs/react/agents/doctor.md +13 -13
- package/packs/react/agents/migrator.md +14 -14
- package/packs/react/agents/reviewer.md +18 -18
- package/packs/react/agents-lite/builder.md +1 -1
- package/packs/react/agents-lite/doctor.md +1 -1
- package/packs/react/agents-lite/migrator.md +2 -2
- package/packs/react/agents-lite/reviewer.md +4 -4
- package/packs/react/skills/dev-create-component/SKILL.md +1 -1
- package/packs/react/skills/dev-create-hook/SKILL.md +1 -1
- package/packs/react/skills/dev-create-module/SKILL.md +1 -1
- package/packs/react/skills/dev-create-service/SKILL.md +1 -1
- package/packs/react/skills/dev-create-test/SKILL.md +1 -1
- package/packs/react/skills/migration-migrate-module/SKILL.md +1 -1
- package/packs/react/skills/review-check-architecture/SKILL.md +1 -1
- package/packs/react/skills/review-review/SKILL.md +1 -1
- package/packs/svelte/CLAUDE.md +2 -2
- package/packs/svelte/agents/builder.md +12 -12
- package/packs/svelte/agents/doctor.md +11 -11
- package/packs/svelte/agents/migrator.md +14 -14
- package/packs/svelte/agents/reviewer.md +17 -17
- package/packs/svelte/agents-lite/builder.md +1 -1
- package/packs/svelte/agents-lite/doctor.md +1 -1
- package/packs/svelte/agents-lite/migrator.md +2 -2
- package/packs/svelte/agents-lite/reviewer.md +4 -4
- package/packs/svelte/skills/dev-create-component/SKILL.md +1 -1
- package/packs/svelte/skills/dev-create-module/SKILL.md +1 -1
- package/packs/svelte/skills/dev-create-service/SKILL.md +1 -1
- package/packs/svelte/skills/dev-create-store/SKILL.md +1 -1
- package/packs/svelte/skills/dev-create-test/SKILL.md +1 -1
- package/packs/svelte/skills/migration-migrate-module/SKILL.md +1 -1
- package/packs/svelte/skills/review-check-architecture/SKILL.md +1 -1
- package/packs/svelte/skills/review-review/SKILL.md +1 -1
- package/packs/vue/ARCHITECTURE.md +7 -7
- package/packs/vue/CLAUDE.md +3 -3
- package/packs/vue/agents/builder.md +24 -24
- package/packs/vue/agents/doctor.md +14 -14
- package/packs/vue/agents/migrator.md +15 -15
- package/packs/vue/agents/reviewer.md +23 -23
- package/packs/vue/agents-lite/builder.md +1 -1
- package/packs/vue/agents-lite/doctor.md +2 -2
- package/packs/vue/agents-lite/migrator.md +8 -8
- package/packs/vue/agents-lite/reviewer.md +8 -8
- package/packs/vue/skills/dev-create-component/SKILL.md +1 -1
- package/packs/vue/skills/dev-create-composable/SKILL.md +1 -1
- package/packs/vue/skills/dev-create-module/SKILL.md +1 -1
- package/packs/vue/skills/dev-create-service/SKILL.md +5 -5
- package/packs/vue/skills/dev-create-test/SKILL.md +2 -2
- package/packs/vue/skills/dev-generate-types/SKILL.md +6 -6
- package/packs/vue/skills/migration-migrate-module/SKILL.md +1 -1
- package/packs/vue/skills/review-check-architecture/SKILL.md +1 -1
- package/packs/vue/skills/review-review/SKILL.md +1 -1
- package/skills/audit/SKILL.md +10 -10
- package/skills/brainstorm/SKILL.md +27 -27
- package/skills/checkpoint/SKILL.md +3 -3
- package/skills/codereview/SKILL.md +28 -28
- package/skills/commit/SKILL.md +9 -9
- package/skills/debug/SKILL.md +7 -7
- package/skills/estimate/SKILL.md +1 -1
- package/skills/finish/SKILL.md +5 -5
- package/skills/health/SKILL.md +9 -9
- package/skills/learn/SKILL.md +9 -9
- package/skills/lint/SKILL.md +9 -9
- package/skills/migrate-framework/SKILL.md +7 -7
- package/skills/onboard/SKILL.md +10 -10
- package/skills/plan/SKILL.md +10 -10
- package/skills/recall/SKILL.md +5 -5
- package/skills/remember/SKILL.md +5 -5
- package/skills/tdd/SKILL.md +12 -12
- package/skills/tutorial/SKILL.md +16 -16
- package/skills/verify/SKILL.md +24 -24
- package/skills/worktree/SKILL.md +8 -8
- package/skills/write-skill/SKILL.md +16 -16
- package/templates/skill-template/SKILL.md +5 -5
package/skills/audit/SKILL.md
CHANGED
|
@@ -6,7 +6,7 @@ argument-hint: "[path or module]"
|
|
|
6
6
|
allowed-tools: Read, Bash, Glob, Grep
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /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**
|
|
142
|
-
2. **Run automated tools**
|
|
143
|
-
3. **Severity must be justified**
|
|
144
|
-
4. **Remediation is required**
|
|
145
|
-
5. **Line references are required**
|
|
146
|
-
6. **Never assume safety**
|
|
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]
|
|
165
|
-
2. [HIGH] [description]
|
|
166
|
-
3. [HIGH] [description]
|
|
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
|
|
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
|
|
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
|
|
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**
|
|
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**
|
|
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
|
|
52
|
+
### Step 2: Clarification - Challenge Vague Terms
|
|
53
53
|
|
|
54
54
|
Force precision on ambiguous language:
|
|
55
55
|
|
|
56
|
-
1. **Identify vague terms**
|
|
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**
|
|
62
|
-
4. **Document decisions**
|
|
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
|
|
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**
|
|
91
|
-
- **Risky**
|
|
92
|
-
- **Safe**
|
|
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
|
|
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**
|
|
115
|
-
- **Approach B**
|
|
116
|
-
- **Approach C**
|
|
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
|
|
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**
|
|
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**
|
|
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**
|
|
209
|
-
2. **Always generate 3+ alternatives**
|
|
210
|
-
3. **Never proceed without user approval**
|
|
211
|
-
4. **Keep questions focused**
|
|
212
|
-
5. **Ground in codebase**
|
|
213
|
-
6. **Output must be actionable**
|
|
214
|
-
7. **Present in sections**
|
|
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
|
|
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
|
|
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**
|
|
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
|
|
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
|
|
9
|
+
# /codereview - Multi-Reviewer Parallel Code Review
|
|
10
10
|
|
|
11
|
-
Run a comprehensive code review that dispatches 3 specialized perspectives concurrently
|
|
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
|
|
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
|
|
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**
|
|
161
|
-
2. **Cross-reference**
|
|
162
|
-
3. **Assign severity**
|
|
163
|
-
4. **Sort**
|
|
164
|
-
5. **Group**
|
|
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
|
|
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
|
|
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**
|
|
221
|
-
2. **Read-only**
|
|
222
|
-
3. **Evidence required**
|
|
223
|
-
4. **Remediation required**
|
|
224
|
-
5. **Verdict is mechanical**
|
|
225
|
-
6. **No sycophancy**
|
|
226
|
-
7. **Cross-reference findings**
|
|
227
|
-
8. **Severity must be justified**
|
|
228
|
-
9. **Run automated tools**
|
|
229
|
-
10. **Fresh context per perspective**
|
|
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]
|
|
239
|
-
Security: [N findings]
|
|
240
|
-
Tests: [N findings]
|
|
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]
|
|
250
|
-
2. [HIGH] [description]
|
|
251
|
-
3. [HIGH] [description]
|
|
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]
|
package/skills/commit/SKILL.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: commit
|
|
3
|
-
description: "Use when changes are ready to commit
|
|
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
|
|
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
|
|
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**
|
|
146
|
-
2. **Follow conventional commits**
|
|
147
|
-
3. **Imperative mood**
|
|
148
|
-
4. **Never commit .env files**
|
|
149
|
-
5. **Max 72 chars**
|
|
150
|
-
6. **One logical change per commit**
|
|
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
|
package/skills/debug/SKILL.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: debug
|
|
3
|
-
description: "Use when encountering any bug, test failure, unexpected behavior, or error
|
|
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
|
|
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
|
|
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**
|
|
208
|
-
2. **Never fix without understanding**
|
|
209
|
-
3. **Never skip phases**
|
|
210
|
-
4. **Always checkpoint**
|
|
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
|
package/skills/estimate/SKILL.md
CHANGED
package/skills/finish/SKILL.md
CHANGED
|
@@ -6,7 +6,7 @@ argument-hint: "[branch-name]"
|
|
|
6
6
|
allowed-tools: Read, Bash, Glob, Grep
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /finish
|
|
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**
|
|
218
|
-
2. **Always show metrics**
|
|
219
|
-
3. **Offer cleanup**
|
|
220
|
-
4. **Don't auto-merge**
|
|
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
|
package/skills/health/SKILL.md
CHANGED
|
@@ -6,7 +6,7 @@ argument-hint: "[module or 'full']"
|
|
|
6
6
|
allowed-tools: Read, Bash, Glob, Grep
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /health
|
|
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
|
|
183
|
-
@tester
|
|
184
|
-
@builder
|
|
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**
|
|
248
|
-
2. **Prioritize issues**
|
|
249
|
-
3. **Show trends**
|
|
250
|
-
4. **Actionable**
|
|
251
|
-
5. **Save history**
|
|
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
|
package/skills/learn/SKILL.md
CHANGED
|
@@ -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
|
|
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
|
|
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]
|
|
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"
|
|
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"**
|
|
257
|
-
2. **Build incrementally**
|
|
258
|
-
3. **Use visuals**
|
|
259
|
-
4. **Ask questions**
|
|
260
|
-
5. **Connect concepts**
|
|
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
|
package/skills/lint/SKILL.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lint
|
|
3
|
-
description: "Use when you need to lint the codebase and auto-fix issues
|
|
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
|
|
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
|
|
97
|
-
- src/api.ts:18
|
|
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**
|
|
123
|
-
2. **Detect, don't assume**
|
|
124
|
-
3. **Format after lint**
|
|
125
|
-
4. **Report remaining**
|
|
126
|
-
5. **Never install linters**
|
|
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
|
|
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
|
|
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**
|
|
162
|
-
2. **Type safety**
|
|
163
|
-
3. **Idiomatic code**
|
|
164
|
-
4. **Flag manual work**
|
|
165
|
-
5. **Keep original**
|
|
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
|
|
package/skills/onboard/SKILL.md
CHANGED
|
@@ -6,7 +6,7 @@ argument-hint: "[path or focus area]"
|
|
|
6
6
|
allowed-tools: Read, Bash, Glob, Grep
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /onboard
|
|
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**
|
|
130
|
-
2. **Map before explaining**
|
|
131
|
-
3. **Focus on key modules**
|
|
132
|
-
4. **Detect, don't assume**
|
|
133
|
-
5. **Be honest about gaps**
|
|
134
|
-
6. **Actionable output**
|
|
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]
|
|
155
|
-
2. [module]
|
|
156
|
-
3. [module]
|
|
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]
|