specialist-agent 1.6.0 โ 2.0.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 +77 -0
- package/.claude-plugin/plugin.json +43 -0
- package/.codex/INSTALL.md +113 -0
- package/.cursor-plugin/marketplace.json +9 -0
- package/.cursor-plugin/plugin.json +35 -0
- package/.opencode/INSTALL.md +123 -0
- package/README.md +204 -263
- package/agents/analyst-lite.md +48 -0
- package/agents/analyst.md +391 -0
- package/agents/api-lite.md +43 -0
- package/agents/api.md +145 -0
- package/agents/cloud-lite.md +1 -1
- package/agents/cloud.md +1 -1
- package/agents/data-lite.md +1 -1
- package/agents/data.md +1 -1
- package/agents/debugger-lite.md +46 -0
- package/agents/debugger.md +406 -0
- package/agents/deps-lite.md +41 -0
- package/agents/deps.md +206 -0
- package/agents/designer-lite.md +1 -1
- package/agents/designer.md +1 -1
- package/agents/devops-lite.md +1 -1
- package/agents/devops.md +1 -1
- package/agents/docs-lite.md +42 -0
- package/agents/docs.md +197 -0
- package/agents/executor-lite.md +61 -0
- package/agents/executor.md +456 -0
- package/agents/explorer-lite.md +1 -1
- package/agents/explorer.md +1 -1
- package/agents/finance-lite.md +1 -1
- package/agents/finance.md +1 -1
- package/agents/i18n-lite.md +44 -0
- package/agents/i18n.md +198 -0
- package/agents/legal-lite.md +1 -1
- package/agents/legal.md +1 -1
- package/agents/memory.md +240 -0
- package/agents/orchestrator-lite.md +40 -0
- package/agents/orchestrator.md +387 -0
- package/agents/pair-lite.md +38 -0
- package/agents/pair.md +308 -0
- package/agents/perf-lite.md +42 -0
- package/agents/perf.md +141 -0
- package/agents/planner-lite.md +59 -0
- package/agents/planner.md +265 -0
- package/agents/refactor-lite.md +42 -0
- package/agents/refactor.md +178 -0
- package/agents/scout-lite.md +37 -0
- package/agents/scout.md +222 -0
- package/agents/security-lite.md +1 -1
- package/agents/security.md +1 -1
- package/agents/starter-lite.md +1 -1
- package/agents/starter.md +1 -1
- package/agents/tdd-lite.md +43 -0
- package/agents/tdd.md +317 -0
- package/agents/tester-lite.md +1 -1
- package/agents/tester.md +1 -1
- package/cli/index.mjs +636 -15
- package/hooks/after-review.mjs +130 -0
- package/hooks/after-task.mjs +117 -0
- package/hooks/before-plan.mjs +155 -0
- package/hooks/before-review.mjs +139 -0
- package/hooks/hooks.json +81 -0
- package/hooks/native/auto-dispatch.mjs +197 -0
- package/hooks/native/auto-format.mjs +193 -0
- package/hooks/native/security-config.json +31 -0
- package/hooks/native/security-guard.mjs +267 -0
- package/hooks/native/session-context.mjs +136 -0
- package/hooks/native/settings-template.json +50 -0
- package/hooks/native/utils.mjs +62 -0
- package/hooks/on-error.mjs +129 -0
- package/hooks/session-end.mjs +185 -0
- package/hooks/session-start.mjs +154 -0
- package/package.json +16 -3
- package/packs/nextjs/agents/builder.md +24 -1
- package/packs/nextjs/agents/doctor.md +70 -4
- package/packs/nextjs/agents/migrator.md +24 -1
- package/packs/nextjs/agents/reviewer.md +93 -3
- 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 +1 -1
- package/packs/nextjs/agents-lite/reviewer.md +1 -1
- 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/dev-generate-types/SKILL.md +1 -1
- package/packs/nextjs/skills/docs-onboard/SKILL.md +1 -1
- package/packs/nextjs/skills/migration-migrate-component/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-fix-violations/SKILL.md +1 -1
- package/packs/nextjs/skills/review-review/SKILL.md +1 -1
- package/packs/react/agents/builder.md +24 -1
- package/packs/react/agents/doctor.md +107 -13
- package/packs/react/agents/migrator.md +24 -1
- package/packs/react/agents/reviewer.md +113 -9
- 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 +1 -1
- package/packs/react/agents-lite/reviewer.md +1 -1
- 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/dev-generate-types/SKILL.md +1 -1
- package/packs/react/skills/docs-onboard/SKILL.md +1 -1
- package/packs/react/skills/migration-migrate-component/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-fix-violations/SKILL.md +1 -1
- package/packs/react/skills/review-review/SKILL.md +1 -1
- package/packs/svelte/agents/builder.md +24 -1
- package/packs/svelte/agents/doctor.md +70 -4
- package/packs/svelte/agents/migrator.md +24 -1
- package/packs/svelte/agents/reviewer.md +93 -3
- 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 +1 -1
- package/packs/svelte/agents-lite/reviewer.md +1 -1
- 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/dev-generate-types/SKILL.md +1 -1
- package/packs/svelte/skills/docs-onboard/SKILL.md +1 -1
- package/packs/svelte/skills/migration-migrate-component/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-fix-violations/SKILL.md +1 -1
- package/packs/svelte/skills/review-review/SKILL.md +1 -1
- package/packs/vue/agents/builder.md +24 -1
- package/packs/vue/agents/doctor.md +107 -13
- package/packs/vue/agents/migrator.md +24 -1
- package/packs/vue/agents/reviewer.md +113 -9
- package/packs/vue/agents-lite/builder.md +1 -1
- package/packs/vue/agents-lite/doctor.md +1 -1
- package/packs/vue/agents-lite/migrator.md +1 -1
- package/packs/vue/agents-lite/reviewer.md +1 -1
- 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 +1 -1
- package/packs/vue/skills/dev-create-test/SKILL.md +1 -1
- package/packs/vue/skills/dev-generate-types/SKILL.md +1 -1
- package/packs/vue/skills/docs-onboard/SKILL.md +1 -1
- package/packs/vue/skills/migration-migrate-component/SKILL.md +1 -1
- 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-fix-violations/SKILL.md +1 -1
- package/packs/vue/skills/review-review/SKILL.md +1 -1
- package/skills/audit/SKILL.md +169 -0
- package/skills/brainstorm/SKILL.md +245 -0
- package/skills/checkpoint/SKILL.md +209 -0
- package/skills/debug/SKILL.md +210 -0
- package/skills/estimate/SKILL.md +145 -0
- package/skills/finish/SKILL.md +211 -0
- package/skills/health/SKILL.md +242 -0
- package/skills/learn/SKILL.md +260 -0
- package/skills/migrate-framework/SKILL.md +172 -0
- package/skills/onboard/SKILL.md +168 -0
- package/skills/plan/SKILL.md +132 -0
- package/skills/recall/SKILL.md +150 -0
- package/skills/remember/SKILL.md +158 -0
- package/skills/tdd/SKILL.md +156 -0
- package/skills/tutorial/SKILL.md +346 -0
- package/skills/verify/SKILL.md +168 -0
- package/skills/worktree/SKILL.md +168 -0
- package/skills/write-skill/SKILL.md +213 -0
- package/templates/industry/ecommerce.md +127 -0
- package/templates/industry/fintech.md +161 -0
- package/templates/industry/saas.md +134 -0
- package/templates/session-memory.json +48 -0
- package/templates/skill-template/SKILL.md +90 -0
package/README.md
CHANGED
|
@@ -1,384 +1,325 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="docs/public/social-preview-banner.svg" alt="Specialist Agent
|
|
2
|
+
<img src="docs/public/social-preview-banner.svg" alt="Specialist Agent" />
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<b>
|
|
7
|
-
|
|
6
|
+
<b>Your AI Development Team</b><br/>
|
|
7
|
+
25+ specialized agents that build, review, debug, and ship production code.
|
|
8
8
|
</p>
|
|
9
9
|
|
|
10
10
|
[](https://github.com/HerbertJulio/specialist-agent/actions/workflows/ci.yml)
|
|
11
11
|
[](https://github.com/HerbertJulio/specialist-agent/releases/latest)
|
|
12
12
|
[](LICENSE)
|
|
13
13
|
[](https://herbertjulio.github.io/specialist-agent/)
|
|
14
|
-
[](https://github.com/HerbertJulio/specialist-agent/stargazers)
|
|
15
14
|
|
|
16
15
|
---
|
|
17
16
|
|
|
18
|
-
##
|
|
19
|
-
|
|
20
|
-
- [๐ก What is Specialist Agent?](#-what-is-specialist-agent)
|
|
21
|
-
- [๐ช Token Consumption Notice](#-token-consumption-notice)
|
|
22
|
-
- [๐ Quick Start](#-quick-start)
|
|
23
|
-
- [๐ค Meet Your AI Team](#-meet-your-ai-team)
|
|
24
|
-
- [โก Skills](#-skills)
|
|
25
|
-
- [๐๏ธ Architecture](#๏ธ-architecture)
|
|
26
|
-
- [๐ชถ Lite Mode](#-lite-mode--lower-token-usage)
|
|
27
|
-
- [๐ Project Structure](#-project-structure)
|
|
28
|
-
- [๐ Optional: Context7 MCP](#-optional-context7-mcp)
|
|
29
|
-
- [๐ง Customization](#-customization)
|
|
30
|
-
- [๐ Documentation](#-documentation)
|
|
31
|
-
- [๐ซ Contributing](#-contributing)
|
|
32
|
-
- [๐ License](#-license)
|
|
17
|
+
## Why Specialist Agent?
|
|
33
18
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
|
43
|
-
|
|
44
|
-
| **Next.js** | Next.js 14+ (App Router) + TypeScript + Zustand + Server Components |
|
|
45
|
-
| **React** | React 18 + TypeScript + Zustand + TanStack React Query |
|
|
46
|
-
| **SvelteKit** | SvelteKit 2 + TypeScript + Svelte stores + load functions |
|
|
47
|
-
| **Vue 3** | Vue 3 + TypeScript + Pinia + TanStack Vue Query |
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
|
|
51
|
-
## ๐ช Token Consumption Notice
|
|
52
|
-
|
|
53
|
-
Agents consume tokens proportional to their complexity. Specialist Agent ships with **Lite agents** that use `model: haiku` โ significantly cheaper per token.
|
|
54
|
-
|
|
55
|
-
| Mode | Model | Module scaffold | Code review | Bug investigation |
|
|
56
|
-
|------|-------|-----------------|-------------|-------------------|
|
|
57
|
-
| **Full** | Sonnet/Opus | ~15-25k tokens | ~8-15k tokens | ~5-10k tokens |
|
|
58
|
-
| **Lite** | Haiku | ~5-10k tokens | ~3-5k tokens | ~2-5k tokens |
|
|
19
|
+
| | Specialist Agent | Others |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| **Agents** | 25+ specialized | 1-5 generic |
|
|
22
|
+
| **Frameworks** | Next.js, React, Vue, SvelteKit | Generic only |
|
|
23
|
+
| **Cost** | Lite mode (60-80% cheaper) | Full cost always |
|
|
24
|
+
| **Verification** | Proof-based (command output) | Trust-based ("it works") |
|
|
25
|
+
| **Memory** | Cross-session persistence | None |
|
|
26
|
+
| **Rollback** | Git checkpoints | None |
|
|
27
|
+
| **Hooks** | 11 (7 lifecycle + 4 native) | 0-1 |
|
|
28
|
+
| **Platforms** | 6 (Claude, Cursor, VS Code, Windsurf, Codex, OpenCode) | 1-3 |
|
|
59
29
|
|
|
60
30
|
---
|
|
61
31
|
|
|
62
|
-
##
|
|
32
|
+
## Install
|
|
63
33
|
|
|
64
|
-
**
|
|
34
|
+
**Marketplace:**
|
|
35
|
+
```
|
|
36
|
+
/plugin install specialist-agent
|
|
37
|
+
```
|
|
65
38
|
|
|
39
|
+
**CLI:**
|
|
66
40
|
```bash
|
|
67
|
-
cd /path/to/your-project
|
|
68
41
|
npx specialist-agent init
|
|
69
42
|
```
|
|
70
43
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
1. **Auto-detect** your framework from `package.json` (or ask)
|
|
74
|
-
2. Choose **Full** or **Lite** mode
|
|
75
|
-
3. Install **@starter** agent (optional)
|
|
76
|
-
4. Install **specialist agents** โ @finance, @cloud, @security, etc. (optional)
|
|
77
|
-
5. Install generic agents **globally** to `~/.claude/agents` (optional)
|
|
78
|
-
|
|
79
|
-
**2. Start using**
|
|
80
|
-
|
|
81
|
-
```bash
|
|
82
|
-
claude
|
|
83
|
-
|
|
84
|
-
# Create a new project from scratch
|
|
85
|
-
"Use @starter to create a task-manager app with React + Express + PostgreSQL"
|
|
86
|
-
|
|
87
|
-
# Build a feature inside an existing project
|
|
88
|
-
"Use @builder to create an orders module with CRUD for GET/POST/PATCH/DELETE /v2/orders"
|
|
89
|
-
```
|
|
44
|
+
Done. Start building.
|
|
90
45
|
|
|
91
46
|
---
|
|
92
47
|
|
|
93
|
-
##
|
|
48
|
+
## Agents
|
|
94
49
|
|
|
95
|
-
###
|
|
50
|
+
### Core
|
|
96
51
|
|
|
97
|
-
| Agent | What it
|
|
52
|
+
| Agent | What it Does |
|
|
98
53
|
|-------|--------------|
|
|
99
|
-
|
|
|
100
|
-
|
|
|
54
|
+
| `@starter` | Create projects from scratch |
|
|
55
|
+
| `@builder` | Build modules, components, services |
|
|
56
|
+
| `@reviewer` | Unified 3-in-1 review (spec + quality + architecture) |
|
|
57
|
+
| `@doctor` | Debug issues systematically |
|
|
58
|
+
| `@migrator` | Modernize legacy code |
|
|
101
59
|
|
|
102
|
-
###
|
|
60
|
+
### Workflow
|
|
103
61
|
|
|
104
|
-
| Agent | What it
|
|
62
|
+
| Agent | What it Does |
|
|
105
63
|
|-------|--------------|
|
|
106
|
-
|
|
|
107
|
-
|
|
|
108
|
-
|
|
|
109
|
-
|
|
|
110
|
-
|
|
|
111
|
-
|
|
|
112
|
-
|
|
|
64
|
+
| `@planner` | Plan features adaptively by complexity |
|
|
65
|
+
| `@executor` | Execute with checkpoints and cost tracking |
|
|
66
|
+
| `@tdd` | Test-Driven Development (RED-GREEN-REFACTOR) |
|
|
67
|
+
| `@debugger` | 4-phase systematic debugging |
|
|
68
|
+
| `@pair` | Real-time pair programming |
|
|
69
|
+
| `@analyst` | Requirements to technical specs |
|
|
70
|
+
| `@orchestrator` | Coordinate multiple agents |
|
|
113
71
|
|
|
114
|
-
###
|
|
72
|
+
### Specialists
|
|
115
73
|
|
|
116
|
-
| Agent | What it
|
|
74
|
+
| Agent | What it Does |
|
|
117
75
|
|-------|--------------|
|
|
118
|
-
|
|
|
119
|
-
|
|
|
120
|
-
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
|
76
|
+
| `@api` | REST/GraphQL API design |
|
|
77
|
+
| `@perf` | Performance optimization |
|
|
78
|
+
| `@security` | Auth, OWASP, encryption |
|
|
79
|
+
| `@finance` | Payments, billing, subscriptions |
|
|
80
|
+
| `@cloud` | AWS, GCP, Terraform, serverless |
|
|
81
|
+
| `@data` | Database design, migrations, caching |
|
|
82
|
+
| `@devops` | Docker, K8s, CI/CD |
|
|
83
|
+
| `@i18n` | Internationalization |
|
|
84
|
+
| `@docs` | Documentation generation |
|
|
85
|
+
| `@refactor` | Code refactoring |
|
|
86
|
+
| `@deps` | Dependency management |
|
|
87
|
+
| `@legal` | GDPR, LGPD, CCPA compliance |
|
|
88
|
+
| `@designer` | Design systems, accessibility |
|
|
89
|
+
| `@tester` | Test strategies |
|
|
90
|
+
|
|
91
|
+
### Support
|
|
92
|
+
|
|
93
|
+
| Agent | What it Does |
|
|
125
94
|
|-------|--------------|
|
|
126
|
-
|
|
|
127
|
-
|
|
|
95
|
+
| `@scout` | Quick project analysis (~500 tokens) |
|
|
96
|
+
| `@explorer` | Deep codebase exploration |
|
|
97
|
+
| `@memory` | Session memory management |
|
|
128
98
|
|
|
129
|
-
|
|
130
|
-
# Start a new full-stack project
|
|
131
|
-
"Use @starter to create an e-commerce app with Next.js + Fastify + PostgreSQL"
|
|
99
|
+
---
|
|
132
100
|
|
|
133
|
-
|
|
134
|
-
"Use @explorer to assess this project โ I just joined the team"
|
|
101
|
+
## Skills
|
|
135
102
|
|
|
136
|
-
|
|
137
|
-
|
|
103
|
+
| Skill | What it Does |
|
|
104
|
+
|-------|--------------|
|
|
105
|
+
| `/brainstorm` | Socratic brainstorming โ refine ideas before planning |
|
|
106
|
+
| `/plan` | Plan a feature adaptively |
|
|
107
|
+
| `/tdd` | Test-driven development cycle |
|
|
108
|
+
| `/debug` | 4-phase systematic debugging |
|
|
109
|
+
| `/audit` | Multi-domain code audit (security + perf + architecture + deps) |
|
|
110
|
+
| `/onboard` | Codebase onboarding for new developers |
|
|
111
|
+
| `/checkpoint` | Save/restore progress with git |
|
|
112
|
+
| `/health` | Project health score (0-100) |
|
|
113
|
+
| `/verify` | Verification before completion (proof-based) |
|
|
114
|
+
| `/remember` | Save decisions to memory |
|
|
115
|
+
| `/recall` | Query saved decisions |
|
|
116
|
+
| `/estimate` | Estimate token cost before starting |
|
|
117
|
+
| `/finish` | Finalize branch with metrics |
|
|
118
|
+
| `/learn` | Learning mode โ explains while building |
|
|
119
|
+
| `/tutorial` | Interactive tutorial |
|
|
120
|
+
| `/worktree` | Git worktree isolation for parallel tasks |
|
|
121
|
+
| `/write-skill` | Create or improve skills with TDD |
|
|
122
|
+
| `/migrate-framework` | Migrate between frameworks |
|
|
138
123
|
|
|
139
|
-
|
|
140
|
-
"Use @reviewer to review the changes in the payments module"
|
|
124
|
+
---
|
|
141
125
|
|
|
142
|
-
|
|
143
|
-
"Use @doctor to investigate the 500 error on login"
|
|
126
|
+
## Framework Packs
|
|
144
127
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
128
|
+
| Pack | Stack |
|
|
129
|
+
|------|-------|
|
|
130
|
+
| **Next.js** | App Router + TypeScript + Zustand |
|
|
131
|
+
| **React** | React 18 + TypeScript + React Query |
|
|
132
|
+
| **Vue 3** | Vue 3 + TypeScript + Pinia |
|
|
133
|
+
| **SvelteKit** | SvelteKit 2 + TypeScript |
|
|
134
|
+
|
|
135
|
+
Each pack includes framework-specific agents, skills, and architecture patterns.
|
|
148
136
|
|
|
149
137
|
---
|
|
150
138
|
|
|
151
|
-
##
|
|
139
|
+
## Examples
|
|
152
140
|
|
|
153
|
-
|
|
141
|
+
```bash
|
|
142
|
+
# New project
|
|
143
|
+
"Use @starter to create an e-commerce app with Next.js + PostgreSQL"
|
|
154
144
|
|
|
155
|
-
|
|
145
|
+
# Build a feature
|
|
146
|
+
"Use @builder to create a products module with CRUD"
|
|
156
147
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
| `/dev-create-module [name]` | Full module scaffold (delegates to agents) |
|
|
160
|
-
| `/dev-create-component [name]` | Component from framework-specific template |
|
|
161
|
-
| `/dev-create-service [resource]` | Types + contracts + adapter + service |
|
|
162
|
-
| `/dev-create-hook` or `/dev-create-composable` | Hook/composable/store with server state integration |
|
|
163
|
-
| `/dev-create-test [file]` | Tests for adapter, hook/composable, or component |
|
|
164
|
-
| `/dev-generate-types [endpoint]` | Types + contracts + adapter from endpoint/JSON |
|
|
148
|
+
# Review code
|
|
149
|
+
"Use @reviewer to review the auth module"
|
|
165
150
|
|
|
166
|
-
|
|
151
|
+
# Debug
|
|
152
|
+
"Use @doctor to investigate the 500 error"
|
|
167
153
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
| `/review-review [scope]` | Full code review (automated + manual) |
|
|
171
|
-
| `/review-check-architecture [module]` | Automated conformance checks |
|
|
172
|
-
| `/review-fix-violations [module]` | Auto-fix violations by priority |
|
|
154
|
+
# Plan
|
|
155
|
+
/plan add user authentication
|
|
173
156
|
|
|
174
|
-
|
|
157
|
+
# TDD
|
|
158
|
+
/tdd implement calculateDiscount
|
|
175
159
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
| `/migration-migrate-component [file]` | Migrate component to target architecture |
|
|
179
|
-
| `/migration-migrate-module [path]` | Full module migration (6 phases) |
|
|
160
|
+
# Audit
|
|
161
|
+
/audit src/modules/auth
|
|
180
162
|
|
|
181
|
-
|
|
163
|
+
# Onboard
|
|
164
|
+
/onboard
|
|
182
165
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
166
|
+
# Save progress
|
|
167
|
+
/checkpoint create before-refactor
|
|
168
|
+
```
|
|
186
169
|
|
|
187
170
|
---
|
|
188
171
|
|
|
189
|
-
##
|
|
172
|
+
## Verification Protocol
|
|
190
173
|
|
|
191
|
-
All agents
|
|
174
|
+
All agents verify claims with evidence before marking work complete:
|
|
192
175
|
|
|
193
|
-
```text
|
|
194
|
-
Service (HTTP only) โ Adapter (parse) โ Orchestration โ Component (UI)
|
|
195
176
|
```
|
|
177
|
+
CLAIM: "Tests pass"
|
|
178
|
+
PROOF: Must show actual test output in the same message
|
|
196
179
|
|
|
197
|
-
|
|
180
|
+
CLAIM: "Build succeeds"
|
|
181
|
+
PROOF: Must show build command output
|
|
198
182
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
| React | Hooks + React Query | Zustand | `.tsx` |
|
|
203
|
-
| SvelteKit | Stores + load functions | Svelte stores | `.svelte` |
|
|
204
|
-
| Vue 3 | Composables + Vue Query | Pinia | `.vue` |
|
|
183
|
+
CLAIM: "No security issues"
|
|
184
|
+
PROOF: Must show npm audit / lint output
|
|
185
|
+
```
|
|
205
186
|
|
|
206
|
-
|
|
187
|
+
No "should work" โ run the command, show the output.
|
|
207
188
|
|
|
208
189
|
---
|
|
209
190
|
|
|
210
|
-
##
|
|
191
|
+
## Hooks
|
|
211
192
|
|
|
212
|
-
|
|
193
|
+
7 lifecycle hooks + 4 native Claude Code hooks:
|
|
213
194
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
195
|
+
| Hook | When |
|
|
196
|
+
|------|------|
|
|
197
|
+
| `session-start` | Session begins |
|
|
198
|
+
| `before-plan` | Before `@planner` creates a plan |
|
|
199
|
+
| `after-task` | After any task completes |
|
|
200
|
+
| `before-review` | Before `@reviewer` starts |
|
|
201
|
+
| `after-review` | After `@reviewer` finishes |
|
|
202
|
+
| `on-error` | When an error occurs |
|
|
203
|
+
| `session-end` | Session ends |
|
|
217
204
|
|
|
218
|
-
|
|
219
|
-
|--------|------|------|
|
|
220
|
-
| **Model** | Sonnet/Opus (default) | Haiku |
|
|
221
|
-
| **First action** | Reads ARCHITECTURE.md | Rules inline |
|
|
222
|
-
| **Validation** | tsc, build, vitest | Skipped |
|
|
223
|
-
| **Size** | ~80-120 lines | ~30-50 lines |
|
|
224
|
-
| **Cost** | ~5-25k tokens | ~2-10k tokens |
|
|
205
|
+
### Native Hooks (Claude Code)
|
|
225
206
|
|
|
226
|
-
|
|
207
|
+
| Hook | Event | What it Does |
|
|
208
|
+
|------|-------|-------------|
|
|
209
|
+
| Security Guard | `PreToolUse` | Blocks dangerous commands (`rm -rf /`, force push, `DROP TABLE`) |
|
|
210
|
+
| Auto-Dispatch | `UserPromptSubmit` | Suggests the best agent for your prompt |
|
|
211
|
+
| Session Context | `SessionStart` | Injects project state (branch, agents, memory) |
|
|
212
|
+
| Auto-Format | `PostToolUse` | Auto-formats files after Write/Edit |
|
|
227
213
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
```text
|
|
231
|
-
specialist-agent/
|
|
232
|
-
โโโ packs/
|
|
233
|
-
โ โโโ vue/ โ Vue 3 pack
|
|
234
|
-
โ โโโ react/ โ React pack
|
|
235
|
-
โ โโโ nextjs/ โ Next.js pack
|
|
236
|
-
โ โโโ svelte/ โ SvelteKit pack
|
|
237
|
-
โ โโโ agents/ โ Full agents (4)
|
|
238
|
-
โ โโโ agents-lite/ โ Lite agents (4)
|
|
239
|
-
โ โโโ skills/ โ Skills (12)
|
|
240
|
-
โ โโโ ARCHITECTURE.md โ Architecture patterns
|
|
241
|
-
โ โโโ CLAUDE.md โ Pack-specific config
|
|
242
|
-
โ
|
|
243
|
-
โโโ agents/ โ Framework-agnostic agents (9 + 9 lite)
|
|
244
|
-
โ
|
|
245
|
-
โโโ cli/ โ CLI installer
|
|
246
|
-
โ โโโ index.mjs โ npx specialist-agent init
|
|
247
|
-
โ
|
|
248
|
-
โโโ docs/ โ VitePress documentation
|
|
249
|
-
โโโ package.json
|
|
250
|
-
```
|
|
214
|
+
Configure lifecycle hooks in `hooks/hooks.json`. Native hooks in `.claude/settings.json`.
|
|
251
215
|
|
|
252
216
|
---
|
|
253
217
|
|
|
254
|
-
##
|
|
255
|
-
|
|
256
|
-
For up-to-date library documentation when asking Claude about APIs, you can add the [Context7 MCP server](https://github.com/upstash/context7). This benefits you as a developer โ agents work fully without it.
|
|
218
|
+
## Security
|
|
257
219
|
|
|
258
|
-
|
|
220
|
+
The Security Guard hook blocks dangerous commands **before** they execute:
|
|
259
221
|
|
|
260
|
-
|
|
222
|
+
- **CRITICAL:** `rm -rf /`, fork bombs, disk wipe commands
|
|
223
|
+
- **HIGH:** Force push to main, `git reset --hard`, `DROP TABLE`, `curl | bash`
|
|
224
|
+
- **MEDIUM:** Reading `.env` files, inline secrets in commands
|
|
261
225
|
|
|
262
|
-
|
|
263
|
-
{
|
|
264
|
-
"mcpServers": {
|
|
265
|
-
"context7": {
|
|
266
|
-
"command": "npx",
|
|
267
|
-
"args": ["-y", "@upstash/context7-mcp@latest"]
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
```
|
|
226
|
+
Customize rules in `hooks/native/security-config.json`.
|
|
272
227
|
|
|
273
228
|
---
|
|
274
229
|
|
|
275
|
-
##
|
|
230
|
+
## Full vs Lite Mode
|
|
276
231
|
|
|
277
|
-
|
|
232
|
+
| Mode | Model | Cost |
|
|
233
|
+
|------|-------|------|
|
|
234
|
+
| Full | Sonnet/Opus | Higher accuracy |
|
|
235
|
+
| Lite | Haiku | 60-80% cheaper |
|
|
278
236
|
|
|
279
|
-
|
|
237
|
+
Choose during installation. All 25+ agents have lite variants.
|
|
280
238
|
|
|
281
|
-
```markdown
|
|
282
|
-
---
|
|
283
|
-
name: my-agent
|
|
284
|
-
description: "MUST BE USED to [do X] when [trigger]. Use PROACTIVELY when [condition]."
|
|
285
|
-
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
286
239
|
---
|
|
287
240
|
|
|
288
|
-
|
|
241
|
+
## Platforms
|
|
289
242
|
|
|
290
|
-
|
|
291
|
-
|
|
243
|
+
| Platform | Install |
|
|
244
|
+
|----------|---------|
|
|
245
|
+
| Claude Code | `npx specialist-agent init` or `/plugin install` |
|
|
246
|
+
| Cursor | Copy `.cursor-plugin/` |
|
|
247
|
+
| VS Code | `.vscode/extension.json` |
|
|
248
|
+
| Windsurf | `.windsurf/plugin.json` |
|
|
249
|
+
| Codex | `.codex/INSTALL.md` |
|
|
250
|
+
| OpenCode | `.opencode/INSTALL.md` |
|
|
292
251
|
|
|
293
|
-
|
|
294
|
-
1. Step one
|
|
295
|
-
2. Step two
|
|
296
|
-
|
|
297
|
-
## Output
|
|
298
|
-
After completing work, provide:
|
|
299
|
-
- What was done (files created/modified)
|
|
300
|
-
- Key decisions and rationale
|
|
301
|
-
- Validation results
|
|
302
|
-
- Recommendations for next steps
|
|
252
|
+
---
|
|
303
253
|
|
|
304
|
-
##
|
|
305
|
-
- Rule one
|
|
306
|
-
- Rule two
|
|
254
|
+
## CLI
|
|
307
255
|
|
|
308
|
-
|
|
309
|
-
-
|
|
256
|
+
```bash
|
|
257
|
+
npx specialist-agent init # Install
|
|
258
|
+
npx specialist-agent create-agent @my-agent # Create agent
|
|
259
|
+
npx specialist-agent list # List agents
|
|
260
|
+
npx specialist-agent profiles set startup-fast # Set profile
|
|
261
|
+
npx specialist-agent community list # Community skills
|
|
310
262
|
```
|
|
311
263
|
|
|
312
|
-
|
|
264
|
+
---
|
|
265
|
+
|
|
266
|
+
## Team Profiles
|
|
313
267
|
|
|
314
|
-
|
|
268
|
+
| Profile | Description |
|
|
269
|
+
|---------|-------------|
|
|
270
|
+
| `startup-fast` | Move fast, Haiku |
|
|
271
|
+
| `enterprise-strict` | Full validation |
|
|
272
|
+
| `learning-mode` | Explain everything |
|
|
273
|
+
| `cost-optimized` | Minimize tokens |
|
|
315
274
|
|
|
316
|
-
```markdown
|
|
317
275
|
---
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
276
|
+
|
|
277
|
+
## Industry Templates
|
|
278
|
+
|
|
279
|
+
| Template | For |
|
|
280
|
+
|----------|-----|
|
|
281
|
+
| E-commerce | Online stores |
|
|
282
|
+
| SaaS | Subscription apps |
|
|
283
|
+
| Fintech | Financial apps |
|
|
284
|
+
|
|
323
285
|
---
|
|
324
286
|
|
|
325
|
-
|
|
287
|
+
## Session Memory
|
|
326
288
|
|
|
327
|
-
|
|
289
|
+
```bash
|
|
290
|
+
# Save a decision
|
|
291
|
+
/remember use Zustand for state management
|
|
328
292
|
|
|
329
|
-
|
|
330
|
-
|
|
293
|
+
# Recall later
|
|
294
|
+
/recall state management
|
|
331
295
|
```
|
|
332
296
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
Edit `docs/ARCHITECTURE.md` โ all agents read this file before acting. Changes take effect immediately.
|
|
297
|
+
Decisions persist across sessions.
|
|
336
298
|
|
|
337
299
|
---
|
|
338
300
|
|
|
339
|
-
##
|
|
301
|
+
## Documentation
|
|
340
302
|
|
|
341
|
-
Full docs
|
|
303
|
+
Full docs: [herbertjulio.github.io/specialist-agent](https://herbertjulio.github.io/specialist-agent/)
|
|
342
304
|
|
|
343
305
|
```bash
|
|
344
|
-
|
|
345
|
-
npm install && npm run docs:dev
|
|
306
|
+
npm run docs:dev
|
|
346
307
|
```
|
|
347
308
|
|
|
348
|
-
- [Introduction](docs/guide/introduction.md)
|
|
349
|
-
- [Installation](docs/guide/installation.md)
|
|
350
|
-
- [Quick Start](docs/guide/quick-start.md)
|
|
351
|
-
- [Architecture Guide](docs/guide/architecture.md)
|
|
352
|
-
- [Agents Reference](docs/reference/agents.md)
|
|
353
|
-
- [Skills Reference](docs/reference/skills.md)
|
|
354
|
-
|
|
355
309
|
---
|
|
356
310
|
|
|
357
|
-
##
|
|
358
|
-
|
|
359
|
-
Contributions are welcome!
|
|
311
|
+
## Contributing
|
|
360
312
|
|
|
361
|
-
|
|
362
|
-
- **Issues** โ Report bugs or suggest improvements
|
|
363
|
-
- **Pull Requests** โ New packs, agents, skills, or pattern improvements
|
|
364
|
-
- **Discussions** โ Share how you've customized Specialist Agent
|
|
313
|
+
Contributions welcome.
|
|
365
314
|
|
|
366
315
|
```bash
|
|
367
316
|
git checkout -b feature/my-feature
|
|
368
317
|
git commit -m 'feat: add my feature'
|
|
369
318
|
git push origin feature/my-feature
|
|
370
|
-
# Open a Pull Request
|
|
371
319
|
```
|
|
372
320
|
|
|
373
321
|
---
|
|
374
322
|
|
|
375
|
-
##
|
|
323
|
+
## License
|
|
376
324
|
|
|
377
|
-
MIT
|
|
378
|
-
|
|
379
|
-
---
|
|
380
|
-
|
|
381
|
-
<p align="center">
|
|
382
|
-
<b>Built for developers who use Claude Code every day.</b><br/>
|
|
383
|
-
<a href="https://github.com/HerbertJulio/specialist-agent">GitHub</a> ยท <a href="docs/guide/introduction.md">Docs</a> ยท <a href="https://github.com/HerbertJulio/specialist-agent/issues">Issues</a>
|
|
384
|
-
</p>
|
|
325
|
+
MIT
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: analyst
|
|
3
|
+
description: "Use when requirements are ambiguous, incomplete, or need to be translated into technical specifications."
|
|
4
|
+
model: haiku
|
|
5
|
+
tools: Read, Glob, Grep
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# @analyst (Lite) โ Requirements Analysis
|
|
9
|
+
|
|
10
|
+
## Mission
|
|
11
|
+
Transform business requirements into technical specifications.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
1. Clarify requirements
|
|
15
|
+
2. Analyze existing system
|
|
16
|
+
3. Produce technical spec
|
|
17
|
+
|
|
18
|
+
## Output Structure
|
|
19
|
+
```markdown
|
|
20
|
+
# Technical Specification: [Feature]
|
|
21
|
+
|
|
22
|
+
## Data Models
|
|
23
|
+
[TypeScript interfaces]
|
|
24
|
+
|
|
25
|
+
## API Contracts
|
|
26
|
+
[Endpoints]
|
|
27
|
+
|
|
28
|
+
## User Stories
|
|
29
|
+
[Actionable tasks]
|
|
30
|
+
|
|
31
|
+
## Acceptance Criteria
|
|
32
|
+
[Testable conditions]
|
|
33
|
+
|
|
34
|
+
## Estimated Complexity
|
|
35
|
+
- Files: ~N
|
|
36
|
+
- Lines: ~N
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Questions I Ask
|
|
40
|
+
- Who uses this?
|
|
41
|
+
- What problem does it solve?
|
|
42
|
+
- What's excluded?
|
|
43
|
+
- How do we know it's done?
|
|
44
|
+
|
|
45
|
+
## Rules
|
|
46
|
+
- Never assume
|
|
47
|
+
- Be specific
|
|
48
|
+
- Think in data and APIs
|