create-local-skill

Scaffolds a project-local Claude Code skill at .claude/skills/<slug>/SKILL.md.

Updated Jul 29, 2026
One-click install
npx skills add https://github.com/chris-prener/dev-kit --skill create-local-skill-chris-prener
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: create-local-skill
Source: https://github.com/chris-prener/dev-kit/tree/main/dev-kit/skills/create-local-skill
Command: npx skills add https://github.com/chris-prener/dev-kit --skill create-local-skill-chris-prener

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating a project-specific Claude Code skill by hand means remembering the correct directory location, frontmatter fields, and section layout every time. This Skill scaffolds a new project-local skill with the standard structure so you only fill in the content. ## Core Features & Use Cases - Slug validation: Checks that the slug is kebab-case, does not already exist, and does not shadow an existing dev-kit skill name. - Standard scaffold: Generates SKILL.md with frontmatter (name, description, when_to_use, model) and the standard sections (Activation, Inputs, Steps, Outputs, Success criteria, Out of scope, Cross-references). - Use Case: Your repo needs a domain-specific check that no shared workflow skill covers. Ask to create a local skill, provide a slug and description, and get a ready-to-fill SKILL.md at .claude/skills/<slug>/SKILL.md. ## Quick Start Create a new project-local skill called my-custom-check that validates our domain-specific naming conventions.

Frequently Asked Questions about create-local-skill

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

FAQPage Schema
How do I create a project-local Claude Code skill?▼

Provide a kebab-case slug, a one-line description, and trigger phrases. The skill scaffolds .claude/skills/<slug>/SKILL.md with valid frontmatter and the standard section layout, which you then fill in with the skill's actual instructions.

When should I use a project-local skill instead of a dev-kit skill?▼

Use a project-local skill when the behavior is specific to one codebase, such as a domain check or local convention. Language-agnostic workflow skills that would help every project belong in the shared dev-kit plugin instead.

What happens if the skill slug already exists?▼

The scaffolding halts with an error telling you the directory already exists at .claude/skills/<slug>/. You either edit the existing skill directly or choose a different slug.

Can a local skill have the same name as a dev-kit skill?▼

It can, but the scaffold warns you first. A project-local skill with the same name will shadow the dev-kit skill in that repository, so you must confirm the shadowing is intentional or pick a different slug.

Does this skill write the skill body content for me?▼

No. It only scaffolds the structure: frontmatter plus empty standard sections like Activation, Inputs, Steps, and Outputs. Filling in the actual instructions is out of scope and done manually.