skill-authoring
Writes and revises agent skills so they trigger at the right moments and give usable instruction when they do. Use this when creating a new skill, editing an existing one, diagnosing a skill that fires too often or never fires, or reviewing a set of skills for overlap. Also use before adding to a skill library, to check the capability is not already covered.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- skill-authoring
- description
- Writes and revises agent skills so they trigger at the right moments and give usable instruction when they do. Use this when creating a new skill, editing an existing one, diagnosing a skill that fires too often or never fires, or reviewing a set of skills for overlap. Also use before adding to a skill library, to check the capability is not already covered.
03 SKILL.md 正文
Skill authoring
A skill is judged twice: on whether it loads at the right moment, and on whether it helps once loaded. Most fail the first test.
The description does the triggering
It is the only part read when deciding whether to load. Write it for that job:
- Lead with what the skill does, in one clause.
- Then when to reach for it — the situations, in the words someone would actually use, including the oblique ones ("why isn't this converting" as well as "CRO audit").
- Name the edge cases that should still trigger it, and where useful, what should not.
Vague descriptions produce two failures at once: the skill misses cases it should catch, and fires on cases it cannot help.
The body does the work
Write for someone competent who has not thought about this problem today. That means:
- Method over exhortation. "Be thorough" is noise. An ordered procedure is instruction.
- State the failure behind each rule. A rule with no failure attached gets optimized away by the next reader.
- Be specific enough to be wrong. Guidance too hedged to contradict is too vague to follow.
- Put long material in
references/and say when to read it. The body should fit in working memory.
Overlap is the silent killer
Two skills whose descriptions both match a request means neither reliably wins. Before adding one, check what already covers the ground. Prefer extending an existing skill, or consolidating the family into one skill with references, over adding a near-neighbor.
Mechanics
namemust be lowercase-hyphenated and equal the directory name, or the skill will not load.- One skill, one directory,
SKILL.mdat its root; supporting material inreferences/andscripts/.
Verify before shipping
Write three requests that should trigger it and two that should not, and check the description actually discriminates. If a near-miss request would pull it in, tighten the description.
Never
- Ship a skill whose description does not say when to use it. A skill that never triggers is dead weight.
- Write a skill that restates what the model already does well without prompting.
- Let two skills claim the same trigger. Move the boundary or merge them.
- Ship without running the skill against the case that motivated writing it.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.