authoring-skills-and-rules
Author Skills (SKILL.md) and rules/instructions across Claude Code, Cursor, OpenCode, Codex, and GitHub Copilot. Covers frontmatter, file layout, activation model, cross-platform mirroring, and the universal craft: progressive disclosure, trigger-rich descriptions (context pointers), leading words, token budget, naming, and what to leave out. Use when the user asks to write, scaffold, refactor, port, or review a Skill, Cursor rule (.mdc), AGENTS.md, copilot-instructions, or prompt file — or to make one Skill/rule work across multiple agents.
Pinned to revision b714ebdf1b68, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/authoring-skills-and-rules/SKILL.md
- skills/authoring-skills-and-rules/references/claude-code.md
- skills/authoring-skills-and-rules/references/codex.md
- skills/authoring-skills-and-rules/references/copilot.md
- skills/authoring-skills-and-rules/references/cross-platform.md
- skills/authoring-skills-and-rules/references/cursor.md
- skills/authoring-skills-and-rules/references/opencode.md
Every link opens the file at its source, pinned to the revision this page describes.