Skip to content

Guides creation of new agent skills with structure, progressive disclosure, and bundled resources.

CCM score
63 of 100
skills.sh installs
408
GitHub stars
30.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the authoring workflow: gather requirements, draft SKILL.md and optional reference files, then review with the user
  • Includes a SKILL.md template, a description-writing standard, and rules for when to add scripts or split files
  • Enforces a review checklist covering triggers in descriptions, SKILL.md under 100 lines, no time-sensitive info, and one-level-deep references
  • Provides validator scripts such as skill_description_validator.py and skill_structure_validator.py, and points to engineering/book-to-skill for document-based sources

Install

$ npx -y skills add alirezarezvani/claude-skills --skill write-a-skill -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Writing Skills

Derived from Matt Pocock's write-a-skill (MIT). Matt's voice and 3-phase workflow preserved verbatim. Additions: validation tools + references + cs-* wrapper (see Tooling + Companions below).

Process

  1. Gather requirements - ask user about:

    • What task/domain does the skill cover?
    • What specific use cases should it handle?
    • Does it need executable scripts or just instructions?
    • Any reference materials to include?
  2. Draft the skill - create:

    • SKILL.md with concise instructions
    • Additional reference files if content exceeds 500 lines
    • Utility scripts if deterministic operations needed
  3. Review with user - present draft and ask:

    • Does this cover your use cases?
    • Anything missing or unclear?
    • Should any section be more/less detailed?

Skill Structure

skill-name/
├── SKILL.md           # Main instructions (required)
├── REFERENCE.md       # Detailed docs (if needed)
├── EXAMPLES.md        # Usage examples (if needed)
└── scripts/           # Utility scripts (if needed)
    └── helper.js

SKILL.md Template

Details

Repository
github.com/alirezarezvani/claude-skills
Category
Skill & Plugin Building
First seen
Jun 3, 2026

Questions

What does the write-a-skill skill do?

It creates new agent skills with proper structure, progressive disclosure and bundled resources. It walks through gathering requirements, drafting a SKILL.md with optional reference files and scripts, and reviewing the draft with you before finishing.

How do I install write-a-skill?

Run npx -y skills add alirezarezvani/claude-skills --skill write-a-skill -y in your project. After that, the agent can write new skills when you ask it to create, write, build or author one.

Who is write-a-skill for?

It is for developers who want to author a new agent skill and need help with its structure and description. It also checks the description so the agent knows when to load the skill.

Does write-a-skill check the skills it produces?

Yes, it includes a review checklist and a validation script, python scripts/skill_review_checklist_runner.py, that checks a skill folder against the six review items. It also provides a description validator and a structure validator.

More from alirezarezvani/claude-skills

All 259

Similar to Write A Skill

More Skill & Plugin Building