Create a new skill

VerifiedSafe

Create a new skill under .claude/skills with valid frontmatter and index it in CLAUDE.md and README.md.

Sby Skills Guide Bot
DevelopmentIntermediate
8/19/2026
Claude Code
#skill-authoring#claude-code-config#scaffolding#frontmatter#documentation-index

Recommended for

Automated summary

Authors a new skill at .claude/skills/<name>/SKILL.md with valid YAML frontmatter, following the repo's conventions, and indexes it in CLAUDE.md and README.md.

Strengths

  • Enforces mandatory `name`/`description` frontmatter so the skill is actually discoverable
  • Checks that `skills/<name>/` does not already exist before writing anything
  • Mirrors a sibling skill's structure and tone (e.g. `ros2_controller_creation`) with intro, rules pointers, steps and common pitfalls
  • Updates the index in the same change and offers a matching `/new-*` command plus reviewer agent for scaffolding skills

Limitations

  • Tightly coupled to a specific repo layout (.claude/, rules/, ~/nav2_ws/src/, CLAUDE.md as index) and not portable as-is
  • Covers creation and indexing only — no editing, deleting or validating the resulting skill
  • Depends on clarifying questions (paired command/agent, which rules) and on reading the `extending_claude_config` skill, so it assumes existing context
When to use it

Use it when adding a new skill to this repository's .claude/ configuration while keeping the index consistent.

When not to use it

Avoid it in projects without this .claude/ layout and CLAUDE.md index, or when you need to edit an existing skill rather than create one.

Security analysis

Safe
Quality score88/100

The skill only instructs reading existing configuration, creating a new SKILL.md file, and updating index files. It uses Read, Write, Edit, and Bash for benign file management tasks. No destructive commands, network access, secret handling, or obfuscation are present.

No concerns found

How this analysis is made

Examples

New ROS2 skill from scratch
Create a new skill named lidar_scan_filtering — it should explain how to add a laser scan filter to the nav2 stack, with steps and common pitfalls.
Skill plus matching command
Add a scaffolding skill called new_lifecycle_node (trigger-oriented description: scaffold a nav2 lifecycle node package), then offer to create the matching /new-lifecycle-node command and index both in CLAUDE.md.
Index-only follow-up
The skill ros2_controller_creation exists but isn't listed — add it to the Skills index in .claude/CLAUDE.md under the right subsection and to README.md.

description: Author a new skill under .claude/skills/<name>/SKILL.md with valid frontmatter, following the template conventions, and index it in CLAUDE.md + README.md. argument-hint: "<skill_name> [one-line description]" allowed-tools: ["Bash", "Read", "Write", "Edit"]

Add a new skill to this .claude/ config.

Argument handling ($ARGUMENTS):

  1. <skill_name> — snake_case or kebab-case (required); becomes the directory name and the frontmatter name.
  2. [description] — one-line, trigger-oriented summary. If missing, ask.

If anything is unclear (does it pair with a command/agent? which rules?), ask before writing.

Process:

  1. Read the extending_claude_config skill (conventions + templates).
  2. Verify skills/<skill_name>/ does not already exist.
  3. Create skills/<skill_name>/SKILL.md with:
    • YAML frontmatter name: + description: (the description must say what it does and when to trigger).
    • a body: intro + pointers to the relevant rules/ and any reference repo under ~/nav2_ws/src/, a "first decision" section if it has variants, step-by-step instructions, and a "Common pitfalls" list.
    • tone/sections matching a sibling skill (e.g. ros2_controller_creation).
  4. Index it:
    • add a row to the Skills index in .claude/CLAUDE.md (correct subsection).
    • if it is a reference-type skill, also consider a "Where things live" row.
  5. If it is a scaffolding skill, offer to also create the matching /new-* command (/new-command) and, if it warrants review, a reviewer agent (/new-agent).
  6. Print: file created + the index rows added.

Frontmatter is mandatory — a skill without name/description is not discoverable. Always update the index in the same change.

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-mszmcaub/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-mszmcaub' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-a-new-skill-mszmcaub/download' --output '.skill-downloads/create-a-new-skill-mszmcaub/SKILL.md.part' && mv '.skill-downloads/create-a-new-skill-mszmcaub/SKILL.md.part' '.skill-downloads/create-a-new-skill-mszmcaub/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

This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.

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-mszmcaub/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