specialist-agent 2.5.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 +8 -8
- package/.claude-plugin/plugin.json +3 -3
- package/.codex/INSTALL.md +12 -3
- package/.cursor-plugin/marketplace.json +1 -1
- package/.cursor-plugin/plugin.json +3 -3
- package/.opencode/INSTALL.md +12 -3
- package/LICENSE +1 -1
- 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 +104 -0
- 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 +10 -10
- 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 +2 -2
- package/agents/scout.md +20 -20
- 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 +47 -16
- package/hooks/native/auto-dispatch.mjs +4 -4
- package/hooks/native/auto-format.mjs +13 -10
- package/hooks/native/security-guard.mjs +19 -13
- 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
|
@@ -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]
|
package/skills/plan/SKILL.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: plan
|
|
3
|
-
description: "Use when starting a new feature, refactor, or multi-step task
|
|
3
|
+
description: "Use when starting a new feature, refactor, or multi-step task - before writing any code. Use especially when scope is unclear or multiple files are involved."
|
|
4
4
|
user-invocable: true
|
|
5
5
|
argument-hint: "[feature description]"
|
|
6
6
|
allowed-tools: Read, Glob, Grep
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /plan
|
|
9
|
+
# /plan - Adaptive Planning
|
|
10
10
|
|
|
11
11
|
Create an implementation plan that matches the complexity of the task.
|
|
12
12
|
|
|
@@ -41,9 +41,9 @@ Classify as:
|
|
|
41
41
|
```markdown
|
|
42
42
|
## Quick Plan: [Feature]
|
|
43
43
|
|
|
44
|
-
1. [Step 1]
|
|
45
|
-
2. [Step 2]
|
|
46
|
-
3. [Step 3]
|
|
44
|
+
1. [Step 1] - `file.ts`
|
|
45
|
+
2. [Step 2] - `file.ts`
|
|
46
|
+
3. [Step 3] - `file.ts`
|
|
47
47
|
4. Test: Run `npm test`
|
|
48
48
|
5. Verify: Check [criteria]
|
|
49
49
|
|
|
@@ -58,9 +58,9 @@ Estimated: ~X tokens
|
|
|
58
58
|
[2-3 sentences]
|
|
59
59
|
|
|
60
60
|
### Task Breakdown
|
|
61
|
-
- [ ] Task 1: [description]
|
|
62
|
-
- [ ] Task 2: [description]
|
|
63
|
-
- [ ] Task 3: [description]
|
|
61
|
+
- [ ] Task 1: [description] - `file.ts` (~N lines)
|
|
62
|
+
- [ ] Task 2: [description] - `file.ts` (~N lines)
|
|
63
|
+
- [ ] Task 3: [description] - `file.ts` (~N lines)
|
|
64
64
|
|
|
65
65
|
### Dependencies
|
|
66
66
|
- Task 2 depends on Task 1
|
|
@@ -92,7 +92,7 @@ Estimated: ~X tokens
|
|
|
92
92
|
[High-level architecture]
|
|
93
93
|
|
|
94
94
|
### Alternatives Considered
|
|
95
|
-
1. [Alternative]
|
|
95
|
+
1. [Alternative] - Rejected: [reason]
|
|
96
96
|
|
|
97
97
|
### Task Breakdown
|
|
98
98
|
[Detailed tasks with estimates]
|
|
@@ -129,7 +129,7 @@ Next: Awaiting approval
|
|
|
129
129
|
| Excuse | Reality |
|
|
130
130
|
|--------|---------|
|
|
131
131
|
| "It's simple enough to just start coding" | That's what every developer says before a 3-day rabbit hole. 10 minutes of planning saves hours. |
|
|
132
|
-
| "I already know the architecture" | Plans aren't just for you
|
|
132
|
+
| "I already know the architecture" | Plans aren't just for you - they create alignment and a checkpoint to rollback to. |
|
|
133
133
|
| "Planning is waterfall" | Adaptive planning IS agile. Skipping planning is chaos, not agility. |
|
|
134
134
|
| "I'll refactor later if the approach is wrong" | Refactoring costs 10x more than planning. Get it right first. |
|
|
135
135
|
|
package/skills/recall/SKILL.md
CHANGED
|
@@ -6,7 +6,7 @@ argument-hint: "[topic or 'all']"
|
|
|
6
6
|
allowed-tools: Read
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /recall
|
|
9
|
+
# /recall - Query Session Memory
|
|
10
10
|
|
|
11
11
|
Recall decisions, preferences, and lessons from previous sessions.
|
|
12
12
|
|
|
@@ -144,7 +144,7 @@ Suggestions:
|
|
|
144
144
|
|
|
145
145
|
## Rules
|
|
146
146
|
|
|
147
|
-
1. **Fuzzy match**
|
|
148
|
-
2. **Show context**
|
|
149
|
-
3. **Suggest related**
|
|
150
|
-
4. **Handle empty**
|
|
147
|
+
1. **Fuzzy match** - "state" matches "State Management"
|
|
148
|
+
2. **Show context** - Include reason and date
|
|
149
|
+
3. **Suggest related** - Link to similar memories
|
|
150
|
+
4. **Handle empty** - Graceful message if no memory
|
package/skills/remember/SKILL.md
CHANGED
|
@@ -6,7 +6,7 @@ argument-hint: "[what to remember]"
|
|
|
6
6
|
allowed-tools: Read, Write
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /remember
|
|
9
|
+
# /remember - Save to Session Memory
|
|
10
10
|
|
|
11
11
|
Save decisions, preferences, and lessons that persist across sessions.
|
|
12
12
|
|
|
@@ -152,7 +152,7 @@ This will be recalled in future sessions.
|
|
|
152
152
|
|
|
153
153
|
## Rules
|
|
154
154
|
|
|
155
|
-
1. **Extract key info**
|
|
156
|
-
2. **Categorize correctly**
|
|
157
|
-
3. **No duplicates**
|
|
158
|
-
4. **No secrets**
|
|
155
|
+
1. **Extract key info** - Don't store raw text
|
|
156
|
+
2. **Categorize correctly** - Decision vs preference vs pattern
|
|
157
|
+
3. **No duplicates** - Update existing if same topic
|
|
158
|
+
4. **No secrets** - Never store credentials
|
package/skills/tdd/SKILL.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: tdd
|
|
3
|
-
description: "Use when implementing any feature or bugfix where correctness matters
|
|
3
|
+
description: "Use when implementing any feature or bugfix where correctness matters - before writing implementation code."
|
|
4
4
|
user-invocable: true
|
|
5
5
|
argument-hint: "[feature or function to implement]"
|
|
6
6
|
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /tdd
|
|
9
|
+
# /tdd - Test-Driven Development
|
|
10
10
|
|
|
11
11
|
Implement the feature using strict TDD methodology.
|
|
12
12
|
|
|
@@ -32,7 +32,7 @@ For each behavior to implement:
|
|
|
32
32
|
└───────┘ └───────┘ └──────────┘
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
### Step 1: RED
|
|
35
|
+
### Step 1: RED - Write Failing Test
|
|
36
36
|
|
|
37
37
|
1. **Create/open test file**
|
|
38
38
|
2. **Write test for ONE behavior:**
|
|
@@ -52,10 +52,10 @@ For each behavior to implement:
|
|
|
52
52
|
```bash
|
|
53
53
|
npm test -- --testNamePattern="[test name]"
|
|
54
54
|
```
|
|
55
|
-
4. **Verify FAILS**
|
|
55
|
+
4. **Verify FAILS** - Capture output showing failure
|
|
56
56
|
5. **BLOCKED** if test passes (wrong test or code exists)
|
|
57
57
|
|
|
58
|
-
### Step 2: GREEN
|
|
58
|
+
### Step 2: GREEN - Minimal Implementation
|
|
59
59
|
|
|
60
60
|
1. **Write minimum code to pass:**
|
|
61
61
|
- No extra features
|
|
@@ -66,10 +66,10 @@ For each behavior to implement:
|
|
|
66
66
|
```bash
|
|
67
67
|
npm test -- --testNamePattern="[test name]"
|
|
68
68
|
```
|
|
69
|
-
3. **Verify PASSES**
|
|
69
|
+
3. **Verify PASSES** - Capture output showing success
|
|
70
70
|
4. **BLOCKED** if test fails (fix before continuing)
|
|
71
71
|
|
|
72
|
-
### Step 3: REFACTOR
|
|
72
|
+
### Step 3: REFACTOR - Improve
|
|
73
73
|
|
|
74
74
|
1. **Improve code quality:**
|
|
75
75
|
- Remove duplication
|
|
@@ -103,14 +103,14 @@ Output:
|
|
|
103
103
|
✕ should calculate discount for valid coupon
|
|
104
104
|
Expected: 90
|
|
105
105
|
Received: undefined
|
|
106
|
-
Status: FAIL ✓
|
|
106
|
+
Status: FAIL ✓ - Proceeding to GREEN
|
|
107
107
|
|
|
108
108
|
──── GREEN Phase ────
|
|
109
109
|
Running: npm test -- --testNamePattern="calculate discount"
|
|
110
110
|
Output:
|
|
111
111
|
PASS src/discount.test.ts
|
|
112
112
|
✓ should calculate discount for valid coupon
|
|
113
|
-
Status: PASS ✓
|
|
113
|
+
Status: PASS ✓ - Proceeding to REFACTOR
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
## Output
|
|
@@ -149,8 +149,8 @@ Coverage: [if available]
|
|
|
149
149
|
## Rules
|
|
150
150
|
|
|
151
151
|
1. **Never implement before RED**
|
|
152
|
-
2. **Capture all test output**
|
|
152
|
+
2. **Capture all test output** - Proof, not trust
|
|
153
153
|
3. **One behavior per test**
|
|
154
|
-
4. **Minimal GREEN**
|
|
155
|
-
5. **Always REFACTOR**
|
|
154
|
+
4. **Minimal GREEN** - Just enough to pass
|
|
155
|
+
5. **Always REFACTOR** - Don't skip
|
|
156
156
|
6. **Document each cycle**
|
package/skills/tutorial/SKILL.md
CHANGED
|
@@ -6,7 +6,7 @@ argument-hint: "[beginner|intermediate|advanced]"
|
|
|
6
6
|
allowed-tools: Read, Glob
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /tutorial
|
|
9
|
+
# /tutorial - Interactive Tutorial
|
|
10
10
|
|
|
11
11
|
Learn Specialist Agent with hands-on exercises.
|
|
12
12
|
|
|
@@ -63,9 +63,9 @@ Skills are shortcuts. They start with `/`.
|
|
|
63
63
|
This shows your project's health score.
|
|
64
64
|
|
|
65
65
|
**Other useful skills:**
|
|
66
|
-
- `/plan`
|
|
67
|
-
- `/checkpoint`
|
|
68
|
-
- `/remember`
|
|
66
|
+
- `/plan` - Plan a feature
|
|
67
|
+
- `/checkpoint` - Save your progress
|
|
68
|
+
- `/remember` - Save a decision
|
|
69
69
|
|
|
70
70
|
---
|
|
71
71
|
|
|
@@ -127,9 +127,9 @@ Write tests first with @tdd.
|
|
|
127
127
|
```
|
|
128
128
|
|
|
129
129
|
The workflow:
|
|
130
|
-
1. **RED**
|
|
131
|
-
2. **GREEN**
|
|
132
|
-
3. **REFACTOR**
|
|
130
|
+
1. **RED** - Write failing test
|
|
131
|
+
2. **GREEN** - Make it pass
|
|
132
|
+
3. **REFACTOR** - Clean up
|
|
133
133
|
|
|
134
134
|
No code without failing test first.
|
|
135
135
|
|
|
@@ -258,10 +258,10 @@ One sentence describing the goal.
|
|
|
258
258
|
Set behavior for different contexts.
|
|
259
259
|
|
|
260
260
|
**Available profiles:**
|
|
261
|
-
- `startup-fast`
|
|
262
|
-
- `enterprise-strict`
|
|
263
|
-
- `learning-mode`
|
|
264
|
-
- `cost-optimized`
|
|
261
|
+
- `startup-fast` - Move fast, minimal validation
|
|
262
|
+
- `enterprise-strict` - Full validation, strict rules
|
|
263
|
+
- `learning-mode` - Explain everything
|
|
264
|
+
- `cost-optimized` - Minimize token usage
|
|
265
265
|
|
|
266
266
|
**Set profile:**
|
|
267
267
|
```bash
|
|
@@ -274,10 +274,10 @@ npx specialist-agent profiles set startup-fast
|
|
|
274
274
|
|
|
275
275
|
Reduce token usage:
|
|
276
276
|
|
|
277
|
-
1. **Use Lite mode**
|
|
278
|
-
2. **Be specific**
|
|
279
|
-
3. **Use @scout first**
|
|
280
|
-
4. **Batch related tasks**
|
|
277
|
+
1. **Use Lite mode** - 60-80% cheaper
|
|
278
|
+
2. **Be specific** - Less exploration needed
|
|
279
|
+
3. **Use @scout first** - Get recommendations
|
|
280
|
+
4. **Batch related tasks** - Less context switching
|
|
281
281
|
|
|
282
282
|
**Check cost:**
|
|
283
283
|
```
|
|
@@ -343,4 +343,4 @@ You learned:
|
|
|
343
343
|
|
|
344
344
|
### Documentation
|
|
345
345
|
|
|
346
|
-
Full docs at: https://
|
|
346
|
+
Full docs at: https://specialistagent.com.br/
|
package/skills/verify/SKILL.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: verify
|
|
3
|
-
description: "Use when about to claim work is complete, fixed, or passing
|
|
3
|
+
description: "Use when about to claim work is complete, fixed, or passing - before committing, creating PRs, or moving to next task. Requires running verification commands and confirming output before making any success claims."
|
|
4
4
|
user-invocable: true
|
|
5
5
|
argument-hint: "[test|build|lint|all]"
|
|
6
6
|
allowed-tools: Bash, Read, Glob, Grep
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /verify
|
|
9
|
+
# /verify - Verification Before Completion
|
|
10
10
|
|
|
11
11
|
Evidence before claims. Always.
|
|
12
12
|
|
|
@@ -36,13 +36,13 @@ If you haven't run the verification command in THIS message, you cannot claim it
|
|
|
36
36
|
```
|
|
37
37
|
BEFORE claiming any status:
|
|
38
38
|
|
|
39
|
-
1. IDENTIFY
|
|
40
|
-
2. RUN
|
|
41
|
-
3. READ
|
|
42
|
-
4. VERIFY
|
|
39
|
+
1. IDENTIFY - What command proves this claim?
|
|
40
|
+
2. RUN - Execute the FULL command (fresh, complete, not cached)
|
|
41
|
+
3. READ - Full output, check exit code, count failures
|
|
42
|
+
4. VERIFY - Does output ACTUALLY confirm the claim?
|
|
43
43
|
→ If NO: State actual status with evidence
|
|
44
44
|
→ If YES: State claim WITH the evidence
|
|
45
|
-
5. ONLY THEN
|
|
45
|
+
5. ONLY THEN - Make the claim
|
|
46
46
|
|
|
47
47
|
Skip any step = lying, not verifying.
|
|
48
48
|
```
|
|
@@ -102,7 +102,7 @@ Command: npm test
|
|
|
102
102
|
Exit code: 0
|
|
103
103
|
Result: 42/42 tests passed, 0 failed
|
|
104
104
|
|
|
105
|
-
VERIFIED ✓
|
|
105
|
+
VERIFIED ✓ - All tests pass (evidence above)
|
|
106
106
|
```
|
|
107
107
|
|
|
108
108
|
Or:
|
|
@@ -113,14 +113,14 @@ Command: npm test
|
|
|
113
113
|
Exit code: 1
|
|
114
114
|
Result: 40/42 tests passed, 2 failed
|
|
115
115
|
|
|
116
|
-
FAILED ✗
|
|
117
|
-
- src/auth.test.ts: "should validate token"
|
|
118
|
-
- src/user.test.ts: "should create user"
|
|
116
|
+
FAILED ✗ - 2 tests failing:
|
|
117
|
+
- src/auth.test.ts: "should validate token" - Expected true, got false
|
|
118
|
+
- src/user.test.ts: "should create user" - Timeout after 5000ms
|
|
119
119
|
|
|
120
120
|
DO NOT claim completion. Fix failures first.
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
-
## Red Flags
|
|
123
|
+
## Red Flags - STOP
|
|
124
124
|
|
|
125
125
|
If you catch yourself thinking:
|
|
126
126
|
- "Should work now"
|
|
@@ -151,18 +151,18 @@ If you catch yourself thinking:
|
|
|
151
151
|
## Integration
|
|
152
152
|
|
|
153
153
|
This skill is a **cross-cutting concern**. It applies to:
|
|
154
|
-
- @builder
|
|
155
|
-
- @executor
|
|
156
|
-
- @tdd
|
|
157
|
-
- @reviewer
|
|
158
|
-
- @debugger
|
|
159
|
-
- @migrator
|
|
154
|
+
- @builder - Before claiming module is complete
|
|
155
|
+
- @executor - Before marking task checkpoint
|
|
156
|
+
- @tdd - Before claiming GREEN phase
|
|
157
|
+
- @reviewer - Before giving verdict
|
|
158
|
+
- @debugger - Before claiming bug is fixed
|
|
159
|
+
- @migrator - Before claiming migration is complete
|
|
160
160
|
|
|
161
161
|
## Rules
|
|
162
162
|
|
|
163
|
-
1. **Evidence before claims**
|
|
164
|
-
2. **Fresh runs only**
|
|
165
|
-
3. **Full output**
|
|
166
|
-
4. **Exit codes matter**
|
|
167
|
-
5. **Read warnings**
|
|
168
|
-
6. **One claim per verification**
|
|
163
|
+
1. **Evidence before claims** - Non-negotiable
|
|
164
|
+
2. **Fresh runs only** - Never cite previous runs
|
|
165
|
+
3. **Full output** - Don't truncate or summarize
|
|
166
|
+
4. **Exit codes matter** - 0 = success, anything else = failure
|
|
167
|
+
5. **Read warnings** - Warnings can indicate real problems
|
|
168
|
+
6. **One claim per verification** - Don't bundle claims
|
package/skills/worktree/SKILL.md
CHANGED
|
@@ -6,9 +6,9 @@ argument-hint: "[task-name]"
|
|
|
6
6
|
allowed-tools: Read, Bash, Glob, Grep
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /worktree
|
|
9
|
+
# /worktree - Git Worktree Isolation
|
|
10
10
|
|
|
11
|
-
Create isolated workspaces for parallel development. Each task gets its own directory
|
|
11
|
+
Create isolated workspaces for parallel development. Each task gets its own directory - no branch switching, no stashing, no conflicts.
|
|
12
12
|
|
|
13
13
|
**Target:** $ARGUMENTS
|
|
14
14
|
|
|
@@ -142,12 +142,12 @@ Merge when all complete.
|
|
|
142
142
|
|
|
143
143
|
## Rules
|
|
144
144
|
|
|
145
|
-
1. **Always name worktrees descriptively**
|
|
146
|
-
2. **Install dependencies after creation**
|
|
147
|
-
3. **Verify baseline before working**
|
|
148
|
-
4. **Clean up when done**
|
|
149
|
-
5. **Never work in .git/**
|
|
150
|
-
6. **Gitignore the worktrees directory**
|
|
145
|
+
1. **Always name worktrees descriptively** - `worktree/auth-refactor` not `worktree/temp`
|
|
146
|
+
2. **Install dependencies after creation** - Auto-detect package manager
|
|
147
|
+
3. **Verify baseline before working** - Tests must pass in fresh worktree
|
|
148
|
+
4. **Clean up when done** - Remove worktrees and branches after merge
|
|
149
|
+
5. **Never work in .git/** - Worktrees are directories, not git internals
|
|
150
|
+
6. **Gitignore the worktrees directory** - Add `.claude/worktrees/` to `.gitignore`
|
|
151
151
|
|
|
152
152
|
## Output
|
|
153
153
|
|
|
@@ -6,7 +6,7 @@ argument-hint: "[skill-name]"
|
|
|
6
6
|
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /write-skill
|
|
9
|
+
# /write-skill - Create or Improve Skills with TDD
|
|
10
10
|
|
|
11
11
|
Writing skills IS Test-Driven Development applied to process documentation.
|
|
12
12
|
|
|
@@ -42,7 +42,7 @@ argument-hint: "[arguments]"
|
|
|
42
42
|
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
|
|
43
43
|
---
|
|
44
44
|
|
|
45
|
-
# /my-skill
|
|
45
|
+
# /my-skill - Title
|
|
46
46
|
|
|
47
47
|
[Core principle in 1-2 sentences.]
|
|
48
48
|
|
|
@@ -89,18 +89,18 @@ allowed-tools: Read, Write, Edit, Bash, Glob, Grep
|
|
|
89
89
|
|
|
90
90
|
### Description Rules
|
|
91
91
|
|
|
92
|
-
1. **Start with "Use when..."**
|
|
93
|
-
2. **NEVER summarize the workflow**
|
|
94
|
-
3. **Include symptoms**
|
|
95
|
-
4. **Third person**
|
|
96
|
-
5. **Under 500 characters**
|
|
92
|
+
1. **Start with "Use when..."** - Focus on triggering conditions
|
|
93
|
+
2. **NEVER summarize the workflow** - Claude will follow the summary and skip the content
|
|
94
|
+
3. **Include symptoms** - Error messages, situations, contexts
|
|
95
|
+
4. **Third person** - Descriptions are injected into system prompts
|
|
96
|
+
5. **Under 500 characters** - Be concise
|
|
97
97
|
|
|
98
98
|
```yaml
|
|
99
|
-
# BAD: Summarizes workflow
|
|
99
|
+
# BAD: Summarizes workflow - Claude may follow this instead of reading skill
|
|
100
100
|
description: "Debug issues using 4-phase methodology: gather, analyze, hypothesize, fix"
|
|
101
101
|
|
|
102
102
|
# GOOD: Just triggering conditions
|
|
103
|
-
description: "Use when encountering any bug, test failure, or unexpected behavior
|
|
103
|
+
description: "Use when encountering any bug, test failure, or unexpected behavior - before proposing fixes"
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
### Name Rules
|
|
@@ -122,7 +122,7 @@ Before writing the skill, test what happens WITHOUT it:
|
|
|
122
122
|
- What choices did it make?
|
|
123
123
|
- What rationalizations did it use?
|
|
124
124
|
- Where did it deviate from best practice?
|
|
125
|
-
4. This is your "failing test"
|
|
125
|
+
4. This is your "failing test" - the baseline behavior
|
|
126
126
|
```
|
|
127
127
|
|
|
128
128
|
### GREEN: Write Minimal Skill
|
|
@@ -205,9 +205,9 @@ File: skills/[name]/SKILL.md
|
|
|
205
205
|
|
|
206
206
|
## Rules
|
|
207
207
|
|
|
208
|
-
1. **No skill without failing test first**
|
|
209
|
-
2. **CSO-optimize descriptions**
|
|
210
|
-
3. **Never summarize workflow in description**
|
|
211
|
-
4. **Address every rationalization**
|
|
212
|
-
5. **One excellent example**
|
|
213
|
-
6. **Verify before deploying**
|
|
208
|
+
1. **No skill without failing test first** - TDD applies to documentation too
|
|
209
|
+
2. **CSO-optimize descriptions** - "Use when..." not "What it does"
|
|
210
|
+
3. **Never summarize workflow in description** - Claude will skip the content
|
|
211
|
+
4. **Address every rationalization** - Build the table from real test failures
|
|
212
|
+
5. **One excellent example** - Beats five mediocre ones
|
|
213
|
+
6. **Verify before deploying** - Run the validation checklist
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: my-skill
|
|
3
|
-
description: "Use when [specific triggering conditions
|
|
3
|
+
description: "Use when [specific triggering conditions - what symptom or situation activates this skill]"
|
|
4
4
|
user-invocable: true
|
|
5
5
|
argument-hint: "[arguments description]"
|
|
6
6
|
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /my-skill
|
|
9
|
+
# /my-skill - Skill Title
|
|
10
10
|
|
|
11
11
|
Core principle in 1-2 sentences. What this skill enforces or enables.
|
|
12
12
|
|
|
@@ -71,9 +71,9 @@ Core principle in 1-2 sentences. What this skill enforces or enables.
|
|
|
71
71
|
|
|
72
72
|
## Rules
|
|
73
73
|
|
|
74
|
-
1. **[Rule 1]**
|
|
75
|
-
2. **[Rule 2]**
|
|
76
|
-
3. **[Rule 3]**
|
|
74
|
+
1. **[Rule 1]** - [Brief explanation]
|
|
75
|
+
2. **[Rule 2]** - [Brief explanation]
|
|
76
|
+
3. **[Rule 3]** - [Brief explanation]
|
|
77
77
|
|
|
78
78
|
## Output
|
|
79
79
|
|