skills/egadams/create-new-skills/SKILL.md
Creates new Agent Skills for Claude Code following best practices and documentation. Use when the user wants to create a new skill, extend Claude's capabilities, or package domain expertise into a reusable skill.
npx skillsauth add aiskillstore/marketplace create-new-skillsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill helps you create new Agent Skills for Claude Code. Before starting, read the comprehensive documentation files in the docs/ directory for complete context.
Required Reading - Read these files in order before creating a skill:
What is a Skill?
SKILL.md file with YAML frontmatterProgressive Disclosure (3 Levels):
name and description in YAML frontmatterKey Principle: Only relevant content enters the context window at any time.
Ask the user these questions:
Document the answers for reference.
Create skills in the project's .claude/skills/ directory for team sharing:
mkdir -p .claude/skills/<skill-name>
Naming conventions:
pdf-processing, data-analysis)Note: Project skills (.claude/skills/) are automatically shared with your team via git. For personal skills only you use, create in ~/.claude/skills/ instead.
Every skill must have:
---
name: Your Skill Name
description: Brief description of what this Skill does and when to use it
---
# Your Skill Name
## Instructions
[Clear, step-by-step guidance for Claude]
## Examples
[Concrete examples of using this Skill]
Frontmatter Requirements:
name: Required, max 64 charactersdescription: Required, max 1024 characters
Optional Frontmatter (Claude Code only):
allowed-tools: Restrict which tools Claude can use (e.g., Read, Grep, Glob)Structure the instructions as:
Best Practices:
[reference.md](reference.md)Example workflow format:
### Workflow
1. **First step description**:
```bash
command to run
Second step description:
Third step...
#### Step 5: Write the Examples Section
Provide 2-4 concrete examples showing:
- Different use cases
- Various input formats
- Step-by-step execution
- Expected outcomes
**Example format:**
```markdown
### Example 1: Descriptive Title
User request:
User's exact request text
You would:
1. First action
2. Second action with command:
```bash
actual command
#### Step 6: Add Supporting Files (Optional)
If the skill needs additional context:
1. Create files alongside SKILL.md
2. Reference them from instructions: `[forms.md](forms.md)`
3. Use progressive disclosure - split by topic/scenario
**Common supporting file types:**
- Additional instructions (e.g., `advanced_usage.md`)
- Reference documentation (e.g., `api_reference.md`)
- Scripts in `scripts/` directory
- Templates in `templates/` directory
- Configuration examples
**Script guidelines:**
- Make executable: `chmod +x scripts/*.py`
- Add PEP 723 inline dependencies for Python scripts
- Include usage instructions in SKILL.md
- Return clear output for Claude to parse
#### Step 7: Test the Skill
1. Verify file structure:
```bash
ls -la .claude/skills/<skill-name>/
Check YAML frontmatter is valid:
head -10 .claude/skills/<skill-name>/SKILL.md
Test with relevant queries:
Iterate based on testing:
Since project skills are automatically shared with your team, commit them to git:
git add .claude/skills/<skill-name>
git commit -m "Add <skill-name> skill"
git push
Note: Team members will get the skill automatically when they pull the latest changes.
Description writing:
Instruction organization:
Skill scope:
File references:
[file.md](file.md) not absolute pathsPattern 1: Transcription skill
Pattern 2: Morning debrief skill
Pattern 3: Meta-skill (this one)
User request:
Create a skill that reviews Python code for best practices
You would:
mkdir -p .claude/skills/python-code-review
---
name: Python Code Review
description: Reviews Python code for PEP 8 compliance, security issues, and performance. Use when reviewing Python code, checking code quality, or analyzing Python files.
allowed-tools: Read, Grep, Glob
---
User request:
Build a skill for analyzing CSV data with statistics and visualizations
You would:
mkdir -p .claude/skills/csv-analysis/scripts
mkdir -p .claude/skills/csv-analysis/templates
scripts/analyze.py - Statistical analysis scriptscripts/visualize.py - Chart generation scripttemplates/report_template.md - Output template# /// script
# requires-python = ">=3.10"
# dependencies = ["pandas", "matplotlib", "seaborn"]
# ///
User request:
Create a skill for writing technical documentation with our company's style guide
You would:
mkdir -p .claude/skills/tech-docs/{templates,examples,guidelines}
SKILL.md - Overview and workflowguidelines/style_guide.md - Company style rulesguidelines/api_docs.md - API documentation specificsguidelines/user_guides.md - User guide standardstemplates/api_template.md - API doc templatetemplates/guide_template.md - User guide templateexamples/ - Sample documentationUser request:
Add spell correction to our transcribe skill
You would:
cat .claude/skills/transcribe/SKILL.md
touch .claude/skills/transcribe/spell_corrections.md
# Spell Corrections
- "cloud code" → "claude code"
- "API" → "API" (ensure caps)
...
Creating skills is about packaging expertise into discoverable, composable capabilities. Follow these principles:
Skills transform general-purpose Claude into a specialist for your domain. Start small, test early, and expand as needed.
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.