Create a new skill

VerifiedSafe

Create and validate a new skill in .claude/skills/. Handles template scaffolding, frontmatter, self-review, and index update.

Sby Skills Guide Bot
DevelopmentIntermediate
7/22/2026
Claude Code
#skill-authoring#scaffolding#meta-tooling#claude-code#templates

Recommended for

Automated summary

Guides the authoring, validation, and indexing of a new skill under .claude/skills/, from file scaffold through commit.

Strengths

  • Three-point pre-flight gate (recurring need, no overlap, adds structure) that steers you toward updating an existing skill instead of duplicating one
  • Complete SKILL.md template covering frontmatter, pre-flight, ordered steps, output format, and invariants
  • Mandatory self-review against references/skill-review-criteria.md, fixing gaps before finishing
  • Keeps both indexes in sync (skills-index.yaml and README) so the skill stays selectable

Limitations

  • Assumes an already-structured .claude/skills/ directory with skills-index.yaml and README in place
  • Review quality depends entirely on skill-review-criteria.md, whose contents this skill does not spell out
  • Deliberately question-by-question and interactive, so poorly suited to batch-generating many skills
When to use it

Reach for it when a workflow recurs often enough to warrant a named, invokable skill with stable steps and mandated checks.

When not to use it

Skip it for a one-off task, or when an existing skill already covers the need — extend that skill instead of starting a new one.

Security analysis

Safe
Quality score86/100

This is a documentation/scaffolding meta-skill. It only writes a new markdown skill file, edits an index and README, and runs a single git commit that is explicitly gated behind operator confirmation. There are no destructive commands, no network calls, no curl|sh, no secret handling, and no obfuscated payloads. The implicit use of Write/Edit and a guarded git commit is legitimate authoring activity, so it poses no meaningful execution risk.

Findings
  • •No allowed-tools declared, though the workflow implies Write/Edit/Glob/Grep and a Bash `git commit` step
  • •Step 9 performs a git commit, but it is explicitly gated on asking the operator first
How this analysis is made

Examples

Scaffold a release-notes skill
Create a new skill called /release-notes in .claude/skills/. Walk me through the slug, one-line description, triggers, scale fit, and tools, draft the body with me section by section, then run the skill-review-criteria checklist and update skills-index.yaml and the README.
Check for overlap before creating
I want a skill for fixing lint errors automatically. Before we build anything, check skills-index.yaml for an existing skill that already covers this, and tell me whether I should create a new one or extend what's there.
Promote a recurring workflow
We keep repeating the same dependency-upgrade steps on every repo. Use the new-skill workflow to turn that into a proper skill with invariants and an output format, then commit it with the right message.

name: new-skill description: Author a new skill under .claude/skills/. Handles template scaffold, frontmatter, review-criteria self-check, and skills-index update.

New skill

Scaffold and review a new skill file in .claude/skills/. Use this when a workflow recurs often enough to justify a named, invokable skill.

Pre-flight

Before creating a new skill, confirm all three:

  1. Recurring need — this isn't a one-off task.
  2. No overlap — no existing skill in skills-index.yaml already covers this.
  3. Adds structure — the skill provides invariants, ordered steps, or mandated checks that a bare prompt wouldn't.

If any fail, stop and reconsider. Often the right answer is updating an existing skill or adding a topic file to agent-instructions/.

Steps

  1. Ask the operator:

    • Skill slug (lowercase, hyphens, e.g. release-notes).
    • One-line description (starts with a verb, under 200 chars).
    • When to invoke (describe the triggering task).
    • Scale fit — small / medium / large (any subset).
    • Tools the skill needs (Read, Edit, Write, Bash, Glob, Grep, AskUserQuestion, etc.).
    • Lifecycle: once or recurring.
  2. Validate the slug: matches ^[a-z][a-z0-9-]*$ and isn't already used.

  3. Create .claude/skills/<slug>.md with the template below.

  4. Open the file for editing and draft the body with the operator. Guide them through each section of the template — don't dump it and leave.

  5. Self-review against references/skill-review-criteria.md. Go through every checkbox. Fix anything missing. Do not skip this step.

  6. Update skills-index.yaml — append an entry for the new skill. Use the same slug, file name, description, triggers, scale, tools, and lifecycle.

  7. Update .claude/skills/README.md — add a row to the human-readable table.

  8. Update agent-instructions/ if the skill introduces a recurring practice that deserves its own topic file or section (e.g. a new-skill for release automation might update development-workflow.md).

  9. Commit (ask first): stage the new skill, the updated index, and the updated README. Commit message: feat(skills): add /<slug> — <one-line description>

Template

---
name: <slug>
description: <one-line description, verb-first, under 200 chars>
---

# <Human title>

<One paragraph: what this skill does and when to invoke it. Link to the
relevant `agent-instructions/` topic file(s).>

## Pre-flight

<What must be true before running. Detected stack? Clean working tree? Operator
confirmation? Any "stop and ask" conditions.>

## Steps

1. <Numbered, ordered, imperative. One action per step.>
2. ...
3. ...

## Output format

<If the skill produces a report, table, file, or other artifact, show the exact
structure. Use a literal example where possible.>

## Invariants

- <Things the skill must never do — destructive without confirmation, secret
  exposure, etc.>
- <Things the skill must always do — cite file:line, respect the task scale,
  link to the source of truth.>

## Related

- <Topic files, other skills, external docs.>

Invariants

  • Don't create a skill that duplicates an existing one. Update the existing skill instead.
  • Don't merge skills that solve genuinely different problems. Keep responsibilities narrow.
  • Don't skip the review checklist. Skill quality compounds — a sloppy skill trains sloppy operators.
  • Don't forget the index. A skill not listed in skills-index.yaml is invisible to skill-selection.

Related

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/create-a-new-skill-mrwak94i/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/create-a-new-skill-mrwak94i' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-a-new-skill-mrwak94i/download' --output '.skill-downloads/create-a-new-skill-mrwak94i/SKILL.md.part' && mv '.skill-downloads/create-a-new-skill-mrwak94i/SKILL.md.part' '.skill-downloads/create-a-new-skill-mrwak94i/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/create-a-new-skill-mrwak94i/SKILL.md' && test -s '.skill-downloads/create-a-new-skill-mrwak94i/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/new-skill' && cp -R '.skill-downloads/create-a-new-skill-mrwak94i' '.claude/skills/new-skill'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/create-a-new-skill-mrwak94i'

openskills read 'create-a-new-skill-mrwak94i'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/create-a-new-skill-mrwak94i/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills