Skills › BMAD Method › bmad-toolsmith › lens-trigger.md
lens-trigger.md
17 lines · skills/bmad-toolsmith/lenses/lens-trigger.md at bd70c64
Most marks come from matching words in the file, so treat them as pointers.
1# Lens: trigger
3Lane: the description as the whole trigger. The bar is the canon's trigger section: the model decides to load a skill from the description alone, so it must fire on the real requests and stay quiet on the neighbors. Start from `description_chars`, `has_use_when` and `frontmatter_ok`, then read the description.
5- Over 1024 characters, or no `Use when`: high; the validator fails it too.
6- Past the canon's two parts: a summary longer than one short sentence, a third sentence, or a `Not for` no collision called for. Medium; name what to cut.
7- An agent whose `Use when` omits its name, or has no phrase for a capability that lives inside it: medium; name the capability.
8- Nothing on what it does before the `Use when`, or first person ("I help you"): medium.
9- No concrete anchors: no file types, tool names, artifact names or phrases a user types, only adjectives ("helps with planning"). High; it will hijack neighbors or never fire.
10- A sibling skill shares its vocabulary and no trigger eval has tested the boundary: low; recommend one with near misses, and a `Not for` naming the sibling only if it fails.
11- Procedure in the description: steps or flow the body should own. Medium; the model can skip the body and improvise.
12- "When to use" text in the body: an overview saying when the skill applies, trigger phrases under a heading. Medium; the model never sees it when choosing.
13- One noun covering a whole domain: high. A single phrasing where users say it several ways: medium. Several wordings of one situation stacked as separate clauses: low; collapse them. A tool's symptom where the user's problem is the trigger, in a skill not about that tool: low.
14- `{target}/evals/triggers.json` absent, or without near misses (`should_trigger: false` cases sharing vocabulary): low; recommend writing it from the discovery, eight to ten each way.
15- Doubt about any of the above: recommend a trigger eval through the `bmad-eval` skill, not a rewrite by opinion. When a description is revised from failures, change its contexts and anchors; never paste a failed query's words into it.
17Not flagged: an agent's long `Use when` when each phrase belongs to an internal capability; a `Not for` naming a sibling that an eval or a known collision called for; a one-line description on a skill with model invocation disabled; the body for lacking trigger text, which is where it should not be.
Lens: trigger
Lane: the description as the whole trigger. The bar is the canon's trigger section: the model decides to load a skill from the description alone, so it must fire on the real requests and stay quiet on the neighbors. Start from description_chars, has_use_when and frontmatter_ok, then read the description.
- Over 1024 characters, or no
Use when: high; the validator fails it too. - Past the canon's two parts: a summary longer than one short sentence, a third sentence, or a
Not forno collision called for. Medium; name what to cut. - An agent whose
Use whenomits its name, or has no phrase for a capability that lives inside it: medium; name the capability. - Nothing on what it does before the
Use when, or first person ("I help you"): medium. - No concrete anchors: no file types, tool names, artifact names or phrases a user types, only adjectives ("helps with planning"). High; it will hijack neighbors or never fire.
- A sibling skill shares its vocabulary and no trigger eval has tested the boundary: low; recommend one with near misses, and a
Not fornaming the sibling only if it fails. - Procedure in the description: steps or flow the body should own. Medium; the model can skip the body and improvise.
- "When to use" text in the body: an overview saying when the skill applies, trigger phrases under a heading. Medium; the model never sees it when choosing.
- One noun covering a whole domain: high. A single phrasing where users say it several ways: medium. Several wordings of one situation stacked as separate clauses: low; collapse them. A tool's symptom where the user's problem is the trigger, in a skill not about that tool: low.
{target}/evals/triggers.jsonabsent, or without near misses (should_trigger: falsecases sharing vocabulary): low; recommend writing it from the discovery, eight to ten each way.- Doubt about any of the above: recommend a trigger eval through the
bmad-evalskill, not a rewrite by opinion. When a description is revised from failures, change its contexts and anchors; never paste a failed query's words into it.
Not flagged: an agent's long Use when when each phrase belongs to an internal capability; a Not for naming a sibling that an eval or a known collision called for; a one-line description on a skill with model invocation disabled; the body for lacking trigger text, which is where it should not be.