specialist-agent 2.9.0 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/.claude-plugin/marketplace.json +5 -5
  2. package/.claude-plugin/plugin.json +2 -2
  3. package/.cursor-plugin/marketplace.json +1 -1
  4. package/.cursor-plugin/plugin.json +2 -2
  5. package/.opencode/INSTALL.md +74 -79
  6. package/.opencode/opencode.json +141 -0
  7. package/README.md +128 -250
  8. package/agents/analyst.md +1 -0
  9. package/agents/api.md +4 -4
  10. package/agents/architect-lite.md +2 -2
  11. package/agents/architect.md +29 -20
  12. package/agents/cloud-lite.md +1 -1
  13. package/agents/cloud.md +4 -4
  14. package/agents/data-lite.md +1 -1
  15. package/agents/data.md +4 -4
  16. package/agents/debugger.md +1 -0
  17. package/agents/deps.md +4 -4
  18. package/agents/designer-lite.md +1 -1
  19. package/agents/designer.md +4 -4
  20. package/agents/devops-lite.md +1 -1
  21. package/agents/devops.md +4 -4
  22. package/agents/docs.md +4 -4
  23. package/agents/executor.md +95 -0
  24. package/agents/explorer-lite.md +1 -1
  25. package/agents/explorer.md +4 -4
  26. package/agents/finance-lite.md +1 -1
  27. package/agents/finance.md +4 -4
  28. package/agents/i18n.md +4 -4
  29. package/agents/legal-lite.md +1 -1
  30. package/agents/legal.md +4 -4
  31. package/agents/marketing-lite.md +25 -0
  32. package/agents/marketing.md +179 -0
  33. package/agents/memory.md +13 -12
  34. package/agents/orchestrator.md +102 -0
  35. package/agents/pair.md +1 -0
  36. package/agents/perf.md +4 -4
  37. package/agents/planner.md +1 -0
  38. package/agents/product-lite.md +25 -0
  39. package/agents/product.md +186 -0
  40. package/agents/refactor.md +4 -4
  41. package/agents/ripple.md +1 -0
  42. package/agents/scout.md +1 -0
  43. package/agents/security-lite.md +1 -1
  44. package/agents/security.md +4 -4
  45. package/agents/sentry-triage-lite.md +54 -0
  46. package/agents/sentry-triage.md +214 -0
  47. package/agents/starter-lite.md +4 -4
  48. package/agents/starter.md +8 -8
  49. package/agents/support-lite.md +24 -0
  50. package/agents/support.md +190 -0
  51. package/agents/tdd.md +1 -0
  52. package/agents/tester-lite.md +1 -1
  53. package/agents/tester.md +43 -10
  54. package/cli/architectures.mjs +713 -0
  55. package/cli/detect-architecture.mjs +752 -0
  56. package/cli/generate-architecture.mjs +1096 -0
  57. package/cli/index.mjs +681 -179
  58. package/cli/recommend-architecture.mjs +870 -0
  59. package/hooks/native/auto-dispatch.mjs +22 -23
  60. package/hooks/native/auto-format.mjs +5 -25
  61. package/hooks/native/mcp-discovery.mjs +168 -0
  62. package/hooks/native/security-config.json +7 -0
  63. package/hooks/native/security-guard.mjs +77 -27
  64. package/hooks/native/session-context.mjs +61 -18
  65. package/hooks/native/settings-template.json +9 -0
  66. package/package.json +1 -1
  67. package/packs/angular/agents/builder.md +10 -54
  68. package/packs/angular/agents/doctor.md +7 -61
  69. package/packs/angular/agents/migrator.md +7 -101
  70. package/packs/angular/agents/reviewer.md +22 -33
  71. package/packs/angular/skills/review-check-architecture/SKILL.md +7 -7
  72. package/packs/angular/skills/review-review/SKILL.md +1 -0
  73. package/packs/astro/agents/builder.md +10 -79
  74. package/packs/astro/agents/doctor.md +7 -61
  75. package/packs/astro/agents/migrator.md +7 -111
  76. package/packs/astro/agents/reviewer.md +22 -32
  77. package/packs/astro/skills/review-check-architecture/SKILL.md +9 -9
  78. package/packs/astro/skills/review-review/SKILL.md +1 -0
  79. package/packs/nextjs/agents/builder.md +11 -108
  80. package/packs/nextjs/agents/doctor.md +7 -62
  81. package/packs/nextjs/agents/migrator.md +6 -194
  82. package/packs/nextjs/agents/reviewer.md +22 -76
  83. package/packs/nextjs/skills/review-check-architecture/SKILL.md +15 -15
  84. package/packs/nextjs/skills/review-review/SKILL.md +1 -0
  85. package/packs/nuxt/agents/builder.md +10 -55
  86. package/packs/nuxt/agents/doctor.md +7 -61
  87. package/packs/nuxt/agents/migrator.md +7 -109
  88. package/packs/nuxt/agents/reviewer.md +22 -42
  89. package/packs/nuxt/skills/review-check-architecture/SKILL.md +11 -11
  90. package/packs/nuxt/skills/review-review/SKILL.md +1 -0
  91. package/packs/react/agents/builder.md +10 -55
  92. package/packs/react/agents/doctor.md +7 -61
  93. package/packs/react/agents/migrator.md +7 -106
  94. package/packs/react/agents/reviewer.md +22 -55
  95. package/packs/react/skills/review-check-architecture/SKILL.md +10 -10
  96. package/packs/react/skills/review-review/SKILL.md +1 -0
  97. package/packs/svelte/agents/builder.md +10 -58
  98. package/packs/svelte/agents/doctor.md +7 -60
  99. package/packs/svelte/agents/migrator.md +7 -118
  100. package/packs/svelte/agents/reviewer.md +22 -42
  101. package/packs/svelte/skills/review-check-architecture/SKILL.md +12 -12
  102. package/packs/svelte/skills/review-review/SKILL.md +1 -0
  103. package/packs/vue/agents/builder.md +10 -55
  104. package/packs/vue/agents/doctor.md +7 -61
  105. package/packs/vue/agents/migrator.md +7 -93
  106. package/packs/vue/agents/reviewer.md +20 -32
  107. package/packs/vue/skills/review-check-architecture/SKILL.md +10 -10
  108. package/packs/vue/skills/review-review/SKILL.md +1 -0
  109. package/skills/autofix/SKILL.md +166 -0
  110. package/skills/discovery/SKILL.md +218 -0
  111. package/skills/migrate-architecture/SKILL.md +242 -0
