specialist-agent 1.2.2 → 1.4.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 (57) hide show
  1. package/README.md +7 -4
  2. package/agents/cloud-lite.md +14 -0
  3. package/agents/cloud.md +14 -0
  4. package/agents/data-lite.md +14 -0
  5. package/agents/data.md +14 -0
  6. package/agents/designer-lite.md +14 -0
  7. package/agents/designer.md +14 -0
  8. package/agents/devops-lite.md +14 -0
  9. package/agents/devops.md +14 -0
  10. package/agents/explorer-lite.md +14 -0
  11. package/agents/explorer.md +14 -0
  12. package/agents/finance-lite.md +14 -0
  13. package/agents/finance.md +14 -0
  14. package/agents/security-lite.md +14 -0
  15. package/agents/security.md +14 -0
  16. package/agents/starter-lite.md +14 -0
  17. package/agents/starter.md +14 -0
  18. package/agents/tester-lite.md +14 -0
  19. package/agents/tester.md +14 -0
  20. package/cli/index.mjs +274 -179
  21. package/package.json +4 -1
  22. package/packs/nextjs/CLAUDE.md +36 -1
  23. package/packs/nextjs/agents/builder.md +14 -0
  24. package/packs/nextjs/agents/doctor.md +14 -0
  25. package/packs/nextjs/agents/migrator.md +14 -0
  26. package/packs/nextjs/agents/reviewer.md +14 -0
  27. package/packs/nextjs/agents-lite/builder.md +14 -0
  28. package/packs/nextjs/agents-lite/doctor.md +14 -0
  29. package/packs/nextjs/agents-lite/migrator.md +14 -0
  30. package/packs/nextjs/agents-lite/reviewer.md +14 -0
  31. package/packs/react/CLAUDE.md +36 -1
  32. package/packs/react/agents/builder.md +14 -0
  33. package/packs/react/agents/doctor.md +14 -0
  34. package/packs/react/agents/migrator.md +14 -0
  35. package/packs/react/agents/reviewer.md +14 -0
  36. package/packs/react/agents-lite/builder.md +14 -0
  37. package/packs/react/agents-lite/doctor.md +14 -0
  38. package/packs/react/agents-lite/migrator.md +14 -0
  39. package/packs/react/agents-lite/reviewer.md +14 -0
  40. package/packs/svelte/CLAUDE.md +36 -1
  41. package/packs/svelte/agents/builder.md +14 -0
  42. package/packs/svelte/agents/doctor.md +14 -0
  43. package/packs/svelte/agents/migrator.md +14 -0
  44. package/packs/svelte/agents/reviewer.md +14 -0
  45. package/packs/svelte/agents-lite/builder.md +14 -0
  46. package/packs/svelte/agents-lite/doctor.md +14 -0
  47. package/packs/svelte/agents-lite/migrator.md +14 -0
  48. package/packs/svelte/agents-lite/reviewer.md +14 -0
  49. package/packs/vue/CLAUDE.md +36 -1
  50. package/packs/vue/agents/builder.md +14 -0
  51. package/packs/vue/agents/doctor.md +14 -0
  52. package/packs/vue/agents/migrator.md +14 -0
  53. package/packs/vue/agents/reviewer.md +14 -0
  54. package/packs/vue/agents-lite/builder.md +14 -0
  55. package/packs/vue/agents-lite/doctor.md +14 -0
  56. package/packs/vue/agents-lite/migrator.md +14 -0
  57. package/packs/vue/agents-lite/reviewer.md +14 -0
@@ -225,3 +225,17 @@ After completing migration, provide:
225
225
  - Post-migration architecture review → suggest @reviewer
226
226
  - Tests for migrated code → suggest @tester
227
227
  - Bugs discovered during migration → suggest @doctor
228
+
229
+ ## Execution Summary
230
+
231
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
232
+
233
+ ```text
234
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
235
+ ```
236
+
237
+ Rules:
238
+
239
+ - Only show agents/skills that were actually invoked during the execution
240
+ - If no agents or skills were used, omit the summary entirely
241
+ - Use the exact format above — single line, separated by `·`
@@ -166,3 +166,17 @@ done
166
166
  - Bugs discovered during review → suggest @doctor
167
167
  - Legacy patterns (Pages Router, class components) → suggest @migrator
168
168
  - Missing test coverage → suggest @tester
169
+
170
+ ## Execution Summary
171
+
172
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
173
+
174
+ ```text
175
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
176
+ ```
177
+
178
+ Rules:
179
+
180
+ - Only show agents/skills that were actually invoked during the execution
181
+ - If no agents or skills were used, omit the summary entirely
182
+ - Use the exact format above — single line, separated by `·`
@@ -53,3 +53,17 @@ Priority: adapters (pure) > hooks (mock service) > components (React Testing Lib
53
53
  ## Output
54
54
 
55
55
  Provide: files created, patterns applied, validation results, and suggested next steps.
56
+
57
+ ## Execution Summary
58
+
59
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
60
+
61
+ ```text
62
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
63
+ ```
64
+
65
+ Rules:
66
+
67
+ - Only show agents/skills that were actually invoked during the execution
68
+ - If no agents or skills were used, omit the summary entirely
69
+ - Use the exact format above — single line, separated by `·`
@@ -53,3 +53,17 @@ Investigate bugs by tracing through architecture layers. Find root causes, not w
53
53
  ## Output
54
54
 
55
55
  Provide: symptoms, root cause (file:line), fix applied, validation results, and prevention tips.
56
+
57
+ ## Execution Summary
58
+
59
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
60
+
61
+ ```text
62
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
63
+ ```
64
+
65
+ Rules:
66
+
67
+ - Only show agents/skills that were actually invoked during the execution
68
+ - If no agents or skills were used, omit the summary entirely
69
+ - Use the exact format above — single line, separated by `·`
@@ -54,3 +54,17 @@ Order: bottom-up (types -> services -> state -> components -> pages). Ask user a
54
54
  ## Output
55
55
 
56
56
  Provide: legacy patterns found, modern patterns applied, files modified, validation results, and remaining work.
57
+
58
+ ## Execution Summary
59
+
60
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
61
+
62
+ ```text
63
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
64
+ ```
65
+
66
+ Rules:
67
+
68
+ - Only show agents/skills that were actually invoked during the execution
69
+ - If no agents or skills were used, omit the summary entirely
70
+ - Use the exact format above — single line, separated by `·`
@@ -52,3 +52,17 @@ Include a scorecard (Architecture, Type Safety, Security, Server/Client, Maintai
52
52
  - Always include positive highlights — good code deserves recognition.
53
53
  - Reference file:line in findings.
54
54
  - Scorecard grades: A (excellent) B (good) C (adequate) D (needs work) F (critical).
55
+
56
+ ## Execution Summary
57
+
58
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
59
+
60
+ ```text
61
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
62
+ ```
63
+
64
+ Rules:
65
+
66
+ - Only show agents/skills that were actually invoked during the execution
67
+ - If no agents or skills were used, omit the summary entirely
68
+ - Use the exact format above — single line, separated by `·`
@@ -8,9 +8,30 @@ Development toolkit for React projects with TypeScript. Includes AI agents, skil
8
8
 
9
9
  ## AI Team Configuration
10
10
 
11
- **Important: YOU MUST USE subagents when available for the task.**
12
11
  **Important: ALWAYS read docs/ARCHITECTURE.md before creating or modifying files.**
13
12
 
13
+ ### Auto-Dispatch Rules
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:
16
+
17
+ | User intent | Agent |
18
+ |-------------|-------|
19
+ | Create modules, components, services, hooks, tests, or any new code | `@builder` |
20
+ | Review code, check architecture, analyze performance, explore modules | `@reviewer` |
21
+ | Investigate bugs, trace errors, debug issues | `@doctor` |
22
+ | Migrate legacy code, modernize modules, refactor to target architecture | `@migrator` |
23
+ | Scaffold a new project from scratch | `@starter` |
24
+ | Payments, billing, invoicing, financial reporting | `@finance` |
25
+ | Cloud infra, IaC, serverless, containers | `@cloud` |
26
+ | Auth flows, security audit, RBAC, encryption | `@security` |
27
+ | Design systems, responsive layouts, accessibility, theming | `@designer` |
28
+ | Database modeling, migrations, caching, query optimization | `@data` |
29
+ | Docker, Kubernetes, CI/CD pipelines, monitoring | `@devops` |
30
+ | Test strategies, test suites, coverage, mocking | `@tester` |
31
+ | Explore unfamiliar codebase, onboarding, technical assessment | `@explorer` |
32
+
33
+ If a task spans multiple agents, invoke them in sequence (e.g., @builder then @reviewer).
34
+
14
35
  ### Stack
15
36
 
16
37
  - React 18+ with functional components
@@ -54,6 +75,20 @@ Development toolkit for React projects with TypeScript. Includes AI agents, skil
54
75
  | `/migration-migrate-module [path]` | Migrate entire module |
55
76
  | `/docs-onboard [module]` | Quick module overview for onboarding |
56
77
 
78
+ ### Execution Summary
79
+
80
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
81
+
82
+ ```text
83
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
84
+ ```
85
+
86
+ Rules:
87
+
88
+ - Only show agents/skills that were actually invoked during the execution
89
+ - If no agents or skills were used, omit the summary entirely
90
+ - Use the exact format above — single line, separated by `·`
91
+
57
92
  ### Key Patterns (details in docs/ARCHITECTURE.md)
58
93
 
59
94
  - **Services**: HTTP only, no try/catch, no transformation
@@ -94,3 +94,17 @@ After completing work in any mode, provide:
94
94
  - Tests for new code → suggest @tester
95
95
  - Architecture validation → suggest @reviewer
96
96
  - Security concerns in new code → suggest @security
97
+
98
+ ## Execution Summary
99
+
100
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
101
+
102
+ ```text
103
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
104
+ ```
105
+
106
+ Rules:
107
+
108
+ - Only show agents/skills that were actually invoked during the execution
109
+ - If no agents or skills were used, omit the summary entirely
110
+ - Use the exact format above — single line, separated by `·`
@@ -122,3 +122,17 @@ After investigation, provide:
122
122
  - Regression test for the fix → suggest @tester
123
123
  - Architecture violation caused the bug → suggest @reviewer
124
124
  - Security vulnerability discovered → suggest @security
125
+
126
+ ## Execution Summary
127
+
128
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
129
+
130
+ ```text
131
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
132
+ ```
133
+
134
+ Rules:
135
+
136
+ - Only show agents/skills that were actually invoked during the execution
137
+ - If no agents or skills were used, omit the summary entirely
138
+ - Use the exact format above — single line, separated by `·`
@@ -136,3 +136,17 @@ After completing migration, provide:
136
136
  - Post-migration architecture review → suggest @reviewer
137
137
  - Tests for migrated code → suggest @tester
138
138
  - Bugs discovered during migration → suggest @doctor
139
+
140
+ ## Execution Summary
141
+
142
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
143
+
144
+ ```text
145
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
146
+ ```
147
+
148
+ Rules:
149
+
150
+ - Only show agents/skills that were actually invoked during the execution
151
+ - If no agents or skills were used, omit the summary entirely
152
+ - Use the exact format above — single line, separated by `·`
@@ -140,3 +140,17 @@ grep -rn "} = use.*Store()" src/ --include="*.tsx" 2>/dev/null && echo "CHECK: f
140
140
  - Bugs discovered during review → suggest @doctor
141
141
  - Legacy patterns (class components, Redux, PropTypes) → suggest @migrator
142
142
  - Missing test coverage → suggest @tester
143
+
144
+ ## Execution Summary
145
+
146
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
147
+
148
+ ```text
149
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
150
+ ```
151
+
152
+ Rules:
153
+
154
+ - Only show agents/skills that were actually invoked during the execution
155
+ - If no agents or skills were used, omit the summary entirely
156
+ - Use the exact format above — single line, separated by `·`
@@ -44,3 +44,17 @@ Priority: adapters (pure) > hooks (renderHook, mock service) > components (React
44
44
  ## Output
45
45
 
46
46
  Provide: files created, patterns applied, validation results, and suggested next steps.
47
+
48
+ ## Execution Summary
49
+
50
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
51
+
52
+ ```text
53
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
54
+ ```
55
+
56
+ Rules:
57
+
58
+ - Only show agents/skills that were actually invoked during the execution
59
+ - If no agents or skills were used, omit the summary entirely
60
+ - Use the exact format above — single line, separated by `·`
@@ -43,3 +43,17 @@ Investigate bugs by tracing through architecture layers. Find root causes, not w
43
43
  ## Output
44
44
 
45
45
  Provide: symptoms, root cause (file:line), fix applied, validation results, and prevention tips.
46
+
47
+ ## Execution Summary
48
+
49
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
50
+
51
+ ```text
52
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
53
+ ```
54
+
55
+ Rules:
56
+
57
+ - Only show agents/skills that were actually invoked during the execution
58
+ - If no agents or skills were used, omit the summary entirely
59
+ - Use the exact format above — single line, separated by `·`
@@ -53,3 +53,17 @@ Order: bottom-up (types -> services -> state -> components). Ask user approval b
53
53
  ## Output
54
54
 
55
55
  Provide: legacy patterns found, modern patterns applied, files modified, validation results, and remaining work.
56
+
57
+ ## Execution Summary
58
+
59
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
60
+
61
+ ```text
62
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
63
+ ```
64
+
65
+ Rules:
66
+
67
+ - Only show agents/skills that were actually invoked during the execution
68
+ - If no agents or skills were used, omit the summary entirely
69
+ - Use the exact format above — single line, separated by `·`
@@ -48,3 +48,17 @@ Include a scorecard (Architecture, Type Safety, Security, Maintainability — gr
48
48
  - Always include positive highlights — good code deserves recognition.
49
49
  - Reference file:line in findings.
50
50
  - Scorecard grades: A (excellent) B (good) C (adequate) D (needs work) F (critical).
51
+
52
+ ## Execution Summary
53
+
54
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
55
+
56
+ ```text
57
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
58
+ ```
59
+
60
+ Rules:
61
+
62
+ - Only show agents/skills that were actually invoked during the execution
63
+ - If no agents or skills were used, omit the summary entirely
64
+ - Use the exact format above — single line, separated by `·`
@@ -8,9 +8,30 @@ Development toolkit for SvelteKit projects with TypeScript. Includes AI agents,
8
8
 
9
9
  ## AI Team Configuration
10
10
 
11
- **Important: YOU MUST USE subagents when available for the task.**
12
11
  **Important: ALWAYS read docs/ARCHITECTURE.md before creating or modifying files.**
13
12
 
13
+ ### Auto-Dispatch Rules
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:
16
+
17
+ | User intent | Agent |
18
+ |-------------|-------|
19
+ | Create modules, components, services, stores, tests, or any new code | `@builder` |
20
+ | Review code, check architecture, analyze performance, explore modules | `@reviewer` |
21
+ | Investigate bugs, trace errors, debug issues | `@doctor` |
22
+ | Migrate legacy code, Svelte 4 to 5, SvelteKit 1 to 2, modernize modules | `@migrator` |
23
+ | Scaffold a new project from scratch | `@starter` |
24
+ | Payments, billing, invoicing, financial reporting | `@finance` |
25
+ | Cloud infra, IaC, serverless, containers | `@cloud` |
26
+ | Auth flows, security audit, RBAC, encryption | `@security` |
27
+ | Design systems, responsive layouts, accessibility, theming | `@designer` |
28
+ | Database modeling, migrations, caching, query optimization | `@data` |
29
+ | Docker, Kubernetes, CI/CD pipelines, monitoring | `@devops` |
30
+ | Test strategies, test suites, coverage, mocking | `@tester` |
31
+ | Explore unfamiliar codebase, onboarding, technical assessment | `@explorer` |
32
+
33
+ If a task spans multiple agents, invoke them in sequence (e.g., @builder then @reviewer).
34
+
14
35
  ### Stack
15
36
 
16
37
  - SvelteKit 2+ with Svelte 5 (runes)
@@ -54,6 +75,20 @@ Development toolkit for SvelteKit projects with TypeScript. Includes AI agents,
54
75
  | `/migration-migrate-module [path]` | Migrate entire module |
55
76
  | `/docs-onboard [module]` | Quick module overview for onboarding |
56
77
 
78
+ ### Execution Summary
79
+
80
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
81
+
82
+ ```text
83
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
84
+ ```
85
+
86
+ Rules:
87
+
88
+ - Only show agents/skills that were actually invoked during the execution
89
+ - If no agents or skills were used, omit the summary entirely
90
+ - Use the exact format above — single line, separated by `·`
91
+
57
92
  ### Key Patterns (details in docs/ARCHITECTURE.md)
58
93
 
59
94
  - **Services**: HTTP only, no try/catch, no transformation, use native `fetch`
@@ -100,3 +100,17 @@ After completing work in any mode, provide:
100
100
  - Tests for new code → suggest @tester
101
101
  - Architecture validation → suggest @reviewer
102
102
  - Security concerns in new code → suggest @security
103
+
104
+ ## Execution Summary
105
+
106
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
107
+
108
+ ```text
109
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
110
+ ```
111
+
112
+ Rules:
113
+
114
+ - Only show agents/skills that were actually invoked during the execution
115
+ - If no agents or skills were used, omit the summary entirely
116
+ - Use the exact format above — single line, separated by `·`
@@ -122,3 +122,17 @@ After investigation, provide:
122
122
  - Regression test for the fix → suggest @tester
123
123
  - Architecture violation caused the bug → suggest @reviewer
124
124
  - Security vulnerability discovered → suggest @security
125
+
126
+ ## Execution Summary
127
+
128
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
129
+
130
+ ```text
131
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
132
+ ```
133
+
134
+ Rules:
135
+
136
+ - Only show agents/skills that were actually invoked during the execution
137
+ - If no agents or skills were used, omit the summary entirely
138
+ - Use the exact format above — single line, separated by `·`
@@ -150,3 +150,17 @@ After completing migration, provide:
150
150
  - Post-migration architecture review → suggest @reviewer
151
151
  - Tests for migrated code → suggest @tester
152
152
  - Bugs discovered during migration → suggest @doctor
153
+
154
+ ## Execution Summary
155
+
156
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
157
+
158
+ ```text
159
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
160
+ ```
161
+
162
+ Rules:
163
+
164
+ - Only show agents/skills that were actually invoked during the execution
165
+ - If no agents or skills were used, omit the summary entirely
166
+ - Use the exact format above — single line, separated by `·`
@@ -129,3 +129,17 @@ grep -rn "let .* = \(null\|false\|true\|0\|''\|{}\|\[\]\)" src/lib/modules/ --in
129
129
  - Bugs discovered during review → suggest @doctor
130
130
  - Legacy Svelte 4 patterns (export let, $:, slots) → suggest @migrator
131
131
  - Missing test coverage → suggest @tester
132
+
133
+ ## Execution Summary
134
+
135
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
136
+
137
+ ```text
138
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
139
+ ```
140
+
141
+ Rules:
142
+
143
+ - Only show agents/skills that were actually invoked during the execution
144
+ - If no agents or skills were used, omit the summary entirely
145
+ - Use the exact format above — single line, separated by `·`
@@ -45,3 +45,17 @@ Priority: adapters (pure) > stores (state logic) > components (@testing-library/
45
45
  ## Output
46
46
 
47
47
  Provide: files created, patterns applied, validation results, and suggested next steps.
48
+
49
+ ## Execution Summary
50
+
51
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
52
+
53
+ ```text
54
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
55
+ ```
56
+
57
+ Rules:
58
+
59
+ - Only show agents/skills that were actually invoked during the execution
60
+ - If no agents or skills were used, omit the summary entirely
61
+ - Use the exact format above — single line, separated by `·`
@@ -46,3 +46,17 @@ Investigate bugs by tracing through architecture layers. Find root causes, not w
46
46
  ## Output
47
47
 
48
48
  Provide: symptoms, root cause (file:line), fix applied, validation results, and prevention tips.
49
+
50
+ ## Execution Summary
51
+
52
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
53
+
54
+ ```text
55
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
56
+ ```
57
+
58
+ Rules:
59
+
60
+ - Only show agents/skills that were actually invoked during the execution
61
+ - If no agents or skills were used, omit the summary entirely
62
+ - Use the exact format above — single line, separated by `·`
@@ -61,3 +61,17 @@ Order: bottom-up (types -> services -> state -> components). Ask user approval b
61
61
  ## Output
62
62
 
63
63
  Provide: legacy patterns found, modern patterns applied, files modified, validation results, and remaining work.
64
+
65
+ ## Execution Summary
66
+
67
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
68
+
69
+ ```text
70
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
71
+ ```
72
+
73
+ Rules:
74
+
75
+ - Only show agents/skills that were actually invoked during the execution
76
+ - If no agents or skills were used, omit the summary entirely
77
+ - Use the exact format above — single line, separated by `·`
@@ -49,3 +49,17 @@ Include a scorecard (Architecture, Type Safety, Security, Svelte 5 Adoption, Mai
49
49
  - Always include positive highlights — good code deserves recognition.
50
50
  - Reference file:line in findings.
51
51
  - Scorecard grades: A (excellent) B (good) C (adequate) D (needs work) F (critical).
52
+
53
+ ## Execution Summary
54
+
55
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
56
+
57
+ ```text
58
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
59
+ ```
60
+
61
+ Rules:
62
+
63
+ - Only show agents/skills that were actually invoked during the execution
64
+ - If no agents or skills were used, omit the summary entirely
65
+ - Use the exact format above — single line, separated by `·`
@@ -8,9 +8,30 @@ Development toolkit for Vue 3 projects with TypeScript. Includes AI agents, skil
8
8
 
9
9
  ## AI Team Configuration
10
10
 
11
- **Important: YOU MUST USE subagents when available for the task.**
12
11
  **Important: ALWAYS read docs/ARCHITECTURE.md before creating or modifying files.**
13
12
 
13
+ ### Auto-Dispatch Rules
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:
16
+
17
+ | User intent | Agent |
18
+ |-------------|-------|
19
+ | Create modules, components, services, composables, tests, or any new code | `@builder` |
20
+ | Review code, check architecture, analyze performance, explore modules | `@reviewer` |
21
+ | Investigate bugs, trace errors, debug issues | `@doctor` |
22
+ | Migrate legacy code, modernize modules, refactor to target architecture | `@migrator` |
23
+ | Scaffold a new project from scratch | `@starter` |
24
+ | Payments, billing, invoicing, financial reporting | `@finance` |
25
+ | Cloud infra, IaC, serverless, containers | `@cloud` |
26
+ | Auth flows, security audit, RBAC, encryption | `@security` |
27
+ | Design systems, responsive layouts, accessibility, theming | `@designer` |
28
+ | Database modeling, migrations, caching, query optimization | `@data` |
29
+ | Docker, Kubernetes, CI/CD pipelines, monitoring | `@devops` |
30
+ | Test strategies, test suites, coverage, mocking | `@tester` |
31
+ | Explore unfamiliar codebase, onboarding, technical assessment | `@explorer` |
32
+
33
+ If a task spans multiple agents, invoke them in sequence (e.g., @builder then @reviewer).
34
+
14
35
  ### Stack
15
36
 
16
37
  - Vue 3 + `<script setup lang="ts">`
@@ -54,6 +75,20 @@ Development toolkit for Vue 3 projects with TypeScript. Includes AI agents, skil
54
75
  | `/migration-migrate-module [path]` | Migrate entire module |
55
76
  | `/docs-onboard [module]` | Quick module overview for onboarding |
56
77
 
78
+ ### Execution Summary
79
+
80
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
81
+
82
+ ```text
83
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
84
+ ```
85
+
86
+ Rules:
87
+
88
+ - Only show agents/skills that were actually invoked during the execution
89
+ - If no agents or skills were used, omit the summary entirely
90
+ - Use the exact format above — single line, separated by `·`
91
+
57
92
  ### Key Patterns (details in docs/ARCHITECTURE.md)
58
93
 
59
94
  - **Services**: HTTP only, no try/catch, no transformation
@@ -93,3 +93,17 @@ After completing work in any mode, provide:
93
93
  - Tests for new code → suggest @tester
94
94
  - Architecture validation → suggest @reviewer
95
95
  - Security concerns in new code → suggest @security
96
+
97
+ ## Execution Summary
98
+
99
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
100
+
101
+ ```text
102
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
103
+ ```
104
+
105
+ Rules:
106
+
107
+ - Only show agents/skills that were actually invoked during the execution
108
+ - If no agents or skills were used, omit the summary entirely
109
+ - Use the exact format above — single line, separated by `·`
@@ -104,3 +104,17 @@ After investigation, provide:
104
104
  - Regression test for the fix → suggest @tester
105
105
  - Architecture violation caused the bug → suggest @reviewer
106
106
  - Security vulnerability discovered → suggest @security
107
+
108
+ ## Execution Summary
109
+
110
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
111
+
112
+ ```text
113
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
114
+ ```
115
+
116
+ Rules:
117
+
118
+ - Only show agents/skills that were actually invoked during the execution
119
+ - If no agents or skills were used, omit the summary entirely
120
+ - Use the exact format above — single line, separated by `·`
@@ -123,3 +123,17 @@ After completing migration, provide:
123
123
  - Post-migration architecture review → suggest @reviewer
124
124
  - Tests for migrated code → suggest @tester
125
125
  - Bugs discovered during migration → suggest @doctor
126
+
127
+ ## Execution Summary
128
+
129
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
130
+
131
+ ```text
132
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
133
+ ```
134
+
135
+ Rules:
136
+
137
+ - Only show agents/skills that were actually invoked during the execution
138
+ - If no agents or skills were used, omit the summary entirely
139
+ - Use the exact format above — single line, separated by `·`
@@ -116,3 +116,17 @@ grep -rn "v-html" src/ --include="*.vue" 2>/dev/null && echo "🔴 v-html"
116
116
  - Bugs discovered during review → suggest @doctor
117
117
  - Legacy patterns (Options API, mixins) → suggest @migrator
118
118
  - Missing test coverage → suggest @tester
119
+
120
+ ## Execution Summary
121
+
122
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
123
+
124
+ ```text
125
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
126
+ ```
127
+
128
+ Rules:
129
+
130
+ - Only show agents/skills that were actually invoked during the execution
131
+ - If no agents or skills were used, omit the summary entirely
132
+ - Use the exact format above — single line, separated by `·`
@@ -44,3 +44,17 @@ Priority: adapters (pure) > composables (mock service) > components (test-utils)
44
44
  ## Output
45
45
 
46
46
  Provide: files created, patterns applied, validation results, and suggested next steps.
47
+
48
+ ## Execution Summary
49
+
50
+ At the end of every task, you **MUST** include a brief summary of agent and skill usage:
51
+
52
+ ```text
53
+ ──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
54
+ ```
55
+
56
+ Rules:
57
+
58
+ - Only show agents/skills that were actually invoked during the execution
59
+ - If no agents or skills were used, omit the summary entirely
60
+ - Use the exact format above — single line, separated by `·`