Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, build, or author a new skill.
62
75%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.gemini/skills/write-a-skill/SKILL.mdThe canonical home for this skill is write-a-skill in alirezarezvani/claude-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).
Gather requirements - ask user about:
Draft the skill - create:
Review with user - present draft and ask:
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---
name: skill-name
description: Brief description of capability. Use when [specific triggers].
---
# Skill Name
## Quick start
[Minimal working example]
## Workflows
[Step-by-step processes with checklists for complex tasks]
## Advanced features
[Link to separate files: See [REFERENCE.md](REFERENCE.md)]The description is the only thing your agent sees when deciding which skill to load. It's surfaced in the system prompt alongside all other installed skills. Your agent reads these descriptions and picks the relevant skill based on the user's request.
Goal: Give your agent just enough info to know:
Format:
Good example:
Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when user mentions PDFs, forms, or document extraction.Bad example:
Helps with documents.The bad example gives your agent no way to distinguish this from other document skills.
Add utility scripts when:
Scripts save tokens and improve reliability vs generated code.
Split into separate files when:
After drafting, verify:
Validation tools + cs-* wrapper sit alongside this skill. Run all 6 review-checklist items programmatically:
python scripts/skill_review_checklist_runner.py path/to/skill-folderSee references/companion_tooling.md for the tool catalogue, cs-skill-author persona agent, and /cs:write-a-skill slash command.
This skill authors from expertise you already have. When the source is a book, a docs folder,
a standard, or a pile of specs, use engineering/book-to-skill instead — it compiles the
document into a knowledge-base skill (core frameworks + on-demand chapters + glossary +
patterns + cheatsheet) and can package the result as a plugin.
/cs:book-to-skill <path|folder|glob> [skill-name] # compile the source
/cs:book-to-plugin <compiled-skill-dir> # wrap it as a pluginRule of thumb: author first, compile second. A hand-written skill states what you want the agent to do; a compiled book skill is the reference it consults while doing it. If you have both, they are two skills, not one.
Version: 1.0.0 Derived: Matt Pocock (MIT) + this repo's wrapper
19392f7
Canonical home
since Aug 28, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.