package/README.md CHANGED
@@ -1,329 +1,207 @@
1
1
  <p align="center">
2
- <img src="docs/public/logo-animated.svg" alt="Specialist Agent" width="200" />
2
+ <img src="docs/public/logo-animated.svg" alt="Specialist Agent" width="180" />
3
3
  </p>
4
4
 
5
5
  <h1 align="center">Specialist Agent</h1>
6
6
 
7
+ <p align="center">Your AI development team. 35 agents. 24 skills. Ship faster.</p>
8
+
7
9
  <p align="center">
8
- <b>Your AI Development Team</b><br/>
9
- 27+ specialized agents that build, review, debug, and ship production code.
10
+ <a href="https://github.com/HerbertJulio/specialist-agent/actions/workflows/ci.yml"><img src="https://github.com/HerbertJulio/specialist-agent/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
11
+ <a href="https://www.npmjs.com/package/specialist-agent"><img src="https://img.shields.io/npm/v/specialist-agent" alt="npm" /></a>
12
+ <a href="https://www.npmjs.com/package/specialist-agent"><img src="https://img.shields.io/npm/dm/specialist-agent" alt="downloads" /></a>
13
+ <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="MIT" /></a>
14
+ <a href="https://specialistagent.com.br"><img src="https://img.shields.io/badge/Docs-specialistagent.com.br-646cff.svg" alt="Docs" /></a>
10
15
  </p>
11
16
 
