Our review
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
Use this skill when you need to add a reusable, context-aware capability to an existing project template.
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
SafeThe 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
Examples
/add-skill react-template component-generator/add-skill django-template api-validatordescription: 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
- Verify Template Exists
Check that $1/.claude/skills/ directory exists.
- 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?
- 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)
- Create SKILL.md
Generate with proper frontmatter and comprehensive instructions.
- 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
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.