specialist-agent 2.10.0 → 2.11.1

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 (104) 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/README.md +128 -250
  6. package/agents/analyst.md +1 -0
  7. package/agents/api.md +4 -4
  8. package/agents/architect-lite.md +2 -2
  9. package/agents/architect.md +6 -6
  10. package/agents/cloud-lite.md +1 -1
  11. package/agents/cloud.md +4 -4
  12. package/agents/data-lite.md +1 -1
  13. package/agents/data.md +4 -4
  14. package/agents/debugger.md +1 -0
  15. package/agents/deps.md +4 -4
  16. package/agents/designer-lite.md +1 -1
  17. package/agents/designer.md +4 -4
  18. package/agents/devops-lite.md +1 -1
  19. package/agents/devops.md +4 -4
  20. package/agents/docs.md +4 -4
  21. package/agents/executor.md +95 -0
  22. package/agents/explorer-lite.md +1 -1
  23. package/agents/explorer.md +4 -4
  24. package/agents/finance-lite.md +1 -1
  25. package/agents/finance.md +4 -4
  26. package/agents/i18n.md +4 -4
  27. package/agents/legal-lite.md +1 -1
  28. package/agents/legal.md +4 -4
  29. package/agents/marketing-lite.md +25 -0
  30. package/agents/marketing.md +179 -0
  31. package/agents/memory.md +13 -12
  32. package/agents/orchestrator.md +102 -0
  33. package/agents/pair.md +1 -0
  34. package/agents/perf.md +4 -4
  35. package/agents/planner.md +1 -0
  36. package/agents/product-lite.md +25 -0
  37. package/agents/product.md +186 -0
  38. package/agents/refactor.md +4 -4
  39. package/agents/ripple.md +1 -0
  40. package/agents/scout.md +1 -0
  41. package/agents/security-lite.md +1 -1
  42. package/agents/security.md +4 -4
  43. package/agents/sentry-triage-lite.md +54 -0
  44. package/agents/sentry-triage.md +214 -0
  45. package/agents/starter-lite.md +4 -4
  46. package/agents/starter.md +8 -8
  47. package/agents/support-lite.md +24 -0
  48. package/agents/support.md +190 -0
  49. package/agents/tdd.md +1 -0
  50. package/agents/tester-lite.md +1 -1
  51. package/agents/tester.md +43 -10
  52. package/cli/index.mjs +466 -343
  53. package/hooks/native/auto-dispatch.mjs +19 -26
  54. package/hooks/native/auto-format.mjs +5 -25
  55. package/hooks/native/mcp-discovery.mjs +168 -0
  56. package/hooks/native/security-config.json +4 -0
  57. package/hooks/native/security-guard.mjs +37 -24
  58. package/hooks/native/session-context.mjs +61 -18
  59. package/hooks/native/settings-template.json +9 -0
  60. package/package.json +1 -1
  61. package/packs/angular/agents/builder.md +10 -54
  62. package/packs/angular/agents/doctor.md +7 -61
  63. package/packs/angular/agents/migrator.md +7 -101
  64. package/packs/angular/agents/reviewer.md +22 -33
  65. package/packs/angular/skills/review-check-architecture/SKILL.md +7 -7
  66. package/packs/angular/skills/review-review/SKILL.md +1 -0
  67. package/packs/astro/agents/builder.md +10 -79
  68. package/packs/astro/agents/doctor.md +7 -61
  69. package/packs/astro/agents/migrator.md +7 -111
  70. package/packs/astro/agents/reviewer.md +22 -32
  71. package/packs/astro/skills/review-check-architecture/SKILL.md +9 -9
  72. package/packs/astro/skills/review-review/SKILL.md +1 -0
  73. package/packs/nextjs/agents/builder.md +11 -108
  74. package/packs/nextjs/agents/doctor.md +7 -62
  75. package/packs/nextjs/agents/migrator.md +6 -194
  76. package/packs/nextjs/agents/reviewer.md +22 -76
  77. package/packs/nextjs/skills/review-check-architecture/SKILL.md +15 -15
  78. package/packs/nextjs/skills/review-review/SKILL.md +1 -0
  79. package/packs/nuxt/agents/builder.md +10 -55
  80. package/packs/nuxt/agents/doctor.md +7 -61
  81. package/packs/nuxt/agents/migrator.md +7 -109
  82. package/packs/nuxt/agents/reviewer.md +22 -42
  83. package/packs/nuxt/skills/review-check-architecture/SKILL.md +11 -11
  84. package/packs/nuxt/skills/review-review/SKILL.md +1 -0
  85. package/packs/react/agents/builder.md +10 -55
  86. package/packs/react/agents/doctor.md +7 -61
  87. package/packs/react/agents/migrator.md +7 -106
  88. package/packs/react/agents/reviewer.md +22 -55
  89. package/packs/react/skills/review-check-architecture/SKILL.md +10 -10
  90. package/packs/react/skills/review-review/SKILL.md +1 -0
  91. package/packs/svelte/agents/builder.md +10 -58
  92. package/packs/svelte/agents/doctor.md +7 -60
  93. package/packs/svelte/agents/migrator.md +7 -118
  94. package/packs/svelte/agents/reviewer.md +22 -42
  95. package/packs/svelte/skills/review-check-architecture/SKILL.md +12 -12
  96. package/packs/svelte/skills/review-review/SKILL.md +1 -0
  97. package/packs/vue/agents/builder.md +10 -55
  98. package/packs/vue/agents/doctor.md +7 -61
  99. package/packs/vue/agents/migrator.md +7 -93
  100. package/packs/vue/agents/reviewer.md +20 -32
  101. package/packs/vue/skills/review-check-architecture/SKILL.md +10 -10
  102. package/packs/vue/skills/review-review/SKILL.md +1 -0
  103. package/skills/autofix/SKILL.md +166 -0
  104. package/skills/discovery/SKILL.md +218 -0
@@ -0,0 +1,218 @@
1
+ ---
2
+ name: discovery
3
+ description: "Use when starting a new product, feature, or initiative and you need structured discovery before planning - covers market analysis, technical feasibility, architecture, and go-to-market strategy."
4
+ user-invocable: true
5
+ argument-hint: "[product or feature description]"
6
+ allowed-tools: Read, Glob, Grep, Bash, Write
7
+ ---
8
+
9
+ # /discovery - Product & Feature Discovery
10
+
11
+ Structured discovery before planning. Covers feasibility, architecture, risks, and strategy in a single pass.
12
+
13
+ **Target:** $ARGUMENTS
14
+
15
+ ## When to Use
16
+
17
+ - Starting a new product or major feature
18
+ - Evaluating technical feasibility of an initiative
19
+ - Before `/plan` when scope is unclear or ambitious
20
+ - When stakeholders need a go/no-go decision
21
+ - NOT for: small features, bug fixes, or tasks with clear scope
22
+
23
+ ## Workflow
24
+
25
+ ### Phase 0: Scope Definition
26
+
27
+ Define what we're discovering:
28
+
29
+ ```markdown
30
+ ## Discovery Scope
31
+ - **What:** [product/feature description]
32
+ - **Why:** [business motivation]
33
+ - **Who:** [target users]
34
+ - **Constraints:** [time, budget, team, tech]
35
+ ```
36
+
37
+ ### Phase 1: Technical Feasibility
38
+
39
+ Analyze the current codebase and evaluate feasibility:
40
+
41
+ 1. **Codebase scan** - Identify existing modules, patterns, and dependencies
42
+ 2. **Integration points** - What existing systems does this touch?
43
+ 3. **Technology gaps** - What new libraries, services, or infrastructure is needed?
44
+ 4. **Complexity estimate** - TRIVIAL / SIMPLE / MEDIUM / COMPLEX / EPIC
45
+
46
+ **Output:**
47
+
48
+ ```markdown
49
+ ## Technical Feasibility
50
+
51
+ ### Existing Assets
52
+ - [Reusable modules, services, components]
53
+
54
+ ### New Requirements
55
+ - [New packages, services, infrastructure]
56
+
57
+ ### Integration Points
58
+ - [APIs, databases, third-party services]
59
+
60
+ ### Complexity: [TRIVIAL | SIMPLE | MEDIUM | COMPLEX | EPIC]
61
+
62
+ ### Feasibility: [GO | CONDITIONAL | NO-GO]
63
+ - [Reasoning with evidence]
64
+ ```
65
+
66
+ **BLOCKED** until feasibility assessment is complete with evidence.
67
+
68
+ ### Phase 2: Architecture Assessment
69
+
70
+ Design the high-level architecture:
71
+
72
+ 1. **Component map** - What modules/services are needed?
73
+ 2. **Data model** - What entities, relationships, and storage?
74
+ 3. **API surface** - What endpoints or interfaces?
75
+ 4. **Non-functional requirements** - Performance, security, scalability targets
76
+
77
+ **Output:**
78
+
79
+ ```markdown
80
+ ## Architecture Assessment
81
+
82
+ ### Component Map
83
+ - [Module 1]: [responsibility]
84
+ - [Module 2]: [responsibility]
85
+
86
+ ### Data Model
87
+ - [Entity 1]: [key fields and relationships]
88
+ - [Entity 2]: [key fields and relationships]
89
+
90
+ ### API Surface
91
+ - [Endpoint/Interface 1]: [purpose]
92
+ - [Endpoint/Interface 2]: [purpose]
93
+
94
+ ### Non-Functional Requirements
95
+ | Requirement | Target | Rationale |
96
+ |-------------|--------|-----------|
97
+ | Response time | < 200ms p95 | User experience |
98
+ | Availability | 99.9% | Business SLA |
99
+ | Data retention | 90 days | Compliance |
100
+ ```
101
+
102
+ ### Phase 3: Risk Analysis
103
+
104
+ Identify and classify risks:
105
+
106
+ 1. **Technical risks** - New technology, complex integrations, performance unknowns
107
+ 2. **Business risks** - Market timing, regulatory, competition
108
+ 3. **Operational risks** - Team capacity, skill gaps, dependencies on external teams
109
+
110
+ **Output:**
111
+
112
+ ```markdown
113
+ ## Risk Analysis
114
+
115
+ | Risk | Impact | Likelihood | Mitigation |
116
+ |------|--------|------------|------------|
117
+ | [Risk 1] | High/Med/Low | High/Med/Low | [Strategy] |
118
+ | [Risk 2] | High/Med/Low | High/Med/Low | [Strategy] |
119
+
120
+ ### Blockers
121
+ - [Any hard blockers that prevent proceeding]
122
+
123
+ ### Open Questions
124
+ - [Questions that need answers before planning]
125
+ ```
126
+
127
+ ### Phase 4: Effort & Cost Estimate
128
+
129
+ Estimate the work required:
130
+
131
+ 1. **Task decomposition** - Break into major work streams
132
+ 2. **Agent mapping** - Which agents handle which work
133
+ 3. **Token estimate** - Approximate AI cost
134
+ 4. **Timeline** - Suggested phases and milestones
135
+
136
+ **Output:**
137
+
138
+ ```markdown
139
+ ## Effort Estimate
140
+
141
+ ### Work Streams
142
+ | Stream | Agent(s) | Estimated Tokens | Priority |
143
+ |--------|----------|------------------|----------|
144
+ | [Stream 1] | @builder, @data | ~X tokens | P0 |
145
+ | [Stream 2] | @api, @builder | ~X tokens | P1 |
146
+ | [Stream 3] | @tester | ~X tokens | P1 |
147
+
148
+ ### Total Estimate
149
+ - Tokens: ~X total (~$Y)
150
+ - Suggested phases: [count]
151
+ - Recommended approach: Sequential / Parallel / Hybrid
152
+
153
+ ### Suggested Timeline
154
+ - Phase 1: [scope] - [duration]
155
+ - Phase 2: [scope] - [duration]
156
+ - Phase 3: [scope] - [duration]
157
+ ```
158
+
159
+ ### Phase 5: Discovery Verdict
160
+
161
+ Synthesize all findings into a go/no-go recommendation:
162
+
163
+ ```markdown
164
+ ## Discovery Verdict
165
+
166
+ ### Recommendation: [GO | CONDITIONAL GO | NO-GO]
167
+
168
+ ### Summary
169
+ [2-3 sentence executive summary]
170
+
171
+ ### Key Findings
172
+ 1. [Most important finding]
173
+ 2. [Second finding]
174
+ 3. [Third finding]
175
+
176
+ ### Conditions (if CONDITIONAL GO)
177
+ - [Condition that must be met]
178
+ - [Another condition]
179
+
180
+ ### Next Steps
181
+ - [ ] [Immediate action 1]
182
+ - [ ] [Immediate action 2]
183
+ - [ ] Run `/plan [refined scope]` to create implementation plan
184
+ ```
185
+
186
+ ## Output
187
+
188
+ ```
189
+ ---- /discovery ----
190
+ Target: [product/feature]
191
+ Feasibility: [GO | CONDITIONAL | NO-GO]
192
+ Complexity: [TRIVIAL | SIMPLE | MEDIUM | COMPLEX | EPIC]
193
+ Estimated tokens: ~X (~$Y)
194
+ Risks: [count] (H:[n] M:[n] L:[n])
195
+
196
+ Verdict: [GO | CONDITIONAL GO | NO-GO]
197
+
198
+ [Full discovery document above]
199
+
200
+ Next: /plan [refined scope] (if GO)
201
+ ```
202
+
203
+ ## Anti-Rationalization
204
+
205
+ | Excuse | Reality |
206
+ |--------|---------|
207
+ | "We already know what to build" | Discovery reveals unknowns you don't know you have. |
208
+ | "Discovery is too slow" | Discovering a fatal flaw in 30 min beats building for 2 weeks then pivoting. |
209
+ | "The scope is obvious" | Obvious scope still has hidden integration points, data model decisions, and risks. |
210
+ | "We can discover as we build" | That's called rework. Discovery-first prevents 3-5x cost overruns. |
211
+
212
+ ## Rules
213
+
214
+ 1. **Evidence-based** - Every finding must reference codebase scans, docs, or research
215
+ 2. **No assumptions** - Flag unknowns as open questions, don't guess
216
+ 3. **Concrete estimates** - Token counts, timelines, and costs - not "it depends"
217
+ 4. **Actionable verdict** - GO/NO-GO with clear reasoning
218
+ 5. **Flows into /plan** - Discovery output is the input for planning