12
- [![CI](https://github.com/HerbertJulio/specialist-agent/actions/workflows/ci.yml/badge.svg)](https://github.com/HerbertJulio/specialist-agent/actions/workflows/ci.yml)
13
- [![npm](https://img.shields.io/npm/v/specialist-agent)](https://www.npmjs.com/package/specialist-agent)
14
- [![npm downloads](https://img.shields.io/npm/dm/specialist-agent)](https://www.npmjs.com/package/specialist-agent)
15
- [![Release](https://img.shields.io/github/v/release/HerbertJulio/specialist-agent?label=Release)](https://github.com/HerbertJulio/specialist-agent/releases/latest)
16
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
17
- [![Docs](https://img.shields.io/badge/Docs-VitePress-646cff.svg)](https://specialistagent.com.br/)
18
-
19
- ---
20
-
21
- ## Why Specialist Agent?
22
-
23
- | | Specialist Agent | Others |
24
- |---|---|---|
25
- | **Agents** | 27+ specialized | 1-5 generic |
26
- | **Frameworks** | Next.js, React, Vue, SvelteKit, Angular, Astro, Nuxt | Generic only |
27
- | **Cost** | Lite mode (60-80% cheaper) | Full cost always |
28
- | **Verification** | Proof-based (command output) | Trust-based ("it works") |
29
- | **Memory** | Cross-session persistence | None |
30
- | **Rollback** | Git checkpoints | None |
31
- | **Hooks** | 11 (7 lifecycle + 4 native) | 0-1 |
32
- | **Platforms** | 6 (Claude, Cursor, VS Code, Windsurf, Codex, OpenCode) | 1-3 |
33
-
34
17
  ---
35
18
 
36
- ## Install
37
-
38
- **Marketplace:**
39
- ```
40
- /plugin install specialist-agent
41
- ```
42
-
43
- **CLI:**
44
19
  ```bash
45
20
  npx specialist-agent init
46
21
  ```
47
22
 
48
- Done. Start building.
23
+ ```bash
24
+ "Use @builder to create a payments module with CRUD"
25
+ "Use @reviewer to review the auth module"
26
+ /tdd implement calculateDiscount function
27
+ ```
49
28
 
50
29
  ---
51
30
 
52
- ## Agents
53
-
54
- ### Core
55
-
56
- | Agent | What it Does |
57
- |-------|--------------|
58
- | `@starter` | Create projects from scratch |
59
- | `@builder` | Build modules, components, services |
60
- | `@reviewer` | Unified 3-in-1 review (spec + quality + architecture) |
61
- | `@doctor` | Debug issues systematically |
62
- | `@migrator` | Modernize legacy code |
63
-
64
- ### Workflow
65
-
66
- | Agent | What it Does |
67
- |-------|--------------|
68
- | `@planner` | Plan features adaptively by complexity |
69
- | `@executor` | Execute with checkpoints, gates, and cost tracking |
70
- | `@tdd` | Test-Driven Development (RED-GREEN-REFACTOR) |
71
- | `@debugger` | 4-phase systematic debugging |
72
- | `@pair` | Real-time pair programming |
73
- | `@analyst` | Requirements to technical specs |
74
- | `@orchestrator` | Coordinate multiple agents |
75
-
76
- ### Specialists
77
-
78
- | Agent | What it Does |
79
- |-------|--------------|
80
- | `@api` | REST/GraphQL API design |
81
- | `@perf` | Performance optimization |
82
- | `@security` | Auth, OWASP, encryption |
83
- | `@finance` | Payments, billing, subscriptions |
84
- | `@cloud` | AWS, GCP, Terraform, serverless |
85
- | `@data` | Database design, migrations, caching |
86
- | `@devops` | Docker, K8s, CI/CD |
87
- | `@i18n` | Internationalization |
88
- | `@docs` | Documentation generation |
89
- | `@refactor` | Code refactoring |
90
- | `@deps` | Dependency management |
91
- | `@legal` | GDPR, LGPD, CCPA compliance |
92
- | `@designer` | Design systems, accessibility |
93
- | `@tester` | Test strategies |
94
- | `@architect` | Full system architecture migration (DDD, CQRS, Hexagonal) |
95
- | `@ripple` | Cascading effect analysis |
96
-
97
- ### Support
98
-
99
- | Agent | What it Does |
100
- |-------|--------------|
101
- | `@scout` | Quick project analysis (~500 tokens) |
102
- | `@explorer` | Deep codebase exploration |
103
- | `@memory` | Session memory management |
31
+ ## Core Agents
104
32
 
105
- ---
33
+ The foundation. Build, review, debug, migrate.
106
34
 
107
- ## Skills
35
+ | Agent | What it does | Example |
36
+ |-------|-------------|---------|
37
+ | `@starter` | Scaffold new projects from scratch | `"Create a Next.js + Prisma + Stripe app"` |
38
+ | `@builder` | Build modules, components, services | `"Create a products module with CRUD"` |
39
+ | `@reviewer` | 3-in-1 review: spec + quality + architecture | `"Review the auth module"` |
40
+ | `@doctor` | Systematic 4-phase debugging | `"Investigate the 500 error on login"` |
41
+ | `@migrator` | Modernize legacy code | `"Migrate src/legacy/ to TypeScript"` |
108
42
 
109
- | Skill | What it Does |
110
- |-------|--------------|
111
- | `/brainstorm` | Socratic brainstorming - refine ideas before planning |
112
- | `/plan` | Plan a feature adaptively |
113
- | `/tdd` | Test-driven development cycle |
114
- | `/debug` | 4-phase systematic debugging |
115
- | `/codereview` | Multi-reviewer parallel code review (3 perspectives) |
116
- | `/commit` | Smart conventional commits with validation |
117
- | `/lint` | Lint and auto-fix (detects Biome/ESLint/Prettier) |
118
- | `/audit` | Multi-domain code audit (security + perf + architecture + deps) |
119
- | `/onboard` | Codebase onboarding for new developers |
120
- | `/checkpoint` | Save/restore progress with git |
121
- | `/health` | Project health score (0-100) |
122
- | `/verify` | Verification before completion (proof-based) |
123
- | `/remember` | Save decisions to memory |
124
- | `/recall` | Query saved decisions |
125
- | `/estimate` | Estimate token cost before starting |
126
- | `/finish` | Finalize branch with metrics |
127
- | `/learn` | Learning mode - explains while building |
128
- | `/tutorial` | Interactive tutorial |
129
- | `/worktree` | Git worktree isolation for parallel tasks |
130
- | `/write-skill` | Create or improve skills with TDD |
131
- | `/migrate-framework` | Migrate between frameworks |
132
-
133
- ---
43
+ ## Workflow Agents
134
44
 
135
- ## Framework Packs
45
+ Plan, execute, coordinate, remember.
136
46
 
137
- | Pack | Stack |
138
- |------|-------|
139
- | **Next.js** | App Router + TypeScript + Zustand |
140
- | **React** | React 18 + TypeScript + React Query |
141
- | **Vue 3** | Vue 3 + TypeScript + Pinia |
142
- | **SvelteKit** | SvelteKit 2 + TypeScript |
143
- | **Angular** | Angular 17+ Standalone + Signals |
144
- | **Astro** | Astro 4+ Islands + Content Collections |
145
- | **Nuxt** | Nuxt 3 + Auto-imports + Nitro |
47
+ | Agent | What it does | Example |
48
+ |-------|-------------|---------|
49
+ | `@planner` | Adaptive planning by complexity | `"Plan the checkout flow"` |
50
+ | `@executor` | Execute plans with checkpoints and gates | `"Execute the auth migration plan"` |
51
+ | `@tdd` | Test-Driven Development (RED-GREEN-REFACTOR) | `"TDD the discount calculator"` |
52
+ | `@debugger` | Systematic debugging with hypotheses | `"Debug the state sync issue"` |
53
+ | `@pair` | Real-time pair programming | `"Pair with me on the payment flow"` |
54
+ | `@analyst` | Requirements to technical specs | `"Spec out the notification system"` |
55
+ | `@orchestrator` | Coordinate multiple agents on complex tasks | `"Orchestrate the full checkout feature"` |
56
+ | `@scout` | Quick project analysis | `"Analyze this project"` |
57
+ | `@memory` | Cross-session decision persistence | `"Remember: use Zustand for state"` |
146
58
 
147
- 7 framework packs, each with 4 specialized agents, 4 lite agents, and 12 skills.
59
+ ## Engineering Agents
148
60
 
149
- ---
61
+ Domain specialists for every layer of your stack.
150
62
 
151
- ## Examples
63
+ | Agent | What it does | Example |
64
+ |-------|-------------|---------|
65
+ | `@api` | REST/GraphQL API design with OpenAPI | `"Design the orders API"` |
66
+ | `@perf` | Performance profiling and optimization | `"Optimize the dashboard load time"` |
67
+ | `@i18n` | Internationalization | `"Add Portuguese support"` |
68
+ | `@docs` | Documentation generation | `"Generate API docs from code"` |
69
+ | `@refactor` | Code refactoring with safety nets | `"Extract service layer from controllers"` |
70
+ | `@deps` | Dependency management and updates | `"Audit and update dependencies"` |
71
+ | `@explorer` | Deep codebase exploration | `"Map the module dependencies"` |
72
+ | `@finance` | Payments, billing, subscriptions | `"Integrate Stripe checkout"` |
73
+ | `@cloud` | AWS, GCP, Terraform, serverless | `"Set up Lambda + API Gateway"` |
74
+ | `@security` | Auth, OWASP Top 10, encryption | `"Audit for XSS and injection"` |
75
+ | `@designer` | Design systems, accessibility | `"Create the component library"` |
76
+ | `@data` | Database design, migrations, caching | `"Design the schema with Prisma"` |
77
+ | `@devops` | Docker, Kubernetes, CI/CD | `"Create the GitHub Actions pipeline"` |
78
+ | `@tester` | Test strategies and coverage | `"Create test strategy for payments"` |
79
+ | `@legal` | GDPR, LGPD, CCPA compliance | `"Check LGPD compliance"` |
80
+ | `@architect` | Architecture migration (DDD, Clean, Hexagonal) | `"Migrate to Clean Architecture"` |
81
+ | `@ripple` | Cascading effect analysis | `"What breaks if I change the User model?"` |
152
82
 
153
- ```bash
154
- # New project
155
- "Use @starter to create an e-commerce app with Next.js + PostgreSQL"
83
+ ## Business Agents
156
84
 
157
- # Build a feature
158
- "Use @builder to create a products module with CRUD"
159
-
160
- # Review code
161
- "Use @reviewer to review the auth module"
85
+ Product, growth, and support.
162
86
 
163
- # Debug
164
- "Use @doctor to investigate the 500 error"
87
+ | Agent | What it does | Example |
88
+ |-------|-------------|---------|
89
+ | `@marketing` | Landing pages, copy, SEO, growth analytics | `"Create the pricing page with SEO"` |
90
+ | `@product` | Roadmaps, specs, PRDs, user stories | `"Write PRD for the onboarding flow"` |
91
+ | `@support` | Help docs, FAQs, runbooks, error pages | `"Create the help center"` |
165
92
 
166
- # Plan
167
- /plan add user authentication
93
+ ## Automation Agents
168
94
 
169
- # TDD
170
- /tdd implement calculateDiscount
95
+ Autonomous triage and resolution.
171
96
 
172
- # Audit
173
- /audit src/modules/auth
174
-
175
- # Onboard
176
- /onboard
177
-
178
- # Save progress
179
- /checkpoint create before-refactor
180
- ```
97
+ | Agent | What it does | Example |
98
+ |-------|-------------|---------|
99
+ | `@sentry-triage` | Pull Sentry errors, cross-reference PRs, prioritize, auto-fix | `"Triage today's Sentry errors"` |
181
100
 
182
101
  ---
183
102
 
184
- ## Verification Protocol
185
-
186
- All agents verify claims with evidence before marking work complete:
187
-
188
- ```
189
- CLAIM: "Tests pass"
190
- PROOF: Must show actual test output in the same message
191
-
192
- CLAIM: "Build succeeds"
193
- PROOF: Must show build command output
194
-
195
- CLAIM: "No security issues"
196
- PROOF: Must show npm audit / lint output
197
- ```
103
+ ## Skills
198
104
 
199
- No "should work" - run the command, show the output.
105
+ Slash commands that trigger repeatable workflows.
200
106
 
201
- ---
107
+ **Planning**
202
108
 
203
- ## Hooks
109
+ | Skill | What it does |
110
+ |-------|-------------|
111
+ | `/brainstorm` | Socratic brainstorming before planning |
112
+ | `/plan` | Adaptive feature planning |
113
+ | `/discovery` | Feasibility evaluation with GO/NO-GO verdict |
114
+ | `/estimate` | Estimate token cost before starting |
204
115
 
205
- 7 lifecycle hooks + 4 native Claude Code hooks:
116
+ **Development**
206
117
 
207
- | Hook | When |
208
- |------|------|
209
- | `session-start` | Session begins |
210
- | `before-plan` | Before `@planner` creates a plan |
211
- | `after-task` | After any task completes |
212
- | `before-review` | Before `@reviewer` starts |
213
- | `after-review` | After `@reviewer` finishes |
214
- | `on-error` | When an error occurs |
215
- | `session-end` | Session ends |
118
+ | Skill | What it does |
119
+ |-------|-------------|
120
+ | `/tdd` | Test-driven development cycle |
121
+ | `/debug` | 4-phase systematic debugging |
122
+ | `/autofix` | Automatic error resolution |
123
+ | `/lint` | Lint and auto-fix (Biome/ESLint/Prettier) |
124
+ | `/commit` | Smart conventional commits with validation |
216
125
 
217
- ### Native Hooks (Claude Code)
126
+ **Quality**
218
127
 
219
- | Hook | Event | What it Does |
220
- |------|-------|-------------|
221
- | Security Guard | `PreToolUse` | Blocks dangerous commands (`rm -rf /`, force push, `DROP TABLE`) |
222
- | Auto-Dispatch | `UserPromptSubmit` | Suggests the best agent for your prompt |
223
- | Session Context | `SessionStart` | Injects project state (branch, agents, memory) |
224
- | Auto-Format | `PostToolUse` | Auto-formats files after Write/Edit |
128
+ | Skill | What it does |
129
+ |-------|-------------|
130
+ | `/verify` | Proof-based verification before completion |
131
+ | `/codereview` | Multi-reviewer parallel code review |
132
+ | `/audit` | Multi-domain audit: security + perf + arch + deps |
133
+ | `/health` | Project health score (0-100) |
225
134
 
226
- Configure lifecycle hooks in `hooks/hooks.json`. Native hooks in `.claude/settings.json`.
135
+ **Workflow**
227
136
 
228
- ---
137
+ | Skill | What it does |
138
+ |-------|-------------|
139
+ | `/checkpoint` | Save/restore progress with git |
140
+ | `/finish` | Finalize branch with metrics |
141
+ | `/worktree` | Git worktree isolation for parallel tasks |
142
+ | `/learn` | Learning mode, explains while building |
229
143
 
230
- ## Security
144
+ **Migration**
231
145
 
232
- The Security Guard hook blocks dangerous commands **before** they execute:
146
+ | Skill | What it does |
147
+ |-------|-------------|
148
+ | `/migrate-framework` | Migrate between frameworks |
149
+ | `/migrate-architecture` | Migrate architecture patterns (MVC, Clean, DDD, Hexagonal) |
233
150
 
234
- - **CRITICAL:** `rm -rf /`, fork bombs, disk wipe commands
235
- - **HIGH:** Force push to main, `git reset --hard`, `DROP TABLE`, `curl | bash`
236
- - **MEDIUM:** Reading `.env` files, inline secrets in commands
151
+ **Knowledge**
237
152
 
238
- Customize rules in `.specialist-agent/hooks/native/security-config.json`.
153
+ | Skill | What it does |
154
+ |-------|-------------|
155
+ | `/remember` | Save a decision to memory |
156
+ | `/recall` | Query saved decisions |
157
+ | `/onboard` | Codebase onboarding for new developers |
158
+ | `/tutorial` | Interactive guided tutorial |
159
+ | `/write-skill` | Create or improve custom skills |
239
160
 
240
161
  ---
241
162
 
242
- ## Full vs Lite Mode
243
-
244
- | Mode | Model | Cost |
245
- |------|-------|------|
246
- | Full | Sonnet/Opus | Higher accuracy |
247
- | Lite | Haiku | 60-80% cheaper |
163
+ ## Framework Packs
248
164
 
249
- Choose during installation. All 27+ agents have lite variants.
165
+ 7 packs, each with specialized agents, lite agents, and skills tailored to the framework's conventions.
250
166
 
251
- ---
252
-
253
- ## Platforms
167
+ **Next.js** | **React** | **Vue 3** | **SvelteKit** | **Angular** | **Astro** | **Nuxt**
254
168
 
255
- | Platform | Install |
256
- |----------|---------|
257
- | Claude Code | `npx specialist-agent init` or `/plugin install` |
258
- | Cursor | Copy `.cursor-plugin/` |
259
- | VS Code | `.vscode/extension.json` |
260
- | Windsurf | `.windsurf/plugin.json` |
261
- | Codex | `.codex/INSTALL.md` |
262
- | OpenCode | `.opencode/INSTALL.md` |
169
+ The installer auto-detects your framework. Each pack follows the idioms of its ecosystem: server components for Next.js, composables for Vue, stores for SvelteKit, signals for Angular, islands for Astro, auto-imports for Nuxt.
263
170
 
264
171
  ---
265
172
 
266
- ## CLI
173
+ ## How It Works
267
174
 
268
- ```bash
269
- npx specialist-agent init # Install
270
- npx specialist-agent create-agent @my-agent # Create agent
271
- npx specialist-agent list # List agents
272
- npx specialist-agent profiles set startup-fast # Set profile
273
- npx specialist-agent community list # Community skills
274
- ```
175
+ **Verification protocol** every agent must show actual command output before claiming completion. No "should work." Run the command, show the output, then claim done.
275
176
 
276
- ---
177
+ **Anti-rationalization** built-in tables prevent agents from cutting corners or skipping steps.
277
178
 
278
- ## Team Profiles
179
+ **Context isolation** each subtask gets fresh context. No accumulated pollution across long sessions.
279
180
 
280
- | Profile | Description |
281
- |---------|-------------|
282
- | `startup-fast` | Move fast, Haiku |
283
- | `enterprise-strict` | Full validation |
284
- | `learning-mode` | Explain everything |
285
- | `cost-optimized` | Minimize tokens |
181
+ **Full vs Lite** every agent has a Lite variant. Full mode for complex work, Lite for scaffolding and quick fixes at 60-80% lower cost.
286
182
 
287
183
  ---
288
184
 
289
- ## Industry Templates
290
-
291
- | Template | For |
292
- |----------|-----|
293
- | E-commerce | Online stores |
294
- | SaaS | Subscription apps |
295
- | Fintech | Financial apps |
296
-
297
- ---
185
+ ## Platforms
298
186
 
299
- ## Session Memory
187
+ Works with **Claude Code**, **Cursor**, **VS Code**, **Windsurf**, **Codex**, and **OpenCode**.
300
188
 
301
189
  ```bash
302
- # Save a decision
303
- /remember use Zustand for state management
304
-
305
- # Recall later
306
- /recall state management
190
+ npx specialist-agent init # Install agents + skills
191
+ npx specialist-agent detect # Detect framework and architecture
192
+ npx specialist-agent list # List installed agents
307
193
  ```
308
194
 
309
- Decisions persist across sessions.
310
-
311
195
  ---
312
196
 
313
197
  ## Documentation
314
198
 
315
- Full docs: [specialistagent.com.br](https://specialistagent.com.br/)
316
-
317
- ```bash
318
- npm run docs:dev
319
- ```
199
+ **[specialistagent.com.br](https://specialistagent.com.br)**
320
200
 
321
201
  ---
322
202
 
323
203
  ## Contributing
324
204
 
325
- Contributions welcome.
326
-
327
205
  ```bash
328
206
  git checkout -b feature/my-feature
329
207
  git commit -m 'feat: add my feature'
@@ -334,4 +212,4 @@ git push origin feature/my-feature
334
212
 
335
213
  ## License
336
214
 
337
- MIT
215
+ [MIT](LICENSE)
package/agents/analyst.md CHANGED
@@ -2,6 +2,7 @@
2
2
  name: analyst
3
3
  description: "Use when requirements are ambiguous, incomplete, or need to be translated into technical specifications."
4
4
  tools: Read, Glob, Grep
5
+ color: "#5b21b6"
5
6
  ---
6
7
 
7
8
  # @analyst - Business Requirements Agent
package/agents/api.md CHANGED
@@ -2,6 +2,7 @@
2
2
  name: api
3
3
  description: "Use when designing, reviewing, or implementing REST or GraphQL APIs - endpoints, contracts, versioning, rate limiting, or documentation."
4
4
  tools: Read, Write, Edit, Bash, Glob, Grep
5
+ color: "#0d9488"
5
6
  ---
6
7
 
7
8
  # API
@@ -24,11 +25,10 @@ Read `docs/ARCHITECTURE.md` if it exists, then scan the project for existing API
24
25
  - Secrets in environment variables only - never hardcode
25
26
 
26
27
  ### Performance First (Mandatory)
27
- - ALWAYS use TanStack Query (React Query / Vue Query) for server state caching
28
- - Set appropriate `staleTime` and `gcTime` for each query based on data freshness needs
29
- - Use `keepPreviousData` for pagination to avoid loading flickers
28
+ - Use your framework's recommended data fetching and caching strategy (check `docs/ARCHITECTURE.md` if available)
29
+ - Configure appropriate cache TTLs based on data freshness needs
30
+ - Use pagination patterns that avoid loading flickers (keep previous data visible)
30
31
  - Implement optimistic updates for mutations when UX benefits
31
- - Use proper cache invalidation (`invalidateQueries`) - stale UI is a bug
32
32
  - Lazy load routes, components, and heavy dependencies
33
33
  - Avoid N+1 queries - batch requests, use proper data loading patterns
34
34
 
@@ -42,7 +42,7 @@ Read `docs/ARCHITECTURE.md` if it exists, then scan the project for architecture
42
42
  - **Hexagonal**: Domain has ZERO external deps. All dependencies point inward.
43
43
  - **DDD**: Bounded Contexts, Aggregate Roots, Value Objects, Domain Events.
44
44
  - **CQRS**: Separate write (Command) and read (Query) models.
45
- - **Modular Monolith**: Module isolation without distributed complexity. Always start here.
45
+ - **Modular Monolith**: Module isolation without distributed complexity. Consider starting here unless requirements justify distribution.
46
46
 
47
47
  **Rules:** Every decision MUST have an ADR. Target MUST be achievable incrementally.
48
48
 
@@ -81,7 +81,7 @@ Read `docs/ARCHITECTURE.md` if it exists, then scan the project for architecture
81
81
  ## Rules
82
82
 
83
83
  1. Framework-agnostic - works with any stack
84
- 2. Modular Monolith before Microservices - always
84
+ 2. Consider Modular Monolith before Microservices - start simpler unless requirements justify distribution
85
85
  3. Strangler Fig over Big Bang - always
86
86
  4. Evidence-based claims only - run tests, show output
87
87
  5. Coordinate with specialist agents for domain-specific changes
@@ -2,6 +2,7 @@
2
2
  name: architect
3
3
  description: "Use when migrating entire system architectures, transforming monoliths to microservices, adopting DDD/CQRS/Hexagonal, or redesigning application layers at system level."
4
4
  tools: Read, Write, Edit, Bash, Glob, Grep, Task
5
+ color: "#1e40af"
5
6
  ---
6
7
 
7
8
  # Architect
@@ -24,11 +25,10 @@ Read `docs/ARCHITECTURE.md` if it exists, then scan the project for architecture
24
25
  - Secrets in environment variables only - never hardcode
25
26
 
26
27
  ### Performance First (Mandatory)
27
- - ALWAYS use TanStack Query (React Query / Vue Query) for server state caching
28
- - Set appropriate `staleTime` and `gcTime` for each query based on data freshness needs
29
- - Use `keepPreviousData` for pagination to avoid loading flickers
28
+ - Use your framework's recommended data fetching and caching strategy (check `docs/ARCHITECTURE.md` if available)
29
+ - Configure appropriate cache TTLs based on data freshness needs
30
+ - Use pagination patterns that avoid loading flickers (keep previous data visible)
30
31
  - Implement optimistic updates for mutations when UX benefits
31
- - Use proper cache invalidation (`invalidateQueries`) - stale UI is a bug
32
32
  - Lazy load routes, components, and heavy dependencies
33
33
  - Avoid N+1 queries - batch requests, use proper data loading patterns
34
34
 
@@ -49,20 +49,29 @@ Read `docs/ARCHITECTURE.md` if it exists, then scan the project for architecture
49
49
 
50
50
  ### Workflow
51
51
  1. Scan project structure: directory depth, module boundaries, dependency direction
52
- 2. Detect current architecture pattern:
53
-
54
- | Pattern | Indicators |
55
- |---------|-----------|
56
- | **Monolith** | Single deployment unit, shared database, deep coupling between modules |
57
- | **Layered (MVC)** | `controllers/`, `models/`, `views/` directories, horizontal slicing |
58
- | **Feature-based Modular** | `modules/[feature]/` directories, vertical slicing |
59
- | **Hexagonal (Ports & Adapters)** | `ports/`, `adapters/`, `domain/` directories, dependency inversion |
60
- | **Clean Architecture** | `entities/`, `use-cases/`, `interfaces/`, `frameworks/` layers |
61
- | **DDD** | `aggregates/`, `value-objects/`, `domain-events/`, bounded contexts |
62
- | **Microservices** | Multiple `package.json`, separate deployments, API gateways |
63
- | **Event-Driven** | Message brokers, event handlers, eventual consistency patterns |
64
- | **Modular Monolith** | Module boundaries enforced but single deployment |
65
- | **Serverless** | Function handlers, event triggers, stateless execution units |
52
+ 2. Detect current architecture pattern using these heuristics:
53
+
54
+ | Pattern | Detection Heuristics |
55
+ |---------|---------------------|
56
+ | **Flat / Component-Driven** | Single `src/components/` with many files, no modules/ or features/ |
57
+ | **Layered (MVC/MVVM)** | `controllers/`, `models/`, `views/`, `routes/`, `repositories/` dirs |
58
+ | **Feature-based Modular** | `modules/[feature]/` or `features/[feature]/` with barrel exports (index.ts) |
59
+ | **Feature-Sliced Design** | 3+ of: `app/`, `pages/`, `widgets/`, `features/`, `entities/`, `shared/` |
60
+ | **Atomic Design** | `atoms/`, `molecules/`, `organisms/`, `templates/` directories |
61
+ | **Screaming Architecture** | Top-level dirs are business domains (not technical: users/, orders/, payments/) |
62
+ | **Clean Architecture** | `domain/`, `use-cases/` or `application/`, `infrastructure/`, `presentation/` |
63
+ | **Hexagonal (Ports & Adapters)** | `ports/` (in/out), `adapters/` (in/out), `domain/` or `core/` |
64
+ | **DDD** | `aggregates/`, `value-objects/`, `domain-events/`, `bounded-contexts/` |
65
+ | **CQRS** | `commands/`, `queries/`, `command-handlers/`, `query-handlers/`, `read-models/` |
66
+ | **Event-Driven** | `events/`, `handlers/`, `subscribers/`, `publishers/`, `sagas/` |
67
+ | **Microservices** | Multiple `package.json`/`Dockerfile` in subdirs, API gateway config |
68
+ | **Modular Monolith** | Single pkg.json, `modules/` with domain/application/infrastructure layers |
69
+ | **Serverless** | `serverless.yml`, `sam-template.yaml`, function handlers |
70
+ | **Unstructured** | No clear pattern, files loosely organized |
71
+
72
+ **Monorepo Detection:** Also check for `turbo.json` (Turborepo), `nx.json` (Nx), `lerna.json` (Lerna), `pnpm-workspace.yaml` (pnpm), or `package.json` with `workspaces` field.
73
+
74
+ **Next.js Router:** Check for `app/layout.tsx` (App Router) vs `pages/_app.tsx` (Pages Router).
66
75
 
67
76
  3. Analyze dependency health:
68
77
  - Map import directions (are dependencies flowing inward or outward?)
@@ -277,7 +286,7 @@ Adopt Hexagonal Architecture (Ports & Adapters) with the following structure:
277
286
  - Target architecture MUST be achievable incrementally (no Big Bang)
278
287
  - Validate design with dependency direction analysis
279
288
  - Consider team size and skill level in architecture choice
280
- - Modular Monolith before Microservices - always
289
+ - Consider Modular Monolith before Microservices when complexity doesn't justify distribution
281
290
 
282
291
  ## Migration Mode
283
292
 
@@ -506,7 +515,7 @@ By invoking `@architect`, you commit to:
506
515
  ## General Rules
507
516
  - Framework-agnostic - works with any stack and any architecture pattern
508
517
  - Reads ARCHITECTURE.md if present and follows existing conventions
509
- - Modular Monolith before Microservices - always start simpler
518
+ - Consider Modular Monolith before Microservices - start simpler unless requirements justify distribution
510
519
  - Strangler Fig over Big Bang - always
511
520
  - Every phase independently deployable and reversible
512
521
  - Evidence-based claims only - run tests, show output
@@ -12,7 +12,7 @@ Design and implement cloud infrastructure for scalability, security, and cost ef
12
12
 
13
13
  ## Core Principles
14
14
  - **Security**: Validate ALL inputs server-side, parameterized queries, no secrets in code, OWASP Top 10 compliance
15
- - **Performance**: Use TanStack Query for caching (staleTime, invalidateQueries), lazy loading, avoid N+1
15
+ - **Performance**: Use your framework's recommended caching/fetching strategy, lazy loading, avoid N+1
16
16
  - **Code Language**: Write code in English (variables, functions, comments). Other languages only on user request
17
17
 
18
18
  ## Scope Detection
package/agents/cloud.md CHANGED
@@ -2,6 +2,7 @@
2
2
  name: cloud
3
3
  description: "Use when designing cloud infrastructure, setting up IaC, configuring serverless functions, or planning cloud architecture."
4
4
  tools: Read, Write, Edit, Bash, Glob, Grep
5
+ color: "#6366f1"
5
6
  ---
6
7
 
7
8
  # Cloud
@@ -24,11 +25,10 @@ Read `docs/ARCHITECTURE.md` if it exists, then scan the project for existing inf
24
25
  - Secrets in environment variables only - never hardcode
25
26
 
26
27
  ### Performance First (Mandatory)
27
- - ALWAYS use TanStack Query (React Query / Vue Query) for server state caching
28
- - Set appropriate `staleTime` and `gcTime` for each query based on data freshness needs
29
- - Use `keepPreviousData` for pagination to avoid loading flickers
28
+ - Use your framework's recommended data fetching and caching strategy (check `docs/ARCHITECTURE.md` if available)
29
+ - Configure appropriate cache TTLs based on data freshness needs
30
+ - Use pagination patterns that avoid loading flickers (keep previous data visible)
30
31
  - Implement optimistic updates for mutations when UX benefits
31
- - Use proper cache invalidation (`invalidateQueries`) - stale UI is a bug
32
32
  - Lazy load routes, components, and heavy dependencies
33
33
  - Avoid N+1 queries - batch requests, use proper data loading patterns
34
34
 
@@ -12,7 +12,7 @@ Design and implement data solutions for performance, integrity, and scalability.
12
12
 
13
13
  ## Core Principles
14
14
  - **Security**: Validate ALL inputs server-side, parameterized queries, no secrets in code, OWASP Top 10 compliance
15
- - **Performance**: Use TanStack Query for caching (staleTime, invalidateQueries), lazy loading, avoid N+1
15
+ - **Performance**: Use your framework's recommended caching/fetching strategy, lazy loading, avoid N+1
16
16
  - **Code Language**: Write code in English (variables, functions, comments). Other languages only on user request
17
17
 
18
18
  ## Scope Detection