kodelyth-ecc 1.5.2 → 1.5.4

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.
@@ -14,32 +14,52 @@ If multiple agents match, pick the **highest priority** below (priority decrease
14
14
 
15
15
  ---
16
16
 
17
+ ## How to Apply This Rule — Semantic Intent, Not Keyword Matching
18
+
19
+ **Read the intent behind the words, not just the words.**
20
+
21
+ - If someone says "this thing is broken", they mean `debug-detective` even though they didn't say "bug"
22
+ - If someone says "help me make a todo app", they mean `/project-launch` even though they didn't say "project-launch"
23
+ - If someone pastes a block of code with no context, treat it as a review request → `code-reviewer`
24
+ - If someone pastes a stack trace or error log with no context, treat it as a debug request → `debug-detective`
25
+ - If the user's message expresses **emotion** (frustration, excitement, confusion, worry), that is a routing signal
26
+
27
+ **The signal tables are examples, not exhaustive lists.** Use them to understand the category of intent, then reason freely about whether the current message fits.
28
+
29
+ **When in doubt between two agents:** name both options in one line and ask "Which fits your situation better?" — do not silently pick one.
30
+
31
+ ---
32
+
17
33
  ## Priority 1 — Crisis & Emotional Signals
18
34
 
19
35
  ### `kodelyth-advisor` — User is lost, stuck, overwhelmed
20
36
 
21
37
  Trigger if the user expresses **uncertainty about direction**, not a specific technical question.
22
38
 
23
- | Signal | Examples |
39
+ | Signal | Real human phrasing |
24
40
  |---|---|
25
- | Stuck / lost | "I'm stuck", "I'm lost", "I have no idea", "I don't know where to start" |
26
- | Overwhelmed | "this is too much", "I'm overwhelmed", "where do I even begin" |
27
- | Asking for direction | "what should I do", "help me figure out", "should I X or Y", "I'm not sure" |
28
- | Confused about the codebase | "I don't understand this code", "how does this even work" |
29
- | First-time on a problem | "first time doing X", "never done this before", "is there a right way" |
41
+ | Stuck / lost | "I'm stuck", "I'm lost", "I have no idea", "I don't know where to start", "no clue what to do" |
42
+ | Overwhelmed | "this is too much", "I'm overwhelmed", "where do I even begin", "there's so much to think about" |
43
+ | Asking for direction | "what should I do", "help me figure out", "should I X or Y", "I'm not sure which way to go" |
44
+ | Confused about the codebase | "I don't understand this code", "how does this even work", "what is all this doing" |
45
+ | First-time on a problem | "first time doing X", "never done this before", "is there a right way", "I'm new to this" |
46
+ | Seeking reassurance | "am I doing this right?", "is this approach okay?", "what would you do here?" |
47
+ | General help request | "can someone help me with this?", "any advice?", "I need guidance" |
30
48
 
31
- **Counter-signals (do NOT route here):** specific technical question, error message, or named file/function.
49
+ **Counter-signals (do NOT route here):** specific error message, stack trace, named file/function, or a direct technical question with a clear answer.
32
50
 
33
51
  ### `pair-programmer` — User is about to write code
34
52
 
35
53
  Trigger if the user describes **what they're about to build** before they start.
36
54
 
37
- | Signal | Examples |
55
+ | Signal | Real human phrasing |
38
56
  |---|---|
39
- | Pre-implementation | "I want to build", "I'm going to add", "let's create", "I need to make a" |
40
- | Approach question | "how should I implement", "what's the best way to", "should I use X pattern" |
41
- | Architecture sketch | "I'm thinking of doing X then Y", "my plan is to" |
42
- | Pre-flight check | "before I start", "thinking about", "planning to" |
57
+ | Pre-implementation | "I want to build", "I'm going to add", "let's create", "I need to make a", "let me add", "I'm starting to work on" |
58
+ | Approach question | "how should I implement", "what's the best way to", "should I use X pattern", "which approach is better" |
59
+ | Architecture sketch | "I'm thinking of doing X then Y", "my plan is to", "I was thinking maybe" |
60
+ | Pre-flight check | "before I start", "thinking about", "planning to", "about to write" |
61
+ | Asking how | "how do I build", "how would you do", "what's the pattern for", "is there a standard way" |
62
+ | Single feature | User describes adding ONE feature or function to an existing codebase |
43
63
 
44
64
  ---
45
65
 
@@ -47,31 +67,35 @@ Trigger if the user describes **what they're about to build** before they start.
47
67
 
48
68
  ### `debug-detective` — Bug, error, unexpected behavior
49
69
 
50
- | Signal | Examples |
70
+ | Signal | Real human phrasing |
51
71
  |---|---|
52
- | Direct bug report | "bug", "broken", "crashed", "exception", "stack trace", "traceback" |
53
- | Frustration | "I've been trying for hours", "can't figure out why", "this won't work" |
54
- | Unexpected behavior | "why is this X", "shouldn't this Y", "not what I expected" |
55
- | Specific error keywords | `TypeError`, `NullPointerException`, `panic`, `segfault`, `undefined`, `cannot read property` |
56
- | Test failures | "test fails", "expected X got Y", "assertion failed" |
72
+ | Direct bug report | "bug", "broken", "crashed", "exception", "stack trace", "traceback", "error" |
73
+ | Frustration | "I've been trying for hours", "can't figure out why", "this won't work", "driving me crazy", "nothing works", "I'm losing my mind" |
74
+ | Unexpected behavior | "why is this X", "shouldn't this Y", "not what I expected", "acting weird", "behaving strangely" |
75
+ | Something is wrong | "something's wrong", "it's broken again", "stopped working", "used to work and now doesn't" |
76
+ | Specific error keywords | `TypeError`, `NullPointerException`, `panic`, `segfault`, `undefined`, `cannot read property`, `500 error`, `404` |
77
+ | Test failures | "test fails", "expected X got Y", "assertion failed", "tests are red", "CI is failing" |
78
+ | Implicit (code paste) | User pastes a stack trace, error log, or failing test output with no other context |
57
79
 
58
80
  **Always:** ask for the exact error, the minimal repro, and what was changed last.
59
81
 
60
82
  ### `silent-failure-hunter` — Something is wrong but no error
61
83
 
62
- | Signal | Examples |
84
+ | Signal | Real human phrasing |
63
85
  |---|---|
64
- | Mismatch w/o error | "no error but wrong result", "data is wrong", "looks fine but isn't working" |
65
- | Silent state corruption | "X happened but Y didn't fire", "the value is off", "race condition" |
66
- | Swallowed exceptions | "try/catch", "fallback", "default value", "it just returns null" |
86
+ | Mismatch without error | "no error but wrong result", "data is wrong", "looks fine but isn't working", "getting the wrong output" |
87
+ | Silent state corruption | "X happened but Y didn't fire", "the value is off", "race condition", "something is off" |
88
+ | Swallowed exceptions | "try/catch", "fallback", "default value", "it just returns null", "it silently fails" |
89
+ | Puzzling behavior | "it's doing something unexpected", "the numbers don't add up", "data seems off", "I'm confused by the output" |
67
90
 
68
91
  ### `build-error-resolver` — Build / compile / type errors
69
92
 
70
- | Signal | Examples |
93
+ | Signal | Real human phrasing |
71
94
  |---|---|
72
- | Build failed | "build failed", "compile error", "won't compile", "cargo build", "npm run build" |
73
- | Type errors | "type error", "TS2322", "type mismatch", "cannot assign", "incompatible types" |
74
- | Module/import | "module not found", "cannot resolve", "import error" |
95
+ | Build failed | "build failed", "compile error", "won't compile", "cargo build", "npm run build", "build is red", "failing to build" |
96
+ | Type errors | "type error", "TS2322", "type mismatch", "cannot assign", "incompatible types", "TypeScript is yelling at me" |
97
+ | Module/import | "module not found", "cannot resolve", "import error", "can't find the module" |
98
+ | Deploy errors | "Vercel build failed", "Railway is erroring", "can't deploy", "deployment is broken" |
75
99
 
76
100
  **Language-specific routing:** Go → `go-build-resolver`, Rust → `rust-build-resolver`, Java → `java-build-resolver`, Kotlin → `kotlin-build-resolver`, C++ → `cpp-build-resolver`, Dart/Flutter → `dart-build-resolver`, PyTorch → `pytorch-build-resolver`.
77
101
 
@@ -81,11 +105,16 @@ Trigger if the user describes **what they're about to build** before they start.
81
105
 
82
106
  ### `code-reviewer` — User wants feedback on existing code
83
107
 
84
- | Signal | Examples |
108
+ | Signal | Real human phrasing |
85
109
  |---|---|
86
- | Direct review request | "review this", "code review", "LGTM?", "thoughts?", "feedback" |
87
- | Quality check | "is this good", "is this clean", "anything wrong" |
88
- | Refactor opportunity | "is there a better way", "smell test", "looks ugly" |
110
+ | Direct review request | "review this", "code review", "LGTM?", "thoughts?", "feedback", "take a look at this", "eyes on this" |
111
+ | Quality check | "is this good", "is this clean", "anything wrong", "what do you think of this code", "can you check this" |
112
+ | Refactor opportunity | "is there a better way", "smell test", "looks ugly", "feels messy", "is this readable" |
113
+ | Implicit (code paste) | User pastes code with minimal text — treat as a review request |
114
+ | Sanity check | "does this make sense?", "is this the right approach?", "would you write it differently?" |
115
+ | Before merge | "about to merge this", "is this PR-ready?", "pre-merge check" |
116
+
117
+ **Key rule:** Single-file or single-function review → language reviewer. Full project or multiple files → `/team-review`.
89
118
 
90
119
  **Language-specific routing (if file extension or language is mentioned):**
91
120
 
@@ -105,30 +134,32 @@ Trigger if the user describes **what they're about to build** before they start.
105
134
 
106
135
  ### `security-reviewer` — Security concern
107
136
 
108
- | Signal | Examples |
137
+ | Signal | Real human phrasing |
109
138
  |---|---|
110
- | Direct security question | "is this secure", "vulnerability", "CVE", "audit" |
111
- | Common attacks | "SQL injection", "XSS", "CSRF", "SSRF", "auth bypass", "RCE", "path traversal" |
112
- | Auth & secrets | "auth flow", "JWT", "session", "API key in code", "leaked secret", "exposed credential" |
113
- | Crypto | "encryption", "hashing passwords", "salt", "AES", "RSA" |
114
- | Input handling | "user input", "sanitize", "escape", "validation" |
139
+ | Direct security question | "is this secure", "vulnerability", "CVE", "audit", "any security issues", "is this safe" |
140
+ | Common attacks | "SQL injection", "XSS", "CSRF", "SSRF", "auth bypass", "RCE", "path traversal", "injection" |
141
+ | Auth & secrets | "auth flow", "JWT", "session", "API key in code", "leaked secret", "exposed credential", "token in code" |
142
+ | Crypto | "encryption", "hashing passwords", "salt", "AES", "RSA", "how to store passwords" |
143
+ | Input handling | "user input", "sanitize", "escape", "validation", "user-submitted data" |
144
+ | Worry signal | "I'm worried this might be insecure", "is there a risk here", "could someone exploit this" |
115
145
 
116
146
  ### `api-guardian` — API contract changes
117
147
 
118
- | Signal | Examples |
148
+ | Signal | Real human phrasing |
119
149
  |---|---|
120
- | API change | "breaking change", "deprecate", "API version", "backwards compat" |
121
- | Contract concern | "consumer impact", "client breakage", "field removal", "rename endpoint" |
122
- | Spec work | "OpenAPI", "GraphQL schema", "REST design", "idempotent" |
150
+ | API change | "breaking change", "deprecate", "API version", "backwards compat", "changing the endpoint" |
151
+ | Contract concern | "consumer impact", "client breakage", "field removal", "rename endpoint", "will this break clients" |
152
+ | Spec work | "OpenAPI", "GraphQL schema", "REST design", "idempotent", "API design review" |
123
153
 
124
154
  ### `ux-reviewer` — Frontend / UX / Accessibility
125
155
 
126
- | Signal | Examples |
156
+ | Signal | Real human phrasing |
127
157
  |---|---|
128
- | UI feedback | "feels off", "looks weird", "UX", "user experience", "interaction" |
129
- | Accessibility | "a11y", "WCAG", "screen reader", "ARIA", "keyboard nav", "color contrast" |
130
- | Form / interaction | "form validation", "loading state", "error state", "empty state" |
131
- | Mobile / responsive | "mobile", "responsive", "viewport", "touch target" |
158
+ | UI feedback | "feels off", "looks weird", "UX", "user experience", "interaction", "the UI is confusing" |
159
+ | Accessibility | "a11y", "WCAG", "screen reader", "ARIA", "keyboard nav", "color contrast", "accessible" |
160
+ | Form / interaction | "form validation", "loading state", "error state", "empty state", "the form feels clunky" |
161
+ | Mobile / responsive | "mobile", "responsive", "viewport", "touch target", "doesn't look right on phone" |
162
+ | Usability | "users are confused by", "hard to use", "the flow is broken", "nobody can find the button" |
132
163
 
133
164
  ---
134
165
 
@@ -138,36 +169,37 @@ Trigger if the user describes **what they're about to build** before they start.
138
169
 
139
170
  Route here FIRST for any active production incident. This takes priority over `debug-detective` when the incident is live in production.
140
171
 
141
- | Signal | Examples |
172
+ | Signal | Real human phrasing |
142
173
  |---|---|
143
- | Production down | "production is down", "outage", "site is down", "service unavailable" |
144
- | P0 / P1 | "P0", "P1", "incident", "on-call", "pagerduty fired", "alert triggered" |
145
- | Blast radius | "10% of users affected", "all requests failing", "error rate spiked" |
146
- | Active degradation | "production is throwing 500s", "latency is through the roof", "database is down" |
147
- | Postmortem | "postmortem", "incident review", "blameless review", "what went wrong" |
174
+ | Production down | "production is down", "outage", "site is down", "service unavailable", "prod is broken" |
175
+ | P0 / P1 | "P0", "P1", "incident", "on-call", "pagerduty fired", "alert triggered", "woke up to alerts" |
176
+ | Blast radius | "10% of users affected", "all requests failing", "error rate spiked", "users can't login" |
177
+ | Active degradation | "production is throwing 500s", "latency is through the roof", "database is down", "everything is slow in prod" |
178
+ | Postmortem | "postmortem", "incident review", "blameless review", "what went wrong", "write up the incident" |
148
179
 
149
180
  **Counter-signals:** development bug (not production), staging environment, local testing — route to `debug-detective` instead.
150
181
 
151
182
  ### `load-tester` — Load, stress, and capacity testing
152
183
 
153
- | Signal | Examples |
184
+ | Signal | Real human phrasing |
154
185
  |---|---|
155
- | Load test request | "load test", "stress test", "performance test", "capacity test" |
186
+ | Load test request | "load test", "stress test", "performance test", "capacity test", "can it handle X users" |
156
187
  | Tools | "k6", "Locust", "Artillery", "wrk", "Gatling", "hey", "ab test" |
157
- | Capacity planning | "how many users can we handle", "what's our breaking point", "max RPS" |
158
- | Pre-launch validation | "will this hold under load", "ready for launch traffic", "scale test" |
159
- | Soak test | "soak test", "memory leak under load", "sustained load test" |
188
+ | Capacity planning | "how many users can we handle", "what's our breaking point", "max RPS", "will it scale" |
189
+ | Pre-launch validation | "will this hold under load", "ready for launch traffic", "scale test", "launch is tomorrow" |
190
+ | Soak test | "soak test", "memory leak under load", "sustained load test", "long-running load" |
160
191
 
161
192
  **Counter-signal:** "make this code faster" → `performance-optimizer`. Load-tester handles test design, not code optimization.
162
193
 
163
194
  ### `performance-optimizer` — Slowness / bottleneck in code
164
195
 
165
- | Signal | Examples |
196
+ | Signal | Real human phrasing |
166
197
  |---|---|
167
- | Slow | "slow", "sluggish", "laggy", "takes forever", "timing out" |
168
- | Resource | "high CPU", "memory leak", "OOM", "out of memory", "cpu pinned" |
169
- | Frontend perf | "FCP", "LCP", "INP", "bundle size", "render time", "jank" |
170
- | Backend perf | "N+1", "slow query", "throughput", "latency", "p99" |
198
+ | Slow | "slow", "sluggish", "laggy", "takes forever", "timing out", "too slow", "feels sluggish" |
199
+ | Resource | "high CPU", "memory leak", "OOM", "out of memory", "cpu pinned", "memory keeps growing" |
200
+ | Frontend perf | "FCP", "LCP", "INP", "bundle size", "render time", "jank", "the page loads slowly" |
201
+ | Backend perf | "N+1", "slow query", "throughput", "latency", "p99", "the API is slow" |
202
+ | Optimization request | "make this faster", "optimize this", "reduce the load time", "improve performance" |
171
203
 
172
204
  ---
173
205
 
@@ -175,29 +207,36 @@ Route here FIRST for any active production incident. This takes priority over `d
175
207
 
176
208
  ### `planner` — Feature planning
177
209
 
178
- | Signal | Examples |
210
+ | Signal | Real human phrasing |
179
211
  |---|---|
180
- | Plan a feature | "plan this", "roadmap", "break down", "sprint plan", "milestones" |
181
- | Decompose | "where do I start with X feature", "tasks for", "work items" |
212
+ | Plan a feature | "plan this", "roadmap", "break down", "sprint plan", "milestones", "break this into tasks" |
213
+ | Decompose | "where do I start with X feature", "tasks for", "work items", "list the steps for" |
214
+ | Scope definition | "what do we need to build for X", "what's involved in adding X" |
182
215
 
183
216
  ### `architect` — System design
184
217
 
185
- | Signal | Examples |
218
+ | Signal | Real human phrasing |
186
219
  |---|---|
187
- | System-level | "architecture", "system design", "how should the services interact" |
188
- | Choosing tech | "should I use Postgres or Mongo", "monorepo vs polyrepo", "REST vs GraphQL" |
189
- | Scaling | "horizontal scaling", "sharding", "queue", "event-driven" |
220
+ | System-level | "architecture", "system design", "how should the services interact", "what's the overall design" |
221
+ | Choosing tech | "should I use Postgres or Mongo", "monorepo vs polyrepo", "REST vs GraphQL", "which database" |
222
+ | Scaling | "horizontal scaling", "sharding", "queue", "event-driven", "how do I scale this" |
223
+ | Design decision | "what's the right architecture for X", "how should I structure this", "where should this live" |
190
224
 
191
225
  ### `code-architect` — Single-feature blueprint
192
226
 
193
227
  Trigger when the user wants a **detailed implementation blueprint for one specific feature**, not the whole system.
194
228
 
229
+ | Signal | Real human phrasing |
230
+ |---|---|
231
+ | Feature blueprint | "how do I implement X", "give me a blueprint for X", "design the X feature", "how should X work technically" |
232
+
195
233
  ### `migration-guide` — Framework / language version upgrade
196
234
 
197
- | Signal | Examples |
235
+ | Signal | Real human phrasing |
198
236
  |---|---|
199
237
  | Upgrade | "upgrade from X to Y", "migrate to", "Next.js 12 → 15", "Python 2 → 3", "React 18 → 19" |
200
- | Major version | "major version bump", "breaking deps", "node 18 → 22", "TS 4 → 5" |
238
+ | Major version | "major version bump", "breaking deps", "node 18 → 22", "TS 4 → 5", "moving to the new version" |
239
+ | Deprecation | "this is deprecated", "the old way is removed", "I need to update away from X" |
201
240
 
202
241
  ---
203
242
 
@@ -205,24 +244,25 @@ Trigger when the user wants a **detailed implementation blueprint for one specif
205
244
 
206
245
  ### `tdd-guide` — Tests, coverage, TDD
207
246
 
208
- | Signal | Examples |
247
+ | Signal | Real human phrasing |
209
248
  |---|---|
210
- | Write tests | "write a test", "unit test", "integration test", "test for this" |
211
- | TDD | "TDD", "test driven", "red green refactor" |
212
- | Coverage | "coverage", "what's not tested", "coverage gap" |
249
+ | Write tests | "write a test", "unit test", "integration test", "test for this", "I need tests for" |
250
+ | TDD | "TDD", "test driven", "red green refactor", "write the test first" |
251
+ | Coverage | "coverage", "what's not tested", "coverage gap", "my coverage is low", "what am I missing in tests" |
252
+ | No tests yet | "I haven't written any tests", "there are no tests", "need to add tests" |
213
253
 
214
254
  ### `e2e-runner` — End-to-end Playwright tests
215
255
 
216
- | Signal | Examples |
256
+ | Signal | Real human phrasing |
217
257
  |---|---|
218
- | E2E | "Playwright", "end-to-end", "E2E", "browser test", "user flow test" |
219
- | Critical path | "checkout flow", "signup flow", "happy path test" |
258
+ | E2E | "Playwright", "end-to-end", "E2E", "browser test", "user flow test", "test the whole flow" |
259
+ | Critical path | "checkout flow", "signup flow", "happy path test", "test the full user journey" |
220
260
 
221
261
  ### `pr-test-analyzer` — Test coverage on PRs
222
262
 
223
- | Signal | Examples |
263
+ | Signal | Real human phrasing |
224
264
  |---|---|
225
- | PR | "review my PR tests", "did I cover everything", "PR test gaps" |
265
+ | PR | "review my PR tests", "did I cover everything", "PR test gaps", "is my PR well tested" |
226
266
 
227
267
  ---
228
268
 
@@ -230,24 +270,25 @@ Trigger when the user wants a **detailed implementation blueprint for one specif
230
270
 
231
271
  ### `refactor-cleaner` — Dead code, cleanup
232
272
 
233
- | Signal | Examples |
273
+ | Signal | Real human phrasing |
234
274
  |---|---|
235
- | Cleanup | "clean up", "dead code", "unused", "remove old", "tech debt" |
236
- | Duplicate | "duplicate", "DRY", "extract function" |
275
+ | Cleanup | "clean up", "dead code", "unused", "remove old", "tech debt", "time to clean this up" |
276
+ | Duplicate | "duplicate", "DRY", "extract function", "this is copy-pasted everywhere" |
277
+ | Cruft | "old stuff hanging around", "deprecated code we never removed", "vestigial code" |
237
278
 
238
279
  ### `code-simplifier` — Reduce complexity
239
280
 
240
- | Signal | Examples |
281
+ | Signal | Real human phrasing |
241
282
  |---|---|
242
- | Simplify | "simpler", "too complex", "hard to read", "convoluted" |
243
- | Readability | "easier to follow", "more readable" |
283
+ | Simplify | "simpler", "too complex", "hard to read", "convoluted", "this is too complicated" |
284
+ | Readability | "easier to follow", "more readable", "nobody can understand this", "even I can't read it" |
244
285
 
245
286
  ### `type-design-analyzer` — Type system improvements
246
287
 
247
- | Signal | Examples |
288
+ | Signal | Real human phrasing |
248
289
  |---|---|
249
290
  | Type design | "better types", "stricter types", "type safety", "discriminated union", "generics" |
250
- | `any` cleanup | "remove any", "stricter typing", "narrow type" |
291
+ | `any` cleanup | "remove any", "stricter typing", "narrow type", "too many anys", "weaken the types" |
251
292
 
252
293
  ---
253
294
 
@@ -255,23 +296,25 @@ Trigger when the user wants a **detailed implementation blueprint for one specif
255
296
 
256
297
  ### `doc-updater` — Update docs/README
257
298
 
258
- | Signal | Examples |
299
+ | Signal | Real human phrasing |
259
300
  |---|---|
260
- | Docs | "update README", "document this", "add docs", "JSDoc", "docstring" |
261
- | Onboarding | "explain how this works", "doc for new devs" |
301
+ | Docs | "update README", "document this", "add docs", "JSDoc", "docstring", "write the docs for" |
302
+ | Onboarding | "explain how this works", "doc for new devs", "I need to document this for my team" |
303
+ | Missing docs | "nobody knows how this works", "there are no docs", "write documentation" |
262
304
 
263
305
  ### `docs-lookup` — Library / framework API question
264
306
 
265
- | Signal | Examples |
307
+ | Signal | Real human phrasing |
266
308
  |---|---|
267
- | Library API | "how do I use X library", "what's the signature", "API for X" |
268
- | Framework feature | "Next.js App Router", "React Suspense", "Django ORM", "Rails 7" |
309
+ | Library API | "how do I use X library", "what's the signature", "API for X", "how does X work" |
310
+ | Framework feature | "Next.js App Router", "React Suspense", "Django ORM", "Rails 7", "how does X handle Y" |
311
+ | Usage question | "what's the syntax for", "what parameters does X take", "how do I call" |
269
312
 
270
313
  ### `comment-analyzer` — Comment quality
271
314
 
272
- | Signal | Examples |
315
+ | Signal | Real human phrasing |
273
316
  |---|---|
274
- | Comments | "are my comments good", "comment hygiene", "explain why not what" |
317
+ | Comments | "are my comments good", "comment hygiene", "explain why not what", "are these comments useful" |
275
318
 
276
319
  ---
277
320
 
@@ -281,17 +324,22 @@ Trigger when the user wants a **detailed implementation blueprint for one specif
281
324
 
282
325
  Trigger for non-code workflow tasks: drafting emails, scheduling, status updates, multi-channel coordination.
283
326
 
327
+ | Signal | Real human phrasing |
328
+ |---|---|
329
+ | Communication | "draft an email", "write a message", "reply to this", "how should I say this", "slack message" |
330
+ | Status | "status update", "what do I tell the team", "write the incident update" |
331
+
284
332
  ### `seo-specialist` — SEO / metadata / search
285
333
 
286
- | Signal | Examples |
334
+ | Signal | Real human phrasing |
287
335
  |---|---|
288
- | SEO | "SEO", "meta tags", "schema.org", "structured data", "Core Web Vitals", "sitemap" |
336
+ | SEO | "SEO", "meta tags", "schema.org", "structured data", "Core Web Vitals", "sitemap", "my page doesn't rank", "Google isn't indexing" |
289
337
 
290
338
  ### `opensource-forker` + `opensource-sanitizer` + `opensource-packager` — Open-sourcing a project
291
339
 
292
- | Signal | Examples |
340
+ | Signal | Real human phrasing |
293
341
  |---|---|
294
- | OSS prep | "open source this", "make this public", "publish to GitHub", "strip secrets", "remove credentials" |
342
+ | OSS prep | "open source this", "make this public", "publish to GitHub", "strip secrets", "remove credentials", "I want to release this as open source" |
295
343
 
296
344
  Use the chain: `forker` → `sanitizer` → `packager`.
297
345
 
@@ -313,66 +361,99 @@ Use the chain: `forker` → `sanitizer` → `packager`.
313
361
  | `load-tester` (bottleneck found) | `performance-optimizer` to fix the code |
314
362
  | `incident-commander` (incident resolved) | `debug-detective` for deeper root cause, then postmortem |
315
363
 
364
+ ---
365
+
316
366
  ### `image-architect` — Image and visual generation
317
367
 
318
- Trigger if the user wants any visual asset generated:
368
+ Trigger on ANY request for a visual, image, picture, graphic, or design asset. Cast wide — users rarely say "generate"; they say "I need" or "add" or "make it look nice".
319
369
 
320
- | Signal | Examples |
370
+ | Signal | Real human phrasing |
321
371
  |---|---|
322
- | Hero / banner | "generate a hero image", "I need a banner", "create a header image" |
323
- | Social / OG | "OG image", "social preview", "GitHub card", "Twitter card", "Facebook post image" |
324
- | Thumbnails | "product thumbnail", "feature image", "cover image" |
325
- | Landing page | "visuals for landing page", "marketing images", "I need graphics" |
326
- | General | "generate an image", "create artwork", "I need a picture", "make a visual" |
372
+ | Explicit request | "generate an image", "create a picture", "make a visual", "I need graphics", "make an illustration" |
373
+ | Hero / banner | "hero image", "header image", "banner", "background image for my site", "the top image" |
374
+ | Social assets | "OG image", "social preview", "GitHub card", "Twitter card", "Facebook image", "LinkedIn banner", "thumbnail for my post", "share image" |
375
+ | Landing page | "images for my landing page", "visuals for the site", "add some images to my app", "make the landing page look good" |
376
+ | Marketing | "marketing images", "product screenshots", "cover image", "feature image", "promotional graphic" |
377
+ | Design ask | "design a logo", "create artwork", "make it look good", "I need something for the homepage", "make it more visual", "give it some flair" |
378
+ | Implicit visual need | "my site looks plain", "the site looks boring", "it looks empty", "it needs something visual", "it's too plain", "the page looks bare" |
379
+ | App branding | "app icon", "brand image", "I need a visual identity", "something that looks professional" |
327
380
 
328
381
  Platform routing inside `image-architect`:
329
382
  - Google Antigravity → Gemini Imagen 3 (native, no key needed)
330
383
  - Codex CLI → DALL-E 3 (native, no key needed)
331
384
  - Claude Code → fal.ai MCP → SVG fallback
332
385
  - Windsurf / Cursor → native model image gen → fal.ai → SVG fallback
386
+ - Any platform → SVG (always available, always free)
387
+
388
+ ---
333
389
 
334
390
  ### `/project-launch` — New project parallel founding team
335
391
 
336
- Trigger when starting something new and needing full team analysis at once:
392
+ Trigger when someone is starting something new ANY new build, app, service, or feature of meaningful scope. Do not wait for the user to say "launch" or "project-launch". If they are clearly at the start of building something non-trivial, this is always the right move.
337
393
 
338
- | Signal | Examples |
394
+ | Signal | Real human phrasing |
339
395
  |---|---|
340
- | New project | "I'm starting a new project", "planning a new app", "building from scratch" |
341
- | Pre-code analysis | "analyse this before I start coding", "what should I think about first" |
342
- | Multiple concerns at once | Architecture + security + UX + tests all in one ask |
396
+ | New build | "help me build X", "I want to build X", "I'm building X", "I want to create X", "let's make X" |
397
+ | Greenfield | "starting from scratch", "new project", "new app", "new service", "new API", "I'm starting a new" |
398
+ | Idea phase | "I have this idea", "I want to create", "I'm thinking of building", "I want to make a" |
399
+ | Planning start | "where do I start", "how should I approach building X", "what do I need to build X" |
400
+ | Product description | User describes a product they haven't started yet — what it does, who uses it |
401
+ | New SaaS / startup | "I'm building a SaaS", "side project", "startup idea", "I want to launch" |
402
+ | Multi-component new thing | "an app that does X, Y, and Z" — multiple features described together |
403
+
404
+ **Key rule:** If the user describes a non-trivial new thing to build (more than a single function), default to `/project-launch`. Five expert agents analyzing simultaneously catches mistakes before they cost hours of rework. Always better to over-plan than under-plan.
343
405
 
344
- Route to `/project-launch` fires `architect` + `pair-programmer` + `security-reviewer` + `tdd-guide` + `ux-reviewer` simultaneously.
406
+ **Counter-signals (do NOT route here):** User is adding one feature to an existing codebase `pair-programmer`. User is describing an existing project to fix a bug → `debug-detective`.
407
+
408
+ Route to `/project-launch` — fires `architect` + `pair-programmer` + `security-reviewer` + `tdd-guide` + `ux-reviewer` simultaneously. Parallel analysis: 10 min instead of 45 min.
409
+
410
+ ---
345
411
 
346
412
  ### `/team-review` — Existing project parallel full audit
347
413
 
348
- Trigger when the user wants comprehensive review of existing code:
414
+ Trigger when someone wants their existing code reviewed and the scope is broad (more than one file), or when they're asking "is this ready?". Also trigger before any deployment, release, or launch of an existing project.
349
415
 
350
- | Signal | Examples |
416
+ | Signal | Real human phrasing |
351
417
  |---|---|
352
- | Full audit | "full audit of my codebase", "review everything", "complete code review" |
353
- | Pre-release | "before I ship", "is this ready to release", "pre-launch review" |
354
- | Parallel review | "check security AND performance AND code quality at once" |
418
+ | Review request (broad) | "review my code", "review my project", "check my codebase", "look at my code", "audit my code" |
419
+ | Full audit | "audit everything", "full review", "review everything", "check the whole project", "go through my code" |
420
+ | Pre-release | "before I ship", "ready to release?", "can I deploy this?", "pre-launch check", "about to go live" |
421
+ | Quality check | "is my code good?", "what's wrong with my project?", "code quality check", "is this production-ready?" |
422
+ | Multiple concerns | User mentions security AND performance AND quality — parallel review is the right answer |
423
+ | Readiness check | "is this ready?", "should I launch?", "any issues before I ship?", "what am I missing?" |
355
424
 
356
- Route to `/team-review` fires `code-reviewer` + `security-reviewer` + `performance-optimizer` + `api-guardian` simultaneously.
425
+ **Key rule:** Single-file review language-specific reviewer (e.g., `typescript-reviewer`). Full project or multi-file `/team-review`. When in doubt about scope, ask.
426
+
427
+ Route to `/team-review` — fires `code-reviewer` + `security-reviewer` + `performance-optimizer` + `api-guardian` simultaneously. Parallel review: 15 min instead of 60 min.
428
+
429
+ ---
357
430
 
358
431
  ### `/lessons` — Project lessons management
359
432
 
360
- Trigger when the user wants to work with project-level learned rules:
433
+ Trigger when the user references project rules, preferences, corrections, or past instructions. Also trigger proactively at session start if `tasks/lessons.md` exists in the project root.
361
434
 
362
- | Signal | Examples |
435
+ | Signal | Real human phrasing |
363
436
  |---|---|
364
- | Load lessons | "load my lessons", "what rules do we have for this project", "apply lessons" |
365
- | Save corrections | "save what I corrected", "encode today's corrections", "write to lessons" |
366
- | Add a rule | "remember we always use pnpm", "add a rule: never use var" |
437
+ | Load rules | "load my lessons", "what rules do we have", "what do you know about this project", "show me the rules" |
438
+ | Remember something | "remember that we use pnpm", "remember I always want X", "don't forget Y", "note that we do X" |
439
+ | Preference | "I prefer X", "we always do X here", "never do Y in this project", "always use X not Y" |
440
+ | Save corrections | "save what I told you today", "write that down", "remember this for next time", "add this to the rules" |
441
+ | Habit encode | "from now on always X", "make it a rule that", "I want you to always" |
442
+ | Session start trigger | If `tasks/lessons.md` exists in the project root — proactively offer: "Found project lessons. Load them now?" |
443
+
444
+ ---
367
445
 
368
446
  ### Parallel suggestions
369
447
 
370
- If the user has a multi-faceted concern, name the parallel agents:
448
+ When the user's request spans multiple concerns, name the parallel agents and explain the time saving rather than picking just one:
449
+
371
450
  - "I'm building a payment endpoint" → `pair-programmer` + `security-reviewer` + `api-guardian`
372
451
  - "Refactoring the auth module" → `refactor-cleaner` + `security-reviewer` + `tdd-guide`
373
- - "Starting a new project" → `/project-launch`
374
- - "Is this ready to ship?" → `/team-review`
375
- - "I need visuals for my landing page" → `image-architect`
452
+ - "help me build a SaaS app" → `/project-launch` (5 agents, 10 min vs 45 min)
453
+ - "review my project before I deploy" → `/team-review` (4 agents, 15 min vs 60 min)
454
+ - "my site needs visuals" → `image-architect`
455
+ - "new feature that touches the API" → `pair-programmer` + `api-guardian` + `security-reviewer`
456
+ - "big refactor of core module" → `architect` + `refactor-cleaner` + `tdd-guide`
376
457
 
377
458
  ---
378
459
 
@@ -382,9 +463,10 @@ If the user has a multi-faceted concern, name the parallel agents:
382
463
 
383
464
  - The user **already explicitly invoked** an agent (`use <agent>`, `@agent`, `invoke <agent>`) — that takes precedence
384
465
  - The message is **a one-liner factual question** ("what does `git stash pop` do?") — answer directly
385
- - The message is **purely conversational** ("hi", "thanks", "ok") — respond normally
466
+ - The message is **purely conversational** ("hi", "thanks", "ok", "got it") — respond normally
386
467
  - The user says **"just answer me directly"** or **"don't route"** — respect it
387
468
  - The user is in the middle of a **defined multi-step workflow** initiated by another agent
469
+ - The request is **trivially simple** (rename a variable, change one line, answer a "what is X?" question)
388
470
 
389
471
  ---
390
472
 
@@ -392,35 +474,45 @@ If the user has a multi-faceted concern, name the parallel agents:
392
474
 
393
475
  | User says | Route to | Why |
394
476
  |---|---|---|
395
- | "I'm getting a TypeError on line 42" | `debug-detective` | Specific error, frustration implied |
396
- | "Should I use React Context or Zustand here?" | `pair-programmer` | Pre-implementation approach question |
397
- | "Review my login component" | `typescript-reviewer` (or `code-reviewer`) | Explicit review + likely TS |
398
- | "I have no idea where to start with this auth migration" | `kodelyth-advisor` | Lost / overwhelmed |
477
+ | "I'm getting a TypeError on line 42" | `debug-detective` | Specific error |
478
+ | "something is wrong but there's no error" | `silent-failure-hunter` | Silent failure pattern |
479
+ | "Should I use React Context or Zustand here?" | `pair-programmer` | Pre-implementation approach |
480
+ | "Review my login component" | `typescript-reviewer` | Single file + likely TS |
481
+ | "I have no idea where to start" | `kodelyth-advisor` | Lost / overwhelmed |
399
482
  | "How do I make this faster?" | `performance-optimizer` | Direct perf question |
400
483
  | "Is my JWT signing secure?" | `security-reviewer` | Auth + security keyword |
401
484
  | "build failed on Vercel" | `build-error-resolver` | Build failure |
402
- | "Tests are slow / red" | `tdd-guide` first, then `debug-detective` if reds | Test-first reasoning |
485
+ | "Tests are slow / red" | `tdd-guide` then `debug-detective` | Test-first reasoning |
403
486
  | "Migrate from Pages Router to App Router" | `migration-guide` | Framework migration |
404
487
  | "Add accessibility to this form" | `ux-reviewer` | a11y |
405
488
  | "Plan the v2 redesign" | `planner` → `architect` | Plan + design |
406
489
  | "open source this project" | `opensource-forker` | OSS chain start |
407
490
  | "production is down, getting 500s" | `incident-commander` | Active production incident |
408
- | "will this hold under 10k concurrent users" | `load-tester` | Capacity / load testing question |
409
- | "run a load test before launch" | `load-tester` | Pre-launch load validation |
491
+ | "will this hold under 10k users?" | `load-tester` | Capacity question |
410
492
  | "postmortem for yesterday's outage" | `incident-commander` | Postmortem workflow |
411
- | "generate a hero image for my landing page" | `image-architect` | Image generation request |
412
- | "I need an OG image / GitHub social card" | `image-architect` | Social preview asset |
413
- | "create visuals for the app" | `image-architect` | Marketing asset generation |
414
- | "I'm starting a new SaaS project, help me plan it" | `/project-launch` | New project, all concerns at once |
415
- | "full audit before we ship v2" | `/team-review` | Pre-release parallel audit |
416
- | "load my project lessons" | `/lessons` | Cross-platform lesson loading |
493
+ | "generate a hero image" | `image-architect` | Explicit image request |
494
+ | "my site looks plain, needs something visual" | `image-architect` | Implicit visual need |
495
+ | "make it look good / less empty" | `image-architect` | Visual quality signal |
496
+ | "help me build a todo app" | `/project-launch` | New build founding team |
497
+ | "I want to create a REST API from scratch" | `/project-launch` | New build |
498
+ | "I have this idea for a SaaS dashboard" | `/project-launch` | Greenfield project |
499
+ | "I'm starting a new side project" | `/project-launch` | New project |
500
+ | "can you review my code?" | `code-reviewer` or `/team-review` | Narrow → reviewer, broad → team |
501
+ | "review my code before I deploy" | `/team-review` | Pre-release, full scope |
502
+ | "is my project ready to ship?" | `/team-review` | Readiness check |
503
+ | "full audit before we release v2" | `/team-review` | Explicit full audit |
504
+ | "remember we always use pnpm here" | `/lessons` | Preference to encode |
505
+ | "what rules do we follow in this project?" | `/lessons` | Load lessons |
506
+ | "from now on never use var" | `/lessons` | Rule to save |
507
+ | [user pastes code with no text] | `code-reviewer` | Implicit review |
508
+ | [user pastes stack trace with no text] | `debug-detective` | Implicit debug |
417
509
 
418
510
  ---
419
511
 
420
512
  ## Output Format When Routing
421
513
 
422
514
  ```
423
- → Routing to debug-detective (your error message + frustration matches the bug-tracking signal)
515
+ → Routing to debug-detective (stack trace + frustration signals match the bug-tracking pattern)
424
516
 
425
517
  [response in debug-detective's style — methodical, hypothesis-driven, asks for repro]
426
518