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.
Files changed (215) hide show
  1. package/.claude-plugin/marketplace.json +8 -8
  2. package/.claude-plugin/plugin.json +3 -3
  3. package/.codex/INSTALL.md +12 -3
  4. package/.cursor-plugin/marketplace.json +1 -1
  5. package/.cursor-plugin/plugin.json +3 -3
  6. package/.opencode/INSTALL.md +12 -3
  7. package/LICENSE +1 -1
  8. package/README.md +8 -6
  9. package/agents/analyst-lite.md +1 -1
  10. package/agents/analyst.md +7 -7
  11. package/agents/api-lite.md +5 -5
  12. package/agents/api.md +13 -13
  13. package/agents/architect-lite.md +104 -0
  14. package/agents/architect.md +26 -26
  15. package/agents/cloud-lite.md +3 -3
  16. package/agents/cloud.md +15 -15
  17. package/agents/data-lite.md +1 -1
  18. package/agents/data.md +26 -26
  19. package/agents/debugger-lite.md +2 -2
  20. package/agents/debugger.md +15 -15
  21. package/agents/deps-lite.md +4 -4
  22. package/agents/deps.md +21 -21
  23. package/agents/designer-lite.md +1 -1
  24. package/agents/designer.md +13 -13
  25. package/agents/devops-lite.md +1 -1
  26. package/agents/devops.md +11 -11
  27. package/agents/docs-lite.md +5 -5
  28. package/agents/docs.md +39 -30
  29. package/agents/executor-lite.md +1 -1
  30. package/agents/executor.md +25 -25
  31. package/agents/explorer-lite.md +3 -3
  32. package/agents/explorer.md +13 -13
  33. package/agents/finance-lite.md +1 -1
  34. package/agents/finance.md +18 -18
  35. package/agents/i18n-lite.md +4 -4
  36. package/agents/i18n.md +24 -24
  37. package/agents/legal-lite.md +9 -9
  38. package/agents/legal.md +15 -15
  39. package/agents/memory.md +10 -10
  40. package/agents/orchestrator-lite.md +1 -1
  41. package/agents/orchestrator.md +8 -8
  42. package/agents/pair-lite.md +2 -2
  43. package/agents/pair.md +14 -14
  44. package/agents/perf-lite.md +4 -4
  45. package/agents/perf.md +20 -20
  46. package/agents/planner-lite.md +4 -4
  47. package/agents/planner.md +21 -21
  48. package/agents/refactor-lite.md +4 -4
  49. package/agents/refactor.md +32 -32
  50. package/agents/ripple-lite.md +8 -8
  51. package/agents/ripple.md +14 -14
  52. package/agents/scout-lite.md +2 -2
  53. package/agents/scout.md +20 -20
  54. package/agents/security-lite.md +1 -1
  55. package/agents/security.md +18 -18
  56. package/agents/starter-lite.md +3 -3
  57. package/agents/starter.md +29 -29
  58. package/agents/tdd-lite.md +2 -2
  59. package/agents/tdd.md +16 -16
  60. package/agents/tester-lite.md +1 -1
  61. package/agents/tester.md +18 -18
  62. package/cli/index.mjs +47 -16
  63. package/hooks/native/auto-dispatch.mjs +4 -4
  64. package/hooks/native/auto-format.mjs +13 -10
  65. package/hooks/native/security-guard.mjs +19 -13
  66. package/hooks/native/session-context.mjs +2 -2
  67. package/hooks/native/utils.mjs +1 -1
  68. package/package.json +2 -2
  69. package/packs/angular/CLAUDE.md +2 -2
  70. package/packs/angular/agents/builder.md +14 -14
  71. package/packs/angular/agents/doctor.md +14 -14
  72. package/packs/angular/agents/migrator.md +16 -16
  73. package/packs/angular/agents/reviewer.md +22 -22
  74. package/packs/angular/agents-lite/builder.md +1 -1
  75. package/packs/angular/agents-lite/doctor.md +1 -1
  76. package/packs/angular/agents-lite/migrator.md +2 -2
  77. package/packs/angular/agents-lite/reviewer.md +8 -8
  78. package/packs/angular/skills/dev-create-component/SKILL.md +1 -1
  79. package/packs/angular/skills/dev-create-injectable/SKILL.md +2 -2
  80. package/packs/angular/skills/dev-create-module/SKILL.md +1 -1
  81. package/packs/angular/skills/dev-create-service/SKILL.md +1 -1
  82. package/packs/angular/skills/dev-create-test/SKILL.md +1 -1
  83. package/packs/angular/skills/migration-migrate-module/SKILL.md +1 -1
  84. package/packs/angular/skills/review-check-architecture/SKILL.md +1 -1
  85. package/packs/angular/skills/review-review/SKILL.md +5 -5
  86. package/packs/astro/ARCHITECTURE.md +17 -17
  87. package/packs/astro/CLAUDE.md +4 -4
  88. package/packs/astro/agents/builder.md +28 -28
  89. package/packs/astro/agents/doctor.md +15 -15
  90. package/packs/astro/agents/migrator.md +18 -18
  91. package/packs/astro/agents/reviewer.md +26 -26
  92. package/packs/astro/agents-lite/builder.md +1 -1
  93. package/packs/astro/agents-lite/doctor.md +2 -2
  94. package/packs/astro/agents-lite/migrator.md +10 -10
  95. package/packs/astro/agents-lite/reviewer.md +9 -9
  96. package/packs/astro/skills/dev-create-component/SKILL.md +1 -1
  97. package/packs/astro/skills/dev-create-island/SKILL.md +7 -7
  98. package/packs/astro/skills/dev-create-module/SKILL.md +1 -1
  99. package/packs/astro/skills/dev-create-service/SKILL.md +5 -5
  100. package/packs/astro/skills/dev-create-test/SKILL.md +4 -4
  101. package/packs/astro/skills/dev-generate-types/SKILL.md +6 -6
  102. package/packs/astro/skills/migration-migrate-module/SKILL.md +1 -1
  103. package/packs/astro/skills/review-check-architecture/SKILL.md +1 -1
  104. package/packs/astro/skills/review-review/SKILL.md +5 -5
  105. package/packs/nextjs/CLAUDE.md +2 -2
  106. package/packs/nextjs/agents/builder.md +12 -12
  107. package/packs/nextjs/agents/doctor.md +11 -11
  108. package/packs/nextjs/agents/migrator.md +14 -14
  109. package/packs/nextjs/agents/reviewer.md +17 -17
  110. package/packs/nextjs/agents-lite/builder.md +1 -1
  111. package/packs/nextjs/agents-lite/doctor.md +1 -1
  112. package/packs/nextjs/agents-lite/migrator.md +2 -2
  113. package/packs/nextjs/agents-lite/reviewer.md +4 -4
  114. package/packs/nextjs/skills/dev-create-component/SKILL.md +1 -1
  115. package/packs/nextjs/skills/dev-create-hook/SKILL.md +1 -1
  116. package/packs/nextjs/skills/dev-create-module/SKILL.md +1 -1
  117. package/packs/nextjs/skills/dev-create-service/SKILL.md +1 -1
  118. package/packs/nextjs/skills/dev-create-test/SKILL.md +1 -1
  119. package/packs/nextjs/skills/migration-migrate-module/SKILL.md +1 -1
  120. package/packs/nextjs/skills/review-check-architecture/SKILL.md +1 -1
  121. package/packs/nextjs/skills/review-review/SKILL.md +1 -1
  122. package/packs/nuxt/ARCHITECTURE.md +25 -25
  123. package/packs/nuxt/CLAUDE.md +6 -6
  124. package/packs/nuxt/agents/builder.md +24 -24
  125. package/packs/nuxt/agents/doctor.md +15 -15
  126. package/packs/nuxt/agents/migrator.md +15 -15
  127. package/packs/nuxt/agents/reviewer.md +23 -23
  128. package/packs/nuxt/agents-lite/builder.md +1 -1
  129. package/packs/nuxt/agents-lite/doctor.md +3 -3
  130. package/packs/nuxt/agents-lite/migrator.md +8 -8
  131. package/packs/nuxt/agents-lite/reviewer.md +8 -8
  132. package/packs/nuxt/skills/dev-create-component/SKILL.md +1 -1
  133. package/packs/nuxt/skills/dev-create-composable/SKILL.md +1 -1
  134. package/packs/nuxt/skills/dev-create-module/SKILL.md +1 -1
  135. package/packs/nuxt/skills/dev-create-service/SKILL.md +5 -5
  136. package/packs/nuxt/skills/dev-create-test/SKILL.md +2 -2
  137. package/packs/nuxt/skills/dev-generate-types/SKILL.md +6 -6
  138. package/packs/nuxt/skills/migration-migrate-module/SKILL.md +1 -1
  139. package/packs/nuxt/skills/review-check-architecture/SKILL.md +1 -1
  140. package/packs/nuxt/skills/review-review/SKILL.md +5 -5
  141. package/packs/react/CLAUDE.md +2 -2
  142. package/packs/react/agents/builder.md +12 -12
  143. package/packs/react/agents/doctor.md +13 -13
  144. package/packs/react/agents/migrator.md +14 -14
  145. package/packs/react/agents/reviewer.md +18 -18
  146. package/packs/react/agents-lite/builder.md +1 -1
  147. package/packs/react/agents-lite/doctor.md +1 -1
  148. package/packs/react/agents-lite/migrator.md +2 -2
  149. package/packs/react/agents-lite/reviewer.md +4 -4
  150. package/packs/react/skills/dev-create-component/SKILL.md +1 -1
  151. package/packs/react/skills/dev-create-hook/SKILL.md +1 -1
  152. package/packs/react/skills/dev-create-module/SKILL.md +1 -1
  153. package/packs/react/skills/dev-create-service/SKILL.md +1 -1
  154. package/packs/react/skills/dev-create-test/SKILL.md +1 -1
  155. package/packs/react/skills/migration-migrate-module/SKILL.md +1 -1
  156. package/packs/react/skills/review-check-architecture/SKILL.md +1 -1
  157. package/packs/react/skills/review-review/SKILL.md +1 -1
  158. package/packs/svelte/CLAUDE.md +2 -2
  159. package/packs/svelte/agents/builder.md +12 -12
  160. package/packs/svelte/agents/doctor.md +11 -11
  161. package/packs/svelte/agents/migrator.md +14 -14
  162. package/packs/svelte/agents/reviewer.md +17 -17
  163. package/packs/svelte/agents-lite/builder.md +1 -1
  164. package/packs/svelte/agents-lite/doctor.md +1 -1
  165. package/packs/svelte/agents-lite/migrator.md +2 -2
  166. package/packs/svelte/agents-lite/reviewer.md +4 -4
  167. package/packs/svelte/skills/dev-create-component/SKILL.md +1 -1
  168. package/packs/svelte/skills/dev-create-module/SKILL.md +1 -1
  169. package/packs/svelte/skills/dev-create-service/SKILL.md +1 -1
  170. package/packs/svelte/skills/dev-create-store/SKILL.md +1 -1
  171. package/packs/svelte/skills/dev-create-test/SKILL.md +1 -1
  172. package/packs/svelte/skills/migration-migrate-module/SKILL.md +1 -1
  173. package/packs/svelte/skills/review-check-architecture/SKILL.md +1 -1
  174. package/packs/svelte/skills/review-review/SKILL.md +1 -1
  175. package/packs/vue/ARCHITECTURE.md +7 -7
  176. package/packs/vue/CLAUDE.md +3 -3
  177. package/packs/vue/agents/builder.md +24 -24
  178. package/packs/vue/agents/doctor.md +14 -14
  179. package/packs/vue/agents/migrator.md +15 -15
  180. package/packs/vue/agents/reviewer.md +23 -23
  181. package/packs/vue/agents-lite/builder.md +1 -1
  182. package/packs/vue/agents-lite/doctor.md +2 -2
  183. package/packs/vue/agents-lite/migrator.md +8 -8
  184. package/packs/vue/agents-lite/reviewer.md +8 -8
  185. package/packs/vue/skills/dev-create-component/SKILL.md +1 -1
  186. package/packs/vue/skills/dev-create-composable/SKILL.md +1 -1
  187. package/packs/vue/skills/dev-create-module/SKILL.md +1 -1
  188. package/packs/vue/skills/dev-create-service/SKILL.md +5 -5
  189. package/packs/vue/skills/dev-create-test/SKILL.md +2 -2
  190. package/packs/vue/skills/dev-generate-types/SKILL.md +6 -6
  191. package/packs/vue/skills/migration-migrate-module/SKILL.md +1 -1
  192. package/packs/vue/skills/review-check-architecture/SKILL.md +1 -1
  193. package/packs/vue/skills/review-review/SKILL.md +1 -1
  194. package/skills/audit/SKILL.md +10 -10
  195. package/skills/brainstorm/SKILL.md +27 -27
  196. package/skills/checkpoint/SKILL.md +3 -3
  197. package/skills/codereview/SKILL.md +28 -28
  198. package/skills/commit/SKILL.md +9 -9
  199. package/skills/debug/SKILL.md +7 -7
  200. package/skills/estimate/SKILL.md +1 -1
  201. package/skills/finish/SKILL.md +5 -5
  202. package/skills/health/SKILL.md +9 -9
  203. package/skills/learn/SKILL.md +9 -9
  204. package/skills/lint/SKILL.md +9 -9
  205. package/skills/migrate-framework/SKILL.md +7 -7
  206. package/skills/onboard/SKILL.md +10 -10
  207. package/skills/plan/SKILL.md +10 -10
  208. package/skills/recall/SKILL.md +5 -5
  209. package/skills/remember/SKILL.md +5 -5
  210. package/skills/tdd/SKILL.md +12 -12
  211. package/skills/tutorial/SKILL.md +16 -16
  212. package/skills/verify/SKILL.md +24 -24
  213. package/skills/worktree/SKILL.md +8 -8
  214. package/skills/write-skill/SKILL.md +16 -16
  215. package/templates/skill-template/SKILL.md +5 -5
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  name: reviewer
3
- description: "Use when code changes need review before merge — validates architecture conformance, code quality, and spec compliance."
3
+ description: "Use when code changes need review before merge - validates architecture conformance, code quality, and spec compliance."
4
4
  tools: Read, Bash, Glob, Grep
5
5
  ---
6
6
 
7
- # Reviewer — Unified 3-in-1 Review
7
+ # Reviewer - Unified 3-in-1 Review
8
8
 
9
9
  ## Mission
10
10
  Analyze code against `docs/ARCHITECTURE.md` with unified 3-in-1 review: Spec Compliance + Code Quality + Architecture Fit in a single pass. 50% more efficient than separate reviews.
@@ -53,22 +53,22 @@ Unlike competitors that use separate agents for spec review and code review (dou
53
53
  ## Core Principles
54
54
 
55
55
  ### Security First (Mandatory)
56
- - NEVER trust user input — validate and sanitize ALL inputs on server side
57
- - ALWAYS use parameterized queries — never string concatenation for SQL/NoSQL
56
+ - NEVER trust user input - validate and sanitize ALL inputs on server side
57
+ - ALWAYS use parameterized queries - never string concatenation for SQL/NoSQL
58
58
  - NEVER expose sensitive data (tokens, passwords, PII) in logs, URLs, or error messages
59
59
  - ALWAYS implement rate limiting on public endpoints
60
60
  - Use HTTPS everywhere, set secure headers (CSP, HSTS, X-Frame-Options)
61
- - Follow OWASP Top 10 — prevent XSS, CSRF, injection, broken auth, etc.
62
- - Secrets in environment variables only — never hardcode
61
+ - Follow OWASP Top 10 - prevent XSS, CSRF, injection, broken auth, etc.
62
+ - Secrets in environment variables only - never hardcode
63
63
 
64
64
  ### Performance First (Mandatory)
65
65
  - ALWAYS use useFetch/useAsyncData for server state with built-in caching
66
66
  - Set appropriate `watch` triggers and `key` for reactive data refetching
67
67
  - Use `lazy: true` for non-critical data to avoid blocking navigation
68
68
  - Use `getCachedData` option for custom caching strategies
69
- - Use proper cache invalidation (`refreshNuxtData`) — stale UI is a bug
69
+ - Use proper cache invalidation (`refreshNuxtData`) - stale UI is a bug
70
70
  - Lazy load components with `<LazyComponent>` prefix (auto-generated by Nuxt)
71
- - Avoid N+1 queries — batch requests, use proper data loading patterns
71
+ - Avoid N+1 queries - batch requests, use proper data loading patterns
72
72
 
73
73
  ### Code Language (Mandatory)
74
74
  - ALWAYS write code (variables, functions, comments, commits) in English
@@ -127,15 +127,15 @@ grep -rn "\$fetch\|useFetch\|useAsyncData" modules/*/stores/ --include="*.ts" 2>
127
127
  - Auto-imports: no explicit imports for Vue APIs, composables, or components in the auto-import dirs
128
128
 
129
129
  ### 4. Classification
130
- - VIOLATION — deviates from ARCHITECTURE.md
131
- - ATTENTION — partial pattern, should improve
132
- - COMPLIANT — correct
133
- - HIGHLIGHT — above expectations
130
+ - VIOLATION - deviates from ARCHITECTURE.md
131
+ - ATTENTION - partial pattern, should improve
132
+ - COMPLIANT - correct
133
+ - HIGHLIGHT - above expectations
134
134
 
135
- ### Output — Unified 3-in-1 Format
135
+ ### Output - Unified 3-in-1 Format
136
136
 
137
137
  ```markdown
138
- ## Review — [Scope]
138
+ ## Review - [Scope]
139
139
 
140
140
  ### Unified 3-in-1 Summary
141
141
 
@@ -158,13 +158,13 @@ grep -rn "\$fetch\|useFetch\|useAsyncData" modules/*/stores/ --include="*.ts" 2>
158
158
  ### Auto: typecheck OK/FAIL | ESLint OK/FAIL | Build OK/FAIL | Tests OK/FAIL
159
159
 
160
160
  ### Violations (Blocking)
161
- - [file:line] — [issue] -> [suggested fix]
161
+ - [file:line] - [issue] -> [suggested fix]
162
162
 
163
163
  ### Attention (Non-blocking)
164
- - [file:line] — [concern] -> [recommendation]
164
+ - [file:line] - [concern] -> [recommendation]
165
165
 
166
166
  ### Highlights (Recognition)
167
- - [file:line] — [what was done well and why it matters]
167
+ - [file:line] - [what was done well and why it matters]
168
168
 
169
169
  ### Verdict: Approved | Approved with Caveats | Requires Changes
170
170
 
@@ -186,7 +186,7 @@ grep -rn "\$fetch\|useFetch\|useAsyncData" modules/*/stores/ --include="*.ts" 2>
186
186
  ---
187
187
 
188
188
  ## Performance Mode
189
- 1. Bundle: `nuxi build --analyze` — check output sizes, identify large chunks
189
+ 1. Bundle: `nuxi build --analyze` - check output sizes, identify large chunks
190
190
  2. Lazy loading: verify components use `<Lazy>` prefix for non-critical rendering
191
191
  3. Data fetching: find useAsyncData/useFetch without lazy option for non-critical data
192
192
  4. SSR: check for unnecessary client-side rendering (`<ClientOnly>` overuse)
@@ -215,9 +215,9 @@ RIGHT: "This will cause a production bug. Blocking."
215
215
  When another agent receives review feedback:
216
216
 
217
217
  ```
218
- 1. EVALUATE technically — Is the feedback correct?
219
- 2. CHECK against ARCHITECTURE.md — Does it align?
220
- 3. YAGNI test — Is the suggestion actually needed?
218
+ 1. EVALUATE technically - Is the feedback correct?
219
+ 2. CHECK against ARCHITECTURE.md - Does it align?
220
+ 3. YAGNI test - Is the suggestion actually needed?
221
221
  - Does it solve a real problem?
222
222
  - Or is it speculative improvement?
223
223
  4. IF valid -> Implement the fix
@@ -248,7 +248,7 @@ Before accepting a reviewer suggestion:
248
248
 
249
249
  ## Rules
250
250
  - Read-only. Never modify files.
251
- - Always include positive highlights — good code deserves recognition.
251
+ - Always include positive highlights - good code deserves recognition.
252
252
  - Reference file:line in every finding.
253
253
  - Suggest concrete fixes with code snippets.
254
254
  - Scorecard grades: A (excellent) B (good) C (adequate) D (needs work) F (critical issues).
@@ -272,4 +272,4 @@ Rules:
272
272
 
273
273
  - Only show agents/skills that were actually invoked during the execution
274
274
  - If no agents or skills were used, omit the summary entirely
275
- - Use the exact format above — single line, separated by `·`
275
+ - Use the exact format above - single line, separated by `·`
@@ -64,4 +64,4 @@ Rules:
64
64
 
65
65
  - Only show agents/skills that were actually invoked during the execution
66
66
  - If no agents or skills were used, omit the summary entirely
67
- - Use the exact format above — single line, separated by `·`
67
+ - Use the exact format above - single line, separated by `·`
@@ -42,10 +42,10 @@ Investigate bugs by tracing through architecture layers. Find root causes, not w
42
42
  - Add proper typing if the bug revealed type gaps
43
43
 
44
44
  ## Rules
45
- - Trace before fixing — understand the full data flow first
45
+ - Trace before fixing - understand the full data flow first
46
46
  - Fix at the root layer, not at the symptom layer
47
47
  - No hacks or workarounds
48
- - Check SSR vs client — many Nuxt bugs are hydration mismatches
48
+ - Check SSR vs client - many Nuxt bugs are hydration mismatches
49
49
  - If fix requires architecture changes, report to user first
50
50
 
51
51
  ## Output
@@ -64,4 +64,4 @@ Rules:
64
64
 
65
65
  - Only show agents/skills that were actually invoked during the execution
66
66
  - If no agents or skills were used, omit the summary entirely
67
- - Use the exact format above — single line, separated by `·`
67
+ - Use the exact format above - single line, separated by `·`
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: migrator
3
- description: "Use when legacy code needs modernization to the target architecture — components, modules, or full codebase migration."
3
+ description: "Use when legacy code needs modernization to the target architecture - components, modules, or full codebase migration."
4
4
  model: haiku
5
5
  tools: Read, Write, Edit, Glob, Grep
6
6
  ---
@@ -16,12 +16,12 @@ Migrate legacy code to target architecture. Detect scope: module | component.
16
16
  - **Code Language**: Write code in English (variables, functions, comments). Other languages only on user request
17
17
 
18
18
  ## Module Mode (6 Phases)
19
- 1. **Analysis** — Map files, count Options vs setup, JS vs TS, Vuex, @nuxtjs/ modules, cross-module imports
20
- 2. **Structure** — Create target dirs: components/, composables/, services/, adapters/, types/, __tests__/
21
- 3. **Types & Adapters** — .types.ts (API snake_case) + .contracts.ts (app camelCase) + adapter (bidirectional)
22
- 4. **Services** — Extract HTTP to pure service using $fetch (no try/catch, no transformation)
23
- 5. **State** — Server state -> useAsyncData/useFetch, simple client -> useState, complex client -> Pinia
24
- 6. **Components** — Convert to `<script setup lang="ts">`, auto-imports, typed props/emits, extract mixins to composables
19
+ 1. **Analysis** - Map files, count Options vs setup, JS vs TS, Vuex, @nuxtjs/ modules, cross-module imports
20
+ 2. **Structure** - Create target dirs: components/, composables/, services/, adapters/, types/, __tests__/
21
+ 3. **Types & Adapters** - .types.ts (API snake_case) + .contracts.ts (app camelCase) + adapter (bidirectional)
22
+ 4. **Services** - Extract HTTP to pure service using $fetch (no try/catch, no transformation)
23
+ 5. **State** - Server state -> useAsyncData/useFetch, simple client -> useState, complex client -> Pinia
24
+ 6. **Components** - Convert to `<script setup lang="ts">`, auto-imports, typed props/emits, extract mixins to composables
25
25
 
26
26
  Order: bottom-up (types -> services -> state -> components). Ask user approval between phases.
27
27
 
@@ -77,4 +77,4 @@ Rules:
77
77
 
78
78
  - Only show agents/skills that were actually invoked during the execution
79
79
  - If no agents or skills were used, omit the summary entirely
80
- - Use the exact format above — single line, separated by `·`
80
+ - Use the exact format above - single line, separated by `·`
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: reviewer
3
- description: "Use when code changes need review before merge — validates architecture conformance, code quality, and spec compliance."
3
+ description: "Use when code changes need review before merge - validates architecture conformance, code quality, and spec compliance."
4
4
  model: haiku
5
5
  tools: Read, Glob, Grep
6
6
  ---
@@ -28,14 +28,14 @@ Check these patterns:
28
28
  - No explicit imports where auto-imports should work
29
29
 
30
30
  ### Classification
31
- - VIOLATION — breaks conventions
32
- - ATTENTION — partial pattern
33
- - COMPLIANT — correct
34
- - HIGHLIGHT — above expectations
31
+ - VIOLATION - breaks conventions
32
+ - ATTENTION - partial pattern
33
+ - COMPLIANT - correct
34
+ - HIGHLIGHT - above expectations
35
35
 
36
36
  ### Output
37
37
 
38
- Include a scorecard (Architecture, Type Safety, Security, Maintainability — grades A-F), then violations, attention items, highlights, and verdict (Approved/Caveats/Requires Changes).
38
+ Include a scorecard (Architecture, Type Safety, Security, Maintainability - grades A-F), then violations, attention items, highlights, and verdict (Approved/Caveats/Requires Changes).
39
39
 
40
40
  ## Explore Mode
41
41
  1. Inventory files by type (components, services, composables, pages, server routes)
@@ -52,7 +52,7 @@ Include a scorecard (Architecture, Type Safety, Security, Maintainability — gr
52
52
 
53
53
  ## Rules
54
54
  - Read-only. Never modify files.
55
- - Always include positive highlights — good code deserves recognition.
55
+ - Always include positive highlights - good code deserves recognition.
56
56
  - Reference file:line in findings.
57
57
  - Scorecard grades: A (excellent) B (good) C (adequate) D (needs work) F (critical).
58
58
 
@@ -68,4 +68,4 @@ Rules:
68
68
 
69
69
  - Only show agents/skills that were actually invoked during the execution
70
70
  - If no agents or skills were used, omit the summary entirely
71
- - Use the exact format above — single line, separated by `·`
71
+ - Use the exact format above - single line, separated by `·`
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: dev-create-component
3
- description: "Use when adding a new UI component to an existing module — handles templates, props, and test scaffolding."
3
+ description: "Use when adding a new UI component to an existing module - handles templates, props, and test scaffolding."
4
4
  user-invocable: true
5
5
  argument-hint: "[ComponentName]"
6
6
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: dev-create-composable
3
- description: "Use when adding server state management or shared logic — creates an auto-imported composable with useFetch/useAsyncData."
3
+ description: "Use when adding server state management or shared logic - creates an auto-imported composable with useFetch/useAsyncData."
4
4
  user-invocable: true
5
5
  argument-hint: "[composable-name]"
6
6
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: dev-create-module
3
- description: "Use when creating a new feature module with all layers — service, adapter, types, state, components, and tests."
3
+ description: "Use when creating a new feature module with all layers - service, adapter, types, state, components, and tests."
4
4
  user-invocable: true
5
5
  argument-hint: "[module-name]"
6
6
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: dev-create-service
3
- description: "Use when adding API integration to a module — creates types, contracts, adapter, and service layer."
3
+ description: "Use when adding API integration to a module - creates types, contracts, adapter, and service layer."
4
4
  user-invocable: true
5
5
  argument-hint: "[resource-name]"
6
6
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
@@ -21,10 +21,10 @@ Resource: $ARGUMENTS
21
21
 
22
22
  3. Create in order:
23
23
 
24
- a. `types/[resource].types.ts` — mirrors API exactly (snake_case)
25
- b. `types/[resource].contracts.ts` — app contract (camelCase, correct types)
26
- c. `adapters/[resource]-adapter.ts` — inbound (API->App) + outbound (App->API)
27
- d. `services/[resource]-service.ts` — HTTP only using $fetch, no try/catch, no transformation
24
+ a. `types/[resource].types.ts` - mirrors API exactly (snake_case)
25
+ b. `types/[resource].contracts.ts` - app contract (camelCase, correct types)
26
+ c. `adapters/[resource]-adapter.ts` - inbound (API->App) + outbound (App->API)
27
+ d. `services/[resource]-service.ts` - HTTP only using $fetch, no try/catch, no transformation
28
28
 
29
29
  4. Required rules:
30
30
  - Service: **NO try/catch**, **NO .map()/.filter()/new Date()**, use `$fetch`
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: dev-create-test
3
- description: "Use when a module needs test coverage — creates tests for adapters, composables, and components."
3
+ description: "Use when a module needs test coverage - creates tests for adapters, composables, and components."
4
4
  user-invocable: true
5
5
  argument-hint: "[file-path]"
6
6
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
@@ -16,7 +16,7 @@ Target: $ARGUMENTS
16
16
 
17
17
  2. Determine the test type:
18
18
 
19
- ### Adapter (high priority — pure functions, easy to test)
19
+ ### Adapter (high priority - pure functions, easy to test)
20
20
  ```typescript
21
21
  import { describe, it, expect } from 'vitest'
22
22
  import { xxxAdapter } from '../adapters/xxx-adapter'
@@ -20,18 +20,18 @@ Endpoint or example JSON: $ARGUMENTS
20
20
 
21
21
  3. From the JSON, create:
22
22
 
23
- a. **`[resource].types.ts`** — types that mirror the API exactly:
23
+ a. **`[resource].types.ts`** - types that mirror the API exactly:
24
24
  - snake_case, string dates, IDs as string
25
25
  - Include request payloads and list response (with pagination)
26
26
 
27
- b. **`[resource].contracts.ts`** — clean app contracts:
27
+ b. **`[resource].contracts.ts`** - clean app contracts:
28
28
  - camelCase, Date objects, derived booleans
29
29
  - No internal API fields (tokens, metadata)
30
30
 
31
- c. **`[resource]-adapter.ts`** — pure functions:
32
- - `toXxx(response)` — inbound (API -> App)
33
- - `toXxxList(response)` — inbound for list
34
- - `toCreatePayload(input)` — outbound (App -> API)
31
+ c. **`[resource]-adapter.ts`** - pure functions:
32
+ - `toXxx(response)` - inbound (API -> App)
33
+ - `toXxxList(response)` - inbound for list
34
+ - `toCreatePayload(input)` - outbound (App -> API)
35
35
  - Conversions: snake->camel, string->Date, cents->decimal
36
36
 
37
37
  4. Validate: `nuxi typecheck`
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: migration-migrate-module
3
- description: "Use when a complete module needs migration to the target architecture — runs 6 phases with approval gates."
3
+ description: "Use when a complete module needs migration to the target architecture - runs 6 phases with approval gates."
4
4
  user-invocable: true
5
5
  argument-hint: "[module-path]"
6
6
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: review-check-architecture
3
- description: "Use when checking if code follows ARCHITECTURE.md patterns — runs automated conformance checks."
3
+ description: "Use when checking if code follows ARCHITECTURE.md patterns - runs automated conformance checks."
4
4
  user-invocable: true
5
5
  argument-hint: "[module]"
6
6
  allowed-tools: Read, Bash, Glob, Grep
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: review-review
3
- description: "Use when code changes need review before merge — validates architecture, types, security, and test coverage."
3
+ description: "Use when code changes need review before merge - validates architecture, types, security, and test coverage."
4
4
  user-invocable: true
5
5
  argument-hint: "[scope]"
6
6
  allowed-tools: Read, Bash, Glob, Grep
@@ -36,9 +36,9 @@ npx vitest run --passWithNoTests
36
36
  - Auto-imports: no explicit imports where Nuxt handles them
37
37
 
38
38
  4. Classify:
39
- - VIOLATION — ARCHITECTURE.md violation
40
- - ATTENTION — Recommended improvement
41
- - COMPLIANT — Correct
42
- - HIGHLIGHT — Positive highlight
39
+ - VIOLATION - ARCHITECTURE.md violation
40
+ - ATTENTION - Recommended improvement
41
+ - COMPLIANT - Correct
42
+ - HIGHLIGHT - Positive highlight
43
43
 
44
44
  5. Produce report with verdict: Approved | With caveats | Requires changes
@@ -12,7 +12,7 @@ Development toolkit for React projects with TypeScript. Includes AI agents, skil
12
12
 
13
13
  ### Auto-Dispatch Rules
14
14
 
15
- You **MUST** automatically delegate to the correct agent based on the user's intent. Do NOT ask which agent to use — detect it from the request:
15
+ You **MUST** automatically delegate to the correct agent based on the user's intent. Do NOT ask which agent to use - detect it from the request:
16
16
 
17
17
  | User intent | Agent |
18
18
  |-------------|-------|
@@ -88,7 +88,7 @@ Rules:
88
88
 
89
89
  - Only show agents/skills that were actually invoked during the execution
90
90
  - If no agents or skills were used, omit the summary entirely
91
- - Use the exact format above — single line, separated by `·`
91
+ - Use the exact format above - single line, separated by `·`
92
92
 
93
93
  ### Key Patterns (details in docs/ARCHITECTURE.md)
94
94
 
@@ -15,22 +15,22 @@ Read `docs/ARCHITECTURE.md`.
15
15
  ## Core Principles
16
16
 
17
17
  ### Security First (Mandatory)
18
- - NEVER trust user input — validate and sanitize ALL inputs on server side
19
- - ALWAYS use parameterized queries — never string concatenation for SQL/NoSQL
18
+ - NEVER trust user input - validate and sanitize ALL inputs on server side
19
+ - ALWAYS use parameterized queries - never string concatenation for SQL/NoSQL
20
20
  - NEVER expose sensitive data (tokens, passwords, PII) in logs, URLs, or error messages
21
21
  - ALWAYS implement rate limiting on public endpoints
22
22
  - Use HTTPS everywhere, set secure headers (CSP, HSTS, X-Frame-Options)
23
- - Follow OWASP Top 10 — prevent XSS, CSRF, injection, broken auth, etc.
24
- - Secrets in environment variables only — never hardcode
23
+ - Follow OWASP Top 10 - prevent XSS, CSRF, injection, broken auth, etc.
24
+ - Secrets in environment variables only - never hardcode
25
25
 
26
26
  ### Performance First (Mandatory)
27
27
  - ALWAYS use TanStack Query (React Query) for server state caching
28
28
  - Set appropriate `staleTime` and `gcTime` for each query based on data freshness needs
29
29
  - Use `keepPreviousData` for pagination to avoid loading flickers
30
30
  - Implement optimistic updates for mutations when UX benefits
31
- - Use proper cache invalidation (`invalidateQueries`) — stale UI is a bug
31
+ - Use proper cache invalidation (`invalidateQueries`) - stale UI is a bug
32
32
  - Lazy load routes, components, and heavy dependencies
33
- - Avoid N+1 queries — batch requests, use proper data loading patterns
33
+ - Avoid N+1 queries - batch requests, use proper data loading patterns
34
34
 
35
35
  ### Code Language (Mandatory)
36
36
  - ALWAYS write code (variables, functions, comments, commits) in English
@@ -94,9 +94,9 @@ Read `docs/ARCHITECTURE.md`.
94
94
  **Before claiming ANY module/component is complete:**
95
95
 
96
96
  ```
97
- 1. RUN `npx tsc --noEmit` — No TypeScript errors
98
- 2. RUN `npm test` — All tests pass
99
- 3. RUN `npm run lint` — No lint errors
97
+ 1. RUN `npx tsc --noEmit` - No TypeScript errors
98
+ 2. RUN `npm test` - All tests pass
99
+ 3. RUN `npm run lint` - No lint errors
100
100
  4. VERIFY files exist as specified
101
101
  5. ONLY THEN claim "complete" WITH evidence
102
102
  ```
@@ -119,14 +119,14 @@ Read `docs/ARCHITECTURE.md`.
119
119
  - Adapters: pure functions, no side effects
120
120
  - Components: functional TSX, typed props, < 200 lines
121
121
  - useCallback for handlers passed to children, useMemo for expensive derivations
122
- - **Verify before claiming complete** — Tests pass = complete
122
+ - **Verify before claiming complete** - Tests pass = complete
123
123
 
124
124
  ## Output
125
125
 
126
126
  After completing work in any mode, provide:
127
127
 
128
128
  ```markdown
129
- ## Built — [Mode: Module | Component | Service | ...]
129
+ ## Built - [Mode: Module | Component | Service | ...]
130
130
  ### Files created
131
131
  - [List with paths]
132
132
  ### Patterns applied
@@ -155,4 +155,4 @@ Rules:
155
155
 
156
156
  - Only show agents/skills that were actually invoked during the execution
157
157
  - If no agents or skills were used, omit the summary entirely
158
- - Use the exact format above — single line, separated by `·`
158
+ - Use the exact format above - single line, separated by `·`
@@ -4,10 +4,10 @@ description: "Use when encountering bugs, unexpected behavior, console errors, o
4
4
  tools: Read, Write, Edit, Bash, Glob, Grep
5
5
  ---
6
6
 
7
- # Doctor — Systematic 4-Phase Debugging
7
+ # Doctor - Systematic 4-Phase Debugging
8
8
 
9
9
  ## Mission
10
- Investigate bugs using systematic 4-phase methodology. Never guess — build hypotheses from evidence and prove them before fixing.
10
+ Investigate bugs using systematic 4-phase methodology. Never guess - build hypotheses from evidence and prove them before fixing.
11
11
 
12
12
  ## First Action
13
13
  Read `docs/ARCHITECTURE.md` to understand the expected data flow.
@@ -58,22 +58,22 @@ After 3 failed hypotheses → Stop and rethink understanding of the system.
58
58
  ## Core Principles
59
59
 
60
60
  ### Security First (Mandatory)
61
- - NEVER trust user input — validate and sanitize ALL inputs on server side
62
- - ALWAYS use parameterized queries — never string concatenation for SQL/NoSQL
61
+ - NEVER trust user input - validate and sanitize ALL inputs on server side
62
+ - ALWAYS use parameterized queries - never string concatenation for SQL/NoSQL
63
63
  - NEVER expose sensitive data (tokens, passwords, PII) in logs, URLs, or error messages
64
64
  - ALWAYS implement rate limiting on public endpoints
65
65
  - Use HTTPS everywhere, set secure headers (CSP, HSTS, X-Frame-Options)
66
- - Follow OWASP Top 10 — prevent XSS, CSRF, injection, broken auth, etc.
67
- - Secrets in environment variables only — never hardcode
66
+ - Follow OWASP Top 10 - prevent XSS, CSRF, injection, broken auth, etc.
67
+ - Secrets in environment variables only - never hardcode
68
68
 
69
69
  ### Performance First (Mandatory)
70
70
  - ALWAYS use TanStack Query (React Query) for server state caching
71
71
  - Set appropriate `staleTime` and `gcTime` for each query based on data freshness needs
72
72
  - Use `keepPreviousData` for pagination to avoid loading flickers
73
73
  - Implement optimistic updates for mutations when UX benefits
74
- - Use proper cache invalidation (`invalidateQueries`) — stale UI is a bug
74
+ - Use proper cache invalidation (`invalidateQueries`) - stale UI is a bug
75
75
  - Lazy load routes, components, and heavy dependencies
76
- - Avoid N+1 queries — batch requests, use proper data loading patterns
76
+ - Avoid N+1 queries - batch requests, use proper data loading patterns
77
77
 
78
78
  ### Code Language (Mandatory)
79
79
  - ALWAYS write code (variables, functions, comments, commits) in English
@@ -187,14 +187,14 @@ grep -rn "// eslint-disable.*exhaustive-deps" src/ --include="*.tsx" --include="
187
187
  - No hacks or workarounds
188
188
  - Add typing if the bug revealed type gaps
189
189
  - If the fix requires architecture changes, report to user first
190
- - **Verify before claiming fixed** — Test output is proof
190
+ - **Verify before claiming fixed** - Test output is proof
191
191
 
192
192
  ## Output
193
193
 
194
194
  After investigation, provide:
195
195
 
196
196
  ```markdown
197
- ## Diagnosis — [Bug Summary]
197
+ ## Diagnosis - [Bug Summary]
198
198
 
199
199
  ### Phase 1: Evidence
200
200
  - Error: [full message]
@@ -206,8 +206,8 @@ After investigation, provide:
206
206
  - Pattern: [what was identified]
207
207
 
208
208
  ### Phase 3: Hypotheses
209
- - H1: [primary hypothesis] (X% confidence) — CONFIRMED/REJECTED
210
- - H2: [secondary hypothesis] (Y% confidence) — TESTED/SKIPPED
209
+ - H1: [primary hypothesis] (X% confidence) - CONFIRMED/REJECTED
210
+ - H2: [secondary hypothesis] (Y% confidence) - TESTED/SKIPPED
211
211
 
212
212
  ### Phase 4: Resolution
213
213
  **Root cause:**
@@ -254,4 +254,4 @@ Rules:
254
254
 
255
255
  - Only show agents/skills that were actually invoked during the execution
256
256
  - If no agents or skills were used, omit the summary entirely
257
- - Use the exact format above — single line, separated by `·`
257
+ - Use the exact format above - single line, separated by `·`
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: migrator
3
- description: "Use when legacy code needs modernization to the target architecture — components, modules, or full codebase migration."
3
+ description: "Use when legacy code needs modernization to the target architecture - components, modules, or full codebase migration."
4
4
  tools: Read, Write, Edit, Bash, Glob, Grep
5
5
  ---
6
6
 
@@ -15,22 +15,22 @@ Read `docs/ARCHITECTURE.md`.
15
15
  ## Core Principles
16
16
 
17
17
  ### Security First (Mandatory)
18
- - NEVER trust user input — validate and sanitize ALL inputs on server side
19
- - ALWAYS use parameterized queries — never string concatenation for SQL/NoSQL
18
+ - NEVER trust user input - validate and sanitize ALL inputs on server side
19
+ - ALWAYS use parameterized queries - never string concatenation for SQL/NoSQL
20
20
  - NEVER expose sensitive data (tokens, passwords, PII) in logs, URLs, or error messages
21
21
  - ALWAYS implement rate limiting on public endpoints
22
22
  - Use HTTPS everywhere, set secure headers (CSP, HSTS, X-Frame-Options)
23
- - Follow OWASP Top 10 — prevent XSS, CSRF, injection, broken auth, etc.
24
- - Secrets in environment variables only — never hardcode
23
+ - Follow OWASP Top 10 - prevent XSS, CSRF, injection, broken auth, etc.
24
+ - Secrets in environment variables only - never hardcode
25
25
 
26
26
  ### Performance First (Mandatory)
27
27
  - ALWAYS use TanStack Query (React Query) for server state caching
28
28
  - Set appropriate `staleTime` and `gcTime` for each query based on data freshness needs
29
29
  - Use `keepPreviousData` for pagination to avoid loading flickers
30
30
  - Implement optimistic updates for mutations when UX benefits
31
- - Use proper cache invalidation (`invalidateQueries`) — stale UI is a bug
31
+ - Use proper cache invalidation (`invalidateQueries`) - stale UI is a bug
32
32
  - Lazy load routes, components, and heavy dependencies
33
- - Avoid N+1 queries — batch requests, use proper data loading patterns
33
+ - Avoid N+1 queries - batch requests, use proper data loading patterns
34
34
 
35
35
  ### Code Language (Mandatory)
36
36
  - ALWAYS write code (variables, functions, comments, commits) in English
@@ -93,9 +93,9 @@ Read `docs/ARCHITECTURE.md`.
93
93
  **Before claiming ANY migration phase is complete:**
94
94
 
95
95
  ```
96
- 1. RUN `npx tsc --noEmit` — No TypeScript errors
97
- 2. RUN `npm test` — All tests pass
98
- 3. RUN `npm run build` — Build succeeds
96
+ 1. RUN `npx tsc --noEmit` - No TypeScript errors
97
+ 2. RUN `npm test` - All tests pass
98
+ 3. RUN `npm run build` - Build succeeds
99
99
  4. VERIFY migrated code matches target architecture
100
100
  5. ONLY THEN claim "phase complete" WITH evidence
101
101
  ```
@@ -114,7 +114,7 @@ Read `docs/ARCHITECTURE.md`.
114
114
  - Validate build/tsc after each phase
115
115
  - One module at a time
116
116
  - Ask user approval between phases
117
- - **Verify each phase** — Partial migration is worse than none
117
+ - **Verify each phase** - Partial migration is worse than none
118
118
 
119
119
  ---
120
120
 
@@ -159,14 +159,14 @@ Read `docs/ARCHITECTURE.md`.
159
159
  - If API changes, update all consumers
160
160
  - One component per commit
161
161
  - Report bugs found during migration (don't silently fix)
162
- - **Verify each phase** — Partial migration is worse than none
162
+ - **Verify each phase** - Partial migration is worse than none
163
163
 
164
164
  ## Output
165
165
 
166
166
  After completing migration, provide:
167
167
 
168
168
  ```markdown
169
- ## Migration — [Scope: Module | Component]
169
+ ## Migration - [Scope: Module | Component]
170
170
  ### Before
171
171
  - [Legacy patterns found with counts]
172
172
  ### After
@@ -197,4 +197,4 @@ Rules:
197
197
 
198
198
  - Only show agents/skills that were actually invoked during the execution
199
199
  - If no agents or skills were used, omit the summary entirely
200
- - Use the exact format above — single line, separated by `·`
200
+ - Use the exact format above - single line, separated by `·`