Automated summary
This skill guides the creation of new Claude Code skills by supplying a SKILL.md template, frontmatter rules, and writing guidance.
Strengths
- Includes a complete SKILL.md template with when-to-use, instructions, examples, and references sections.
- Documents required and optional frontmatter fields with their constraints.
- Explains how to write an effective trigger description using good and bad examples.
- Provides a clear directory structure for scripts, references, and assets.
Limitations
- The supplied content cuts off mid-way through the best-practices section.
- Does not include a validation script or automated test procedure.
- Is specific to the Claude Code skill format and does not address other agent platforms.
Use it when drafting, scaffolding, or refining a Claude Code skill with compliant frontmatter.
Avoid it for building skills on other platforms or for automatically validating an existing skill.
Security analysis
CautionThe skill contains no destructive, exfiltrating, obfuscated, or safety-disabling instructions. It is a benign documentation/scaffolding guide. The main concern is that it promotes broad default tool permissions, including Bash and Write, for generated skills, which warrants caution rather than a clean safe rating.
- •The SKILL.md template recommends `allowed-tools: Read, Write, Glob, Grep, Bash` as a default for generated skills. Granting Bash and Write broadly is unnecessary for many skills and could encourage over-privileged skills.
- •The skill instructs creating files under project or personal `.claude/skills` directories; this is expected for a skill builder but should be scoped carefully.
- •Declares Bash and Write, enabling filesystem modification and command execution for legitimate skill scaffolding, but the text does not define scope limits or confirmation gates for those capabilities.
Examples
Create a new Claude Code skill named sql-migration-reviewer in .claude/skills, including SKILL.md with frontmatter, when-to-use sections, and references.Rewrite the description in my SKILL.md so Claude reliably invokes it for Docker debugging and container log analysis.Scaffold a skill for PDF extraction with a scripts folder and references, and show the correct frontmatter fields.name: skill-builder description: Create new Claude Code skills with proper SKILL.md format, frontmatter, and best practices. Use when building, scaffolding, or generating a new skill for Claude Code. allowed-tools: Read, Write, Glob, Grep, Bash metadata: author: mineflayer-bedrock version: "1.0"
Claude Code Skill Builder
Create well-structured Claude Code skills that follow best practices and the Agent Skills specification.
Quick Start
- Choose skill location: Project (
.claude/skills/) or Personal (~/.claude/skills/) - Create directory:
{location}/{skill-name}/ - Generate SKILL.md using template below
- Add supporting files (scripts, references, assets) as needed
- Test the skill by asking Claude to perform matching tasks
SKILL.md Template
Create file at: {location}/{skill-name}/SKILL.md
---
name: your-skill-name
description: Clear description of what this skill does (max 200 chars). Include trigger keywords users would naturally say.
allowed-tools: Read, Write, Glob, Grep, Bash
metadata:
author: your-name
version: "1.0"
---
# Your Skill Name
Brief overview of the skill's purpose.
## When to use
- Trigger condition 1
- Trigger condition 2
- Trigger condition 3
## When NOT to use
- Exclusion condition 1
- Exclusion condition 2
## Instructions
Step-by-step guidance for completing the workflow:
1. **First step**: Description
2. **Second step**: Description
3. **Third step**: Description
## Examples
### Example 1: [Scenario Name]
**Input**: User says "..."
**Output**: Claude does...
## Common mistakes to avoid
- Mistake 1 and how to prevent it
- Mistake 2 and how to prevent it
## References
| Resource | Location |
|----------|----------|
| Documentation | `references/docs.md` |
| API Reference | `references/api.md` |
Frontmatter Reference
Required Fields
| Field | Constraints | Purpose |
|-------|-------------|---------|
| name | Max 64 chars, lowercase, hyphens only | Unique identifier (must match directory name) |
| description | Max 200 chars, non-empty | Critical - Claude uses this to decide when to invoke |
Optional Fields
| Field | Purpose | Example |
|-------|---------|---------|
| license | License type | Apache-2.0, MIT |
| allowed-tools | Pre-approved tools | Read, Write, Glob, Grep, Bash |
| compatibility | Environment requirements | node >= 18, unix |
| metadata | Custom key-value pairs | author: name, version: "1.0" |
Directory Structure
skill-name/
├── SKILL.md # Required - Core instructions (<500 lines)
├── scripts/ # Optional - Executable code (Python/Bash)
│ └── helper.py
├── references/ # Optional - Documentation loaded into context
│ ├── api.md
│ └── schema.md
└── assets/ # Optional - Templates, config files
└── template.json
File Purposes
| Folder | Purpose | Loading |
|--------|---------|---------|
| SKILL.md | Core instructions | Always (when skill activates) |
| scripts/ | Repeatable automation | Executed on demand |
| references/ | Extended documentation | Read into context on demand |
| assets/ | Templates and resources | Used for output generation |
Writing Effective Descriptions
The description is critical - it determines whether Claude activates your skill.
Good Description Pattern
[What it does] + [When to use it with trigger keywords]
Examples
Good:
description: Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDFs, forms, or document extraction.
Good:
description: Generate TypeScript API clients from OpenAPI specs. Use when creating SDK, API wrapper, or client code from swagger/openapi files.
Bad:
description: Helps with PDFs.
Bad:
description: A utility for API work.
Best Practices
Keep SKILL.md Concise
- Target under 500 lines (~5,000 tokens)
- Move detailed documentation to
references/ - Use tables and bullet points over prose
Define Clear Boundaries
Always include both:
- When to use: Positive triggers
- When NOT to use: Negative boundaries to prevent over-activation
Use Relative Paths
Reference files using paths relative to skill root:
scripts/extract.pyreferences/api-docs.mdassets/template.html
Security
- Never hardcode secrets, API keys, or passwords
- Audit scripts from untrusted sources
- Use environment variables for sensitive config
Skill vs MCP Server
| Feature | Skills | MCP Servers | |---------|--------|-------------| | Purpose | How to do something | Access to something | | Contains | Instructions, templates | Tools, resources | | Loading | On-demand (progressive) | Upfront | | Best for | Workflows, standards | Data access, APIs |
A skill can orchestrate multiple MCP servers. Use skills for workflow logic and MCP for connectivity.
Testing Checklist
- [ ] Directory name matches
namein frontmatter - [ ] Description includes trigger keywords
- [ ] SKILL.md under 500 lines
- [ ] All file references use relative paths
- [ ] When/When NOT sections are clear
- [ ] Examples demonstrate expected behavior
- [ ] Restart Claude Code to load new skill
- [ ] Test with natural language matching description
Example: Complete Skill
code-review Skill
---
name: code-review
description: Review code for bugs, security issues, and best practices. Use when reviewing PRs, checking code quality, or auditing implementations.
allowed-tools: Read, Glob, Grep
metadata:
author: team
version: "1.0"
---
# Code Review
Systematic code review following team standards.
## When to use
- Reviewing pull requests
- Checking code before commit
- Auditing security-sensitive code
- Evaluating code quality
## When NOT to use
- Simple typo fixes (just fix them)
- Understanding code (use exploration instead)
- Writing new code (use appropriate coding skill)
## Review Checklist
### Security
- [ ] No hardcoded secrets
- [ ] Input validation present
- [ ] SQL injection prevention
- [ ] XSS prevention
### Code Quality
- [ ] Functions under 50 lines
- [ ] Clear naming conventions
- [ ] Error handling present
- [ ] No dead code
### Testing
- [ ] Unit tests for new functions
- [ ] Edge cases covered
- [ ] Integration tests if needed
## Output Format
Provide findings as:
| Severity | File:Line | Issue | Suggestion |
|----------|-----------|-------|------------|
| High | src/auth.ts:42 | Hardcoded API key | Use env variable |
| Medium | src/user.ts:15 | Missing null check | Add optional chaining |
Documentation Links
| Resource | URL | |----------|-----| | Skills Overview | https://code.claude.com/docs/en/skills | | Creating Skills | https://support.claude.com/en/articles/12512198 | | Agent Skills Spec | https://github.com/anthropics/skills/blob/main/agent_skills_spec.md | | Template Skill | https://github.com/anthropics/skills/tree/main/template-skill | | Best Practices | https://docs.anthropic.com/en/docs/agents-and-tools/agent-skills |
Common Patterns
Workflow Skill
For multi-step processes:
## Workflow
1. **Gather**: Collect required information
2. **Validate**: Check prerequisites
3. **Execute**: Perform main action
4. **Verify**: Confirm success
Template Skill
For generating files:
## Template Usage
1. Copy template from `assets/template.ext`
2. Replace placeholders: `{{name}}`, `{{date}}`
3. Save to destination
Integration Skill
For connecting services:
## Integration Steps
1. Check MCP server is connected
2. Authenticate if needed
3. Call required endpoints
4. Transform response
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 filesThis 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.mdFrom the root of a test project, save the file as .skill-downloads/claude-code-skill-builder-mm78no6i/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/claude-code-skill-builder-mm78no6i' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/claude-code-skill-builder-mm78no6i/download' --output '.skill-downloads/claude-code-skill-builder-mm78no6i/SKILL.md.part' && mv '.skill-downloads/claude-code-skill-builder-mm78no6i/SKILL.md.part' '.skill-downloads/claude-code-skill-builder-mm78no6i/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, Glob, Grep, 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
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/claude-code-skill-builder-mm78no6i/SKILL.md' && test -s '.skill-downloads/claude-code-skill-builder-mm78no6i/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/skill-builder' && cp -R '.skill-downloads/claude-code-skill-builder-mm78no6i' '.claude/skills/skill-builder'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/claude-code-skill-builder-mm78no6i'openskills read 'claude-code-skill-builder-mm78no6i'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual 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/claude-code-skill-builder-mm78no6i/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.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.