skill-creator · patricio0312rev — Claude Code skill: generate new skills
A skill that writes new skills to repo conventions: structure, frontmatter, workflow and code examples.
npx skills add patricio0312rev/skills --skill skill-creator -a claude-codeWhat skill-creator does
skill-creator walks you through building a new skill from scratch. It starts with the purpose and trigger phrases, then the category, then a SKILL.md with frontmatter, reference files and code samples, and finishes with a checklist to verify the output.
Inside you get a category table with paths (foundation/, frontend/, backend/, ai-engineering/, architecture/, ci-cd/, database-management/, testing/, security/, performance/), a SKILL.md template and frontmatter rules. The skill name must be kebab-case and match the folder name. Optional templates.md, conventions.md and patterns.md go into a references/ subfolder.
The skill is tied to one repo layout: the categories and paths come from patricio0312rev/skills. On your own folder structure you will have to rewrite that table, or the skill will drop files in the wrong place.
What it helps with
- scaffold a new skill from the repo template
- pick a category folder for a skill
- write frontmatter with trigger phrases
- add reference files to a skill
- verify a finished skill against a checklist
Example prompts for the agent
- create a skill for API rate limiting
- add a new skill under the backend category
- generate a skill with code examples and a checklist
How to install skill-creator
1Skills CLI (Vercel)
npx skills add patricio0312rev/skills --skill skill-creator -a claude-code2Manually: put the files in place
~/.claude/skills/skill-creator/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/skill-creator/
1Skills CLI (Vercel)
npx skills add patricio0312rev/skills --skill skill-creator -a codex2Manually: put the files in place
.agents/skills/skill-creator/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add patricio0312rev/skills --skill skill-creator -a cursor2Manually: put the files in place
.cursor/skills/skill-creator/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install patricio0312rev/skills skill-creator2Manually: put the files in place
.github/skills/skill-creator/SKILL.md1Skills CLI (Vercel)
npx skills add patricio0312rev/skills --skill skill-creator -a gemini-cli2Platform CLI
gemini skills install https://github.com/patricio0312rev/skills --path foundation/skill-creatorManually: put the files in place
.devin/skills/skill-creator/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add patricio0312rev/skills --skill skill-creator -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about skill-creator
How do I install skill-creator in Claude?
Run npx skills add patricio0312rev/skills --skill skill-creator -a claude-code. The skill file then lives at ~/.claude/skills/skill-creator/SKILL.md.
What does skill-creator do?
It generates new Claude skills following repo conventions: folder structure, frontmatter, workflow, code examples and reference files.
Will it work in my repository?
The categories and paths come from patricio0312rev/skills. For your own folder layout you need to rewrite the category table.
Source text
SKILL.md · MIT
---
name: skill-creator
description: Creates new Claude Code skills following repository conventions with proper structure, frontmatter, workflows, code examples, and reference files. Use when users request "create a skill", "new skill", "generate skill", or "add skill to collection".
---
# Skill Creator
Generate production-ready Claude Code skills following established conventions.
## Core Workflow
1. **Define skill purpose**: Clear name, description, and use cases
2. **Determine category**: Place in correct folder (foundation, frontend, backend, etc.)
3. **Create SKILL.md**: Main skill file with frontmatter and content
4. **Add references**: Optional templates.md, conventions.md, or patterns.md
5. **Include examples**: Production-ready code samples
6. **Write checklist**: Output verification checklist
## Skill Categories
| Category | Path | Purpose |
| -------------- | ---------------------- | ----------------------------------------- |
| Foundation | `foundation/` | Project setup, dev environment, git, docs |
| Frontend | `frontend/` | React, Vue, UI components, styling, UX |
| Backend | `backend/` | APIs, auth, server logic, services |
| AI Engineering | `ai-engineering/` | LLMs, RAG, agents, prompts |
| Architecture | `architecture/` | System design, ADRs, tech decisions |
| CI/CD | `ci-cd/` | Automation, deployments, pipelines |
| Database | `database-management/` | Migrations, queries, data engineering |
| Testing | `testing/` | Unit tests, integration, e2e, mocks |
| Security | `security/` | Vulnerabilities, auth, hardening |
| Performance | `performance/` | Observability, monitoring, optimization |
## SKILL.md Template
```markdown
---
name: skill-name-in-kebab-case
description: One-line description of what the skill does and when to use it. Include trigger phrases like "use when users request X, Y, or Z".
---
# Skill Title
Brief tagline explaining the skill's value proposition.
## Core Workflow
1. **Step one**: Description
2. **Step two**: Description
3. **Step three**: Description
...
## [Main Content Sections]
### Section with Code Examples
\`\`\`typescript
// Production-ready code example
\`\`\`
### Patterns / Templates
Document reusable patterns with examples.
## Best Practices
- Practice one
- Practice two
- Practice three
## Output Checklist
Every output should include:
- [ ] Item one
- [ ] Item two
- [ ] Item three
```
## Reference Files Structure
When skills need supplementary documentation:
```
skill-name/
├── SKILL.md # Main skill file (required)
└── references/ # Optional reference materials
├── templates.md # Code/file templates
├── conventions.md # Standards and conventions
└── patterns.md # Reusable patterns
```
## Frontmatter Requirements
```yaml
---
name: kebab-case-skill-name # Must match folder name
description: >
Clear description including:
- What the skill does
- When to use it
- Trigger phrases ("use when X", "create Y", "generate Z")
---
```
## Content Guidelines
### Code Examples
- Must be production-ready, not pseudocode
- Include TypeScript types where applicable
- Show complete, working examples
- Use modern syntax and best practices
### Sections to Include
1. **Core Workflow**: Numbered steps for using the skill
2. **Main Content**: Patterns, templates, examples
3. **Best Practices**: Industry-proven recommendations
4. **Output Checklist**: Verification items
### Writing Style
- Active voice, imperative mood
- Concise, scannable formatting
- Tables for structured comparisons
- Code blocks for all technical content
## Skill Quality Criteria
### Completeness
- [ ] Solves a specific, well-defined problem
- [ ] Includes working code examples
- [ ] Has clear trigger phrases in description
- [ ] Provides output verification checklist
### Consistency
- [ ] Follows naming conventions (kebab-case)
- [ ] Uses standard section headings
- [ ] Matches existing skill format
- [ ] Placed in correct category folder
### Usefulness
- [ ] Examples are copy-paste ready
- [ ] Covers common use cases
- [ ] Anticipates edge cases
- [ ] References external docs where helpful
## Example: Creating a New Skill
### Step 1: Define the Skill
```
Name: api-rate-limiter
Category: backend
Purpose: Implement rate limiting for APIs
Triggers: "add rate limiting", "protect API", "throttle requests"
```
### Step 2: Create Folder Structure
```bash
mkdir -p backend/api-rate-limiter
touch "backend/api-rate-limiter/SKILL.md"
```
### Step 3: Write SKILL.md
```markdown
---
name: api-rate-limiter
description: Implements rate limiting for APIs using token bucket, sliding window, or fixed window algorithms. Use when users request "add rate limiting", "protect API from abuse", or "throttle requests".
---
# API Rate Limiter
Protect your APIs from abuse with production-ready rate limiting.
## Core Workflow
...
```
### Step 4: Add References (if needed)
```bash
mkdir -p backend/api-rate-limiter/references
touch backend/api-rate-limiter/references/algorithms.md
```
## Output Checklist
When creating a new skill:
- [ ] Skill name is kebab-case
- [ ] Description includes trigger phrases
- [ ] Placed in correct category folder
- [ ] SKILL.md follows template structure
- [ ] Code examples are production-ready
- [ ] Includes Core Workflow section
- [ ] Has Output Checklist section
- [ ] Reference files added if needed
© patricio0312rev · MIT · patricio0312rev/skills
Similar skills
All skills for Agent setup: memory, context, orchestration →skill-creator by other authors comes first.