create-skill

Author and validate new agent skill directories with SKILL.md templates.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/kieranpotts/skills --skill create-skill-kieranpotts
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: create-skill
Source: https://github.com/kieranpotts/skills/tree/main/skills/create-skill
Command: npx skills add https://github.com/kieranpotts/skills --skill create-skill-kieranpotts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Writing a well-formed agent skill requires knowing the SKILL.md frontmatter contract, section ordering, RFC 2119 requirement levels, and resource namespacing rules. This Skill guides an agent through authoring or improving a skill so the result passes deterministic validation on the first pass. ## Core Features & Use Cases - Template-driven authoring: Generates a complete skill directory from bundled SKILL.md and README.md templates, including scripts, references, and assets as needed. - Deterministic validation: Ships a Bash validator that wraps skills-ref and enforces repo-specific rules such as section order, line length, namespacing, and required frontmatter fields. - Use Case: After a productive AI session, ask the agent to turn the workflow into a reusable skill; it drafts the SKILL.md, writes the human-facing README, registers the skill in the collection index, and runs the validator until it passes. ## Quick Start Create a skill for reviewing database migration scripts before they are applied.

Frequently Asked Questions about create-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new agent skill with SKILL.md?▼

Provide a description of the skill and its trigger conditions, and the agent drafts a SKILL.md from the bundled template with the required frontmatter, Parameters, Success criteria, Instructions, and Rules sections. It then runs the bundled validator and fixes any reported failures.

What is required in SKILL.md frontmatter for the Agent Skills standard?▼

The frontmatter must declare name, description, license, and compatibility. The description follows a two-sentence pattern stating what the skill does and when to use it, while compatibility lists the agent tools the instructions actually call for.

How do I validate a skill directory against the Agent Skills spec?▼

Run the bundled create-skill-validate.sh script against the skill directory. It wraps skills-ref validate for canonical checks when installed, and adds repo-specific checks for section order, line length, namespacing, and README structure.

Can I improve an existing skill instead of writing a new one?▼

Yes. The agent reads the current SKILL.md first, then rewrites rather than patches it, preserving the name field unchanged. The improved skill must still pass the same validator before the task is complete.

Why must bundled skill files be namespaced with the skill name?▼

When skills compile to flat instruction files for Copilot or Cursor, every skill's assets, references, and scripts merge into one shared directory. Files without a skill-name prefix can silently overwrite each other across skills.