Appendix E - 1. Theory

A good mastery-skill has a recognizable structure. This chapter gives a three-step method for building one and the failure modes to test before shipping.

E.1.1 Anatomy

A skill is a directory with one required file and optional bundled resources. SKILL.md carries YAML frontmatter containing a name and a description, followed by the instructions the agent loads when the skill triggers. Bundled resources hold references, examples, scripts, and other material that the agent reads only when needed.

This structure supports progressive disclosure: the name and description make the skill discoverable, SKILL.md carries its governing structure, and bundled resources supply detail on demand. Put triggering information in the description, the governing model in SKILL.md, and bulk reference material in resources.

Implementation note (August 2026). Anthropic's current skill-authoring guidance recommends keeping loaded context concise, putting triggering information in the description, keeping SKILL.md under roughly 500 lines, moving invocation-specific detail into linked reference files, matching instruction specificity to task fragility, and evaluating skills on representative tasks. These mechanics will change; consult current platform documentation when implementing a skill. This appendix focuses on what knowledge the skill should contain and how to structure it. (Source: Anthropic, "Skill authoring best practices.")

A tool-skill packages a capability the agent invokes; a mastery-skill packages judgment the agent reasons through. Tool-skills need little beyond reliable invocation — scope each to one capability, make its triggering conditions concrete, specify fragile operations precisely, and prefer deterministic scripts where generated procedures would drift. When a mastery-skill needs a tool interface, factor that interface into its own tool-skill and reference it.

E.1.2 From Domain Knowledge to Model

Build a mastery-skill in three steps.

The structure supports composition and incremental adoption. Another skill can refer to the underlying model rather than duplicate it, and the fundamental model can be useful before every facet exists.

Orthogonal skills can also compose. Give each skill one reason to change, then use explicit interfaces to let one consume models, mechanisms, or observations another produces.

E.1.3 Failure Modes

A mastery-skill can fail in several predictable ways.

A skill that never loads has no effect. Where a recurring event should reliably invoke it, pair the skill with an appropriate trigger or hook. The hook makes invocation more reliable; the skill still supplies guidance rather than enforcement.

Before shipping:

© James C. Davis, 2026–present