Why Skills Never Trigger: Writing Descriptions That Work
Ever set up a skill exactly to spec, only to watch your AI coding assistant ignore it every single time? The problem usually isn't the model or the skill body—it's the metadata. This article explains how modern coding assistants route skills through progressive disclosure, why autonomous triggering frequently fails, and the common description anti-patterns behind those failures. You'll learn a four-part description formula (positioning, trigger signals, exclusions, and key terms), how to organize skill metadata with a "when to use" index, and how to build a reproducible trigger-rate evaluation set. The takeaway: a description must earn the body a chance to be read at the moment the model can't see it.
The Problem Isn’t a Disobedient Model—It’s Metadata Competition
In the Skills mechanism of AI coding assistants, many users have had this experience:
- You place the skill in the directory exactly as the official documentation says, and the file format checks out;
- You refine the steps, templates, and caveats in the skill body over and over;
- But in actual conversation, the assistant never calls it once, and you end up specifying it manually every time.
There’s a fact that’s easy to overlook: when the model decides whether to use a skill, it cannot see the body you carefully wrote at all. No matter how good the body is, it only gets a chance to work after the skill has been selected. What really decides the outcome is the usually-a-few-dozen-to-a-hundred-token description in the metadata. It’s like the back-cover blurb of a book: no matter how brilliant the content, if the blurb is unclear, readers won’t open it.
Failures are common in practice. One tester designed a description for a “product decision review” skill, then tested it with 20 prompts that should have triggered it, including “help me do a product decision review,” “give a go/no-go conclusion,” and “find the holes in this product strategy.” The result: the skill triggered zero times.
The root cause is often the same: most descriptions write “what I am,” while what the model needs to know is “when to use me.” This article breaks down how skill routing works, dissects common anti-patterns, and gives reproducible writing and evaluation methods. These principles apply equally to coding assistants from various vendors, self-built enterprise coding assistants, and tools in the ecosystems of cloud platforms such as Baidu AI Cloud: understanding the routing mechanism matters far more than memorizing any one product’s steps.
1. How Skills Get “Seen”: The Three-Layer Structure of Progressive Disclosure
Modern AI coding assistants generally manage context through progressive disclosure. For skills, you can think of it as three layers of an onion:
| Layer | Content | When it enters context | Approximate cost |
|---|---|---|---|
| L0 metadata layer | Skill name + description | Always present, injected with the system prompt | A few dozen to a hundred tokens per skill |
| L1 body layer | Steps, constraints, templates | Loaded after the skill is selected | Hundreds to thousands of tokens |
| L2 resource layer | Reference docs, scripts, sample data | Read on demand after the body directs it | Depends on file size |
As pseudocode, the routing process roughly looks like:
candidates = [s.meta for s in installed_skills] # only L0 is visiblecandidates = [s for s in candidates if s.enabled] # filter out disabled skillsdecision = model(system_prompt + tool_defs + history + candidates)if decision.selects a skill:load that skill's body # L1 appears only nowread external resources per the body # L2 loaded on demand
This pseudocode shows three things:
- The visibility range is extremely limited. Everything the model has at decision time is each skill’s name and description, plus the system prompt, tool definitions, and the current conversation.
- There are no hardcoded trigger rules. The tool itself doesn’t parse the user’s utterance to match keywords. Selection is a semantic judgment, not a deterministic conditional branch.
- Skills compete with each other. Skills with similar descriptions fight over the same call; unrelated skills dilute the attention given to the truly relevant skill.
So “autonomous triggering” doesn’t mean the system already understands your intent. It just hands the decision to the model, whose only basis for judgment is the description. That’s why editing only the skill body has almost no effect on the trigger rate.
2. Why Autonomous Triggering Often Fails
2.1 Competition Between Prompts
In a real session, the model weighs far more than the skill list: project conventions, available file-operation and command-execution tools, context from prior conversation, and general preferences set at the start. The skill is just one candidate among many.
When the model thinks “a direct answer is enough” or “the existing tools will do,” the skill naturally gets skipped. If the description doesn’t clearly tell it “tasks like this should prefer this workflow,” the model defaults to the lower-cost conventional path. This isn’t a defect—it’s a reasonable tradeoff the model makes under resource constraints; compensating for it is the description designer’s responsibility.
2.2 Path Dependency
Once a skill is loaded in a project, its instructions stay in the context and keep influencing later behavior. But the first load requires the model to actively choose it. To the model, a skill that has never been triggered is as good as nonexistent.
2.3 Tool Boundary Overlap
Many platforms already build in general capabilities at the start of a conversation, such as code reading, code editing, and command execution. If a skill’s description overlaps heavily with these capabilities, the model will prefer the more “handy” native ones.
A common mistake is writing a skill as a thin wrapper over general capabilities, like “helps read and explain code.” Such descriptions almost inevitably conflict with native capabilities. The right approach is to have the skill cover what native capabilities can’t: domain conventions, organizational workflows, specific output formats, or composite workflows.
3. Four Typical Anti-Patterns of Broken Descriptions
Anti-Pattern 1: Self-Descriptive—Only Capabilities, No Scenario
# Bad exampledescription: A skill for CPO reviews, providing comprehensive product decision analysis
The problems:
- Terminology gap. The author’s internal shorthand “CPO review” differs from what users actually say: “product review,” “go/no-go,” “decision assessment,” “strategy holes.” The model can’t bridge the two.
- No time anchor. It doesn’t say at what stage such a review usually happens or what materials it centers on.
- All self-praise. Adjectives like “comprehensive” offer nothing to match against.
Anti-Pattern 2: Catch-All—No Boundaries, Touches Everything
# Bad exampledescription: Helps analyze products, strategy, code, and docs, providing high-quality advice
An overly broad description looks like wide coverage but actually causes false triggers. A user casually asks a tech-selection question, the skill still loads, and precious main-line context gets occupied by irrelevant instructions. The trigger rate goes up; the experience gets worse.
Anti-Pattern 3: Synonym Infighting—Multiple Skills Fight Over One Intent
When skills like “code review,” “code inspection,” and “PR check” have similar descriptions, the model can pick only one each time, and may even oscillate, so uncertainty rises sharply. The first principle of skill design is mutually exclusive boundaries: one user intent should have exactly one skill clearly responsible.
Anti-Pattern 4: Spatial Misplacement—Trigger Conditions Written in the Body
Many skills open the body with a solemn line: “Use this skill when the user requests a code review.” Unfortunately, the model can’t read the body at decision time, so this line is useless. All trigger-related information must appear in the description.
4. The Four-Part Description Formula
Putting these problems together, you can use a structured formula:
description = [one-line positioning] + [trigger signals] + [exclusions] + [key terms]
| Part | Purpose | Writing tips |
|---|---|---|
| One-line positioning | Define the capability boundary | Say “what input, what processing, what output”; write only one capability |
| Trigger signals | Give recognizable context cues | List real user phrasing, task types, file forms, and stages |
| Exclusions | Avoid false triggers | Name adjacent scenarios and hand them off |
| Key terms | Close the terminology gap | Synonyms, abbreviations, industry jargon |
Here’s the rewritten example:
---name: product-decision-reviewdescription: >Product decision review. Evaluates feature prioritization, version tradeoffs,and launch or investment-stop decisions, systematically laying out the basisand blind spots, and producing a clear go/no-go conclusion.Trigger scenarios: when the user asks to "review/retrospect a decision or productstrategy," "give go/no-go advice," discusses "whether to invest in/launch/sunseta feature," or provides PRDs, product plans, or roadmaps and asks for input.Not applicable: pure technical implementation reviews, code reviews, org restructuring.---# Product Decision Review## Execution Steps1. Restate the decision under review; confirm the decision owner, goal, and constraints;2. Check market basis, user evidence, input/output, and risks item by item;3. Flag under-supported assumptions; list questions needing further validation;4. Output a conclusion: go / no-go / proceed with conditions, and state the conditions.## Output Template- Decision summary:- Key evidence:- Main risks and blind spots:- Conclusion:
Compared with the original, the rewritten version makes these changes:
- It replaces the internal shorthand “CPO review” with “launch and investment-stop”;
- Trigger scenarios cover all three prompt types from the original test, including direct commands, material-attached requests, and implicit intent;
- It adds exclusions to avoid conflicts with technical-review skills;
- It covers keywords like “go/no-go,” “PRD,” and “roadmap.”
Note that the “execution steps” and “output template” above are only illustrative. The description is responsible for getting the skill selected; the body is responsible for making the skill useful—the two can’t substitute for each other.
5. Organization and the “When to Use” List
If you have many skills, you can organize the metadata into a standalone index file for centralized maintenance:
# skill-index.yamlskills:- name: code-reviewsummary: Code review, focused on readability, boundary conditions, and test coverageuse_when: [review, MR, PR, code inspection, check for issues]exclude: [security-audit, performance-tuning]- name: security-auditsummary: Security audit, checking injection, privilege escalation, and sensitive-data exposureuse_when: [security, vulnerability, CVE, pentest]exclude: [code-review]
This has three benefits:
- Centralized maintenance: as skills grow, you can adjust wording uniformly and keep the style consistent.
- Controllable keywords: the
use_whenlist can hold spelling variants, abbreviations, and multiple languages without eating into the prose description. - Explicit boundaries: the
excludefield forces designers to confront overlaps between skills—the most direct way to control false triggers.
If a single skill’s metadata truly hits a length limit yet needs more trigger cues, you can use a two-stage index + lookup structure:
- Trigger skill: broad positioning, only judging “roughly which capability the user needs”;
- Dispatch rules: after the trigger skill loads, it reads the index file in its body and routes to the specific skill based on the concrete intent.
This separates “coarse filtering” from “fine selection.” Each specific skill only needs to distinguish itself from a few neighbors, so competition pressure drops sharply. The cost is one extra load and judgment, suited to large teams with many skills.
Whichever organization you choose, the principle holds: spatially, each skill has its own slot in the index; semantically, each intent maps to exactly one clear entry point.
6. Building a Trigger-Rate Evaluation Set
You can’t judge a description’s quality by feel; you should build a reproducible evaluation process.
6.1 Evaluation Set Design
Prepare 15–30 probes per skill, covering at least five types:
| Probe type | Example | Expected |
|---|---|---|
| Explicit call | “Do a code review” | Trigger |
| Implicit intent | “What else should I check before this goes live?” | Trigger |
| Attached material | Paste a PRD, then say “give it a once-over” | Trigger |
| Synonym | “Review this” / “Check for issues” | Trigger |
| Distractor | “Why is this code so slow?” (should go to the performance skill) | Don’t trigger |
Distractors matter most. Counting only “does it trigger when it should” easily leads to overly broad descriptions; only by also watching “does it falsely trigger when it shouldn’t” can you tell whether the boundaries are clean.
6.2 Evaluation Process
- Clear the context. Test each probe in a fresh session so prior conversation doesn’t affect the judgment.
- Fix the environment. Keep the installed skill set and system prompt unchanged, or results can’t be compared.
- Record results. Log trigger/no-trigger per probe; when it doesn’t trigger, record how the model handled it.
- Categorize and analyze. Non-triggers usually point to three problems:
- Not recognized: the probe’s phrasing has no counterpart in the description; add keywords;
- Overlapped: skills overlap and the model can’t decide; add exclusions;
- Judged unnecessary: the model thinks existing capabilities suffice; emphasize the incremental value the skill brings.
- Iterate and verify. Change one variable per round—for example, only adjust trigger scenarios, or only add exclusions—then rerun the full evaluation set.
6.3 Reducing Evaluation Cost
Evaluation cost rises quickly with skill count. Besides the two-stage structure above, you can:
- Merge low-frequency skills. Skills whose maintenance cost exceeds their value are better folded into a neighboring skill;
- Give high-stakes skills an explicit entry point. For skills that can’t be missed, keep a manual invocation entry as a supplement to—not a replacement for—auto-triggering;
- Automate regression. Put the evaluation set into a script and run it on a schedule in the skill repo to prevent future edits from regressing the trigger rate.
7. Troubleshooting Checklist
When a skill doesn’t trigger, check these in order:
- Is the metadata format correct? Does the skill show up properly in the list?
- Does the description contain only self-description, missing time, scenario, or material cues?
- Did you include the user’s actual words, not just the author’s internal jargon?
- Are there neighbor skills with similar descriptions competing with it?
- Are the trigger conditions mistakenly written in the body instead of the description?
- Does the skill heavily overlap with native tool capabilities, making the model see it as redundant?
- Do general preferences set at the start of the session steer the model to skip this kind of skill?
- Have you verified the trigger rate with at least 20 probes in a fresh session?
8. Conclusion
In the vast majority of cases, a skill not triggering isn’t the model’s problem—it’s that the description failed its one mission: to win the body a chance to be read at the moment the model can’t see it.
A few principles are worth chewing on repeatedly:
- The description is the skill’s routing entry point, and the body is the skill’s execution quality; neither substitutes for the other;
- A good description answers both “when to use it” and “when not to”;
- Trigger rate must be measured. Without an evaluation set, tuning is just guesswork.
A truly mature skill system isn’t about how many skills you’ve installed, but about every intent having exactly one clear entry point. Achieve that, and skills go from decoration to habit.
