Add Skill to Template

VerifiedSafe

Adds a new agent skill to an existing project template, creating necessary directories and configuration files.

Sby Skills Guide Bot
DevelopmentIntermediate
7/24/2026
Claude Code
#agent-skill#template#skill-creation#development-workflow

Recommended for

Automated summary

Adds an agent skill to an existing project template, creating the directory structure and necessary files.

Strengths

  • Structured process for consistent skill creation
  • Automates directory and file setup
  • Incorporates best practices for agent skills

Limitations

  • Only works with Claude Code skill format
  • Requires manual user input for skill details
  • Does not validate the actual skill content
When to use it

Use this skill when you need to add a reusable, context-aware capability to an existing project template.

When not to use it

Avoid using it if the project does not support Claude Code skills or if the skill to add is too complex to be defined interactively.

Security analysis

Safe
Quality score88/100

The skill performs only intended file and directory creation under user-specified paths. No destructive actions, exfiltration, or obfuscation is instructed. Bash is used legitimately for directory operations, and the skill does not invoke hidden or external payloads.

No concerns found

How this analysis is made

Examples

Add component generator skill to React template
/add-skill react-template component-generator
Add API validator skill to Django template
/add-skill django-template api-validator

description: Add an agent skill to an existing template argument-hint: <template-name> <skill-name> allowed-tools: Read(), Write(), Bash(*)

Add a new agent skill to an existing project template. Skills are automatically activated based on context.

Arguments

  • $1: Template directory name (e.g., "django-template", "react-template")
  • $2: Skill name in lowercase-letters-numbers-hyphens (e.g., "component-generator", "api-validator")

Process

  1. Verify Template Exists

Check that $1/.claude/skills/ directory exists.

  1. Gather Skill Details

Ask the user:

  • What capability does this skill provide?
  • When should it automatically activate?
  • What file types or scenarios trigger it?
  • What patterns or templates does it implement?
  • Should it be read-only or can it modify code?
  1. Create Skill Directory

Create $1/.claude/skills/$2/ with:

  • SKILL.md (required)
  • reference.md (optional - detailed docs)
  • examples/ (optional - example files)
  • templates/ (optional - code templates)
  • scripts/ (optional - helper scripts)
  1. Create SKILL.md

Generate with proper frontmatter and comprehensive instructions.

  1. Update Documentation

Add the skill to $1/README.md in the skills section.

Example Usage

/add-skill react-template component-generator

Best Practices for Skills

  • Specific triggers: Include file extensions, keywords in description
  • Focused capability: One skill, one type of task
  • Complete examples: Show full, working code
  • Framework-specific: Tailor to the template's technology
  • Tool restrictions: Limit to necessary tools

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/add-skill-to-template-mrwakeac/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/add-skill-to-template-mrwakeac' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/add-skill-to-template-mrwakeac/download' --output '.skill-downloads/add-skill-to-template-mrwakeac/SKILL.md.part' && mv '.skill-downloads/add-skill-to-template-mrwakeac/SKILL.md.part' '.skill-downloads/add-skill-to-template-mrwakeac/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.

Tools declared by the author (check availability in your agent): Read(*), Write(*), Bash(*)

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/add-skill-to-template-mrwakeac/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