---
title: Write High-Recall SKILL.md Trigger Descriptions | SkillMarket
description: Craft high-precision, high-recall SKILL.md frontmatter descriptions benchmarked against real user phrasing, file extensions, and negative boundaries.
canonical: "https://skillmarket.ai/j/author-high-trigger-accuracy-skill-descriptions"
modified: 2026-11-14
author: skillmarket.ai editorial team
source: "https://skillmarket.ai"
category: Authoring & Publishing SKILL.md Packages
category_url: "https://skillmarket.ai/j#group-skill-authoring-packaging"
---

# Write SKILL.md YAML frontmatter descriptions that trigger reliably without hijacking unrelated chats

> If your frontmatter description is vague, Claude Code and Cursor ignore your skill completely—or fire it on every generic Python question.

## Prepared starting prompt

Evaluate and sharpen our SKILL.md YAML description so agents trigger it reliably on natural user prompts without false-positive hijacks.

### Quick scenarios
- **Under-triggering fix (low recall):** Fix a SKILL.md description that users must invoke manually because auto-routing misses it.
- **Over-triggering collision fix:** Resolve routing collisions between 3 overlapping SQL, dbt, and BI skills.
- **File-type & symptom cues:** Add concrete file extensions, CLI tools, and error phrases to frontmatter triggers.

- [Request Benchmark Access](https://skillmarket.ai/#waitlist-8efd41)

## Anatomy of a 98%-trigger-accuracy SKILL.md frontmatter block

1. **State both WHAT the skill does and WHEN to invoke it** — Don't write 'Helps with PDFs.' Write 'Extract tables and forms from .pdf files, merge/split pages, or reconcile scanned invoices.'
2. **Include casual user symptom phrases and file extensions** — Users say 'why is my k8s pod stuck pending' more often than 'execute Kubernetes scheduling diagnostics'; include concrete cues.
3. **Add a crisp 'Do NOT use for...' clause on crowded stacks** — When maintaining separate unit-test and Playwright E2E skills, state 'Do NOT use for browser E2E tests (use e2e-playwright instead).'
4. **Write in third-person metadata voice under 1,024 chars** — Frontmatter injects directly into system skill catalogs; concise third-person triggers parse cleanly without prompt-role confusion.

## How it works in practice

### Frontmatter trigger test

Test 40 natural prompts (20 target, 20 adjacent) against v1: 'Database helper for analytics queries' vs v2: 'Write and optimize read-only DuckDB SQL over .parquet, .csv, and S3 files. Trigger on local file analytics, cohort rollups, or Parquet inspection; do NOT use for prod Postgres DDL migrations.'

### Trigger precision & recall

v1 vague description: 45% recall on Parquet prompts, 35% false triggers on Postgres migration chats. v2 explicit trigger+boundary: 95% recall, 0% false triggers.

Because agents only see YAML frontmatter before loading SKILL.md, frontmatter wording single-handedly governs whether your skill ever runs.

## Frequently Asked Questions

### Why didn't the agent load my SKILL.md when the instructions inside are great?

Agents decide whether to open SKILL.md based strictly on the 'name' and 'description' fields in YAML frontmatter—body text is invisible until triggered.

### How long can a SKILL.md description field be?

Standard Agent Skills specifications cap 'name' at 64 lowercase hyphenated chars and 'description' at 1,024 chars (aim for 250–550 crisp chars).

### How many prompts should I use to test trigger routing?

Test 15–20 realistic indirect user phrasings plus 15 near-neighbor prompts belonging to other installed skills.

## Related tasks in this category

- [Organize modular SKILL.md folders with scripts/, references/, and assets/ following open specs](https://skillmarket.ai/j/structure-modular-skill-directory-with-scripts.md)
- [Transform dusty Confluence and Notion engineering runbooks into executable SKILL.md packages](https://skillmarket.ai/j/convert-internal-runbooks-into-agent-skills.md)
- [Enforce strict JSON Schema and Pydantic validation inside skills feeding downstream pipelines](https://skillmarket.ai/j/standardize-structured-json-outputs-in-skills.md)
- [Apply semantic versioning, compatibility tags, and benchmarked changelogs to published skills](https://skillmarket.ai/j/version-and-changelog-published-agent-skills.md)
- [Adapt SKILL.md packages cleanly across Claude Code, OpenAI Codex CLI, Cursor, and Windsurf](https://skillmarket.ai/j/port-claude-code-skills-to-cursor-and-codex.md)
- [Author crisp negative boundaries in SKILL.md to stop unasked-for refactors, commits, and scope creep](https://skillmarket.ai/j/write-negative-constraints-to-prevent-overreach.md)

---

*Published by **Wondel.ai sp. z o.o.** · [skillmarket.ai](https://skillmarket.ai) · [About](https://skillmarket.ai/about) · [Editorial Guidelines](https://skillmarket.ai/editorial) · [Contact](https://skillmarket.ai/contact) · [Wondel.ai Products](https://wondel.ai/products)*