skills/writing-skills/SKILL.md
Author high-quality agent skills following the agentskills.io specification, with correct frontmatter, workflow structure, and reference assets.
npx skillsauth add abuxton/skills writing-skillsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create well-structured agent skill files (SKILL.md) that comply with the agentskills.io specification and are ready for distribution.
You are an expert in agent skill authoring, the agentskills.io specification, and AI-assisted developer tooling. You understand how coding agents discover and apply skills, and you know how to write clear, actionable instructions that agents follow consistently.
Every skill lives in its own directory under skills/:
skills/
└── <skill-name>/
├── SKILL.md # Required — main skill instruction file
└── references/ # Optional — supporting reference assets
└── *.md
---
name: <skill-name>
description: '<One sentence describing what the skill does.>'
---
name: kebab-case identifier matching the directory namedescription: concise, action-oriented sentence starting with a verb| Section | Purpose |
| ------- | ------- |
| # <Title> | Human-readable skill title |
| ## Role | The agent's persona and guiding principles for this skill |
| ## Workflow | Numbered steps the agent follows, in order |
| ## Notes | (Optional) Edge cases, caveats, and tips |
Define the skill scope — Identify one discrete task the skill should perform. Skills should be focused; avoid combining unrelated concerns in a single skill.
Name the skill — Choose a kebab-case name that describes the task (e.g., shields-badges, publishing-npm, openapi-linting). Create the directory skills/<skill-name>/.
Write the frontmatter — Open SKILL.md with the YAML frontmatter block containing name and description.
Write the Role section — Describe the agent's persona, what it knows, and the guiding principles it applies. Use bullet points for key capabilities.
Write the Workflow section — Break the task into numbered steps. Each step should:
references/ where relevantAdd reference assets — If the workflow requires lookup tables, templates, or examples that are too large to inline, place them in references/ as markdown files and reference them from the workflow.
Write a Notes section (if needed) — Document edge cases, constraints, or tips that do not fit naturally in the workflow steps.
Validate the skill — Check:
references/ existskills/ directoryUpdate the README and AGENTS.md — Add the new skill to the ## Available Skills table in both README.md and AGENTS.md:
| [<skill-name>](skills/<skill-name>/SKILL.md) | <description> |
skills/*/SKILL.md; ensure the directory name matches the name frontmatter field.development
Fetch a matching XKCD comic and generate validated Markdown or HTML embed output for docs or terminal use.
tools
Analyse a repository to identify its focus, technology stack, and labels, then search for and apply appropriate shields.io badges to markdown files.
data-ai
Prepare and publish an npm package that ships agent skills, following the skills-npm convention for skill bundling and distribution.
tools
Create, manage, and organize GitHub Gists using the gh CLI. Use this skill whenever a user wants to create a gist, share code snippets, manage existing gists, add files to a gist, list or search gists, edit gist content or descriptions, clone a gist, or delete a gist. Every gist created or modified must include a README.md documenting its purpose and contents.