From ac-meta
Generates validated SKILL.md files for Claude Code skills with YAML frontmatter, naming conventions, tool minimalism, structure constraints, and best practices.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ac-meta:skill-writerThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Expert guide for creating Claude Code skills. Reference: https://code.claude.com/docs/en/skills
Expert guide for creating Claude Code skills. Reference: https://code.claude.com/docs/en/skills
Generate precise SKILL.md files that comply with Claude Code skill specification:
None - skill-writer has no runtime configuration.
Parse user request to determine:
STOP. Validate BEFORE generating.
| Field | Constraint |
|---|---|
name | Max 64 chars, /^[a-z0-9-]+$/, no "anthropic"/"claude" |
description | Max 1024 chars, third person, includes "Triggers on keywords:" |
project-agnostic | REQUIRED - must be explicitly true or false |
See cookbook/validation.md for detailed checks.
Choose from templates/:
skill-template.md - Comprehensive template with all sectionsApply template with validated values. Follow structure from templates/skill-template.md.
STOP. Verify before delivery.
1. Parse request -> scope, tools, agnostic?
2. Validate constraints -> BLOCK if invalid
3. Select pattern based on tool needs
4. Generate SKILL.md from template
5. Verify output -> BLOCK if violations
6. Deliver with checklist confirmation
Output format for generated skills:
## Generated Skill: {name}
### Validation
- Name: PASS/FAIL (reason)
- Description: PASS/FAIL (reason)
- Project-agnostic: PASS/FAIL (value)
- Tools: {count} tools granted
### Files Created
- SKILL.md ({line_count} lines)
- {supporting_files if any}
### Checklist
- [ ] Name constraints satisfied
- [ ] Description includes triggers
- [ ] project-agnostic explicitly set
- [ ] Under 500 lines
- [ ] Minimal tools granted
Focused purpose with minimal tools:
---
name: python-type-annotator
description: Adds type annotations to Python functions. Infers types from usage and docstrings. Triggers on keywords: add types, type hints, annotate python
project-agnostic: true
allowed-tools:
- Read
- Edit
- Glob
---
Clear triggers in description:
description: Formats SQL queries with consistent style. Handles SELECT, INSERT, UPDATE, DELETE. Triggers on keywords: format sql, sql formatter, pretty print sql
Explicit project-agnostic for reusable skills:
project-agnostic: true # Zero project dependencies
Vague name and description:
# BAD - unfocused
name: code-helper
description: Helps with all coding tasks
Missing trigger keywords:
# BAD - not discoverable
description: Formats SQL queries
Excessive tool permissions:
# BAD - grants more than needed for read-only task
allowed-tools:
- Read
- Write
- Edit
- Bash
- Glob
- Grep
Missing project-agnostic:
# BAD - required field missing
name: my-skill
description: Does something
allowed-tools:
- Read
Reserved word in name:
# BAD - contains reserved word
name: claude-assistant
---
name: skill-name
description: Third-person description under 1024 chars. Triggers on keywords: keyword1, keyword2
project-agnostic: true
allowed-tools:
- Read
- Glob
---
.claude/skills/skill-name/
SKILL.md # Required
supporting.md # Optional, one level only
| Task Type | Required Tools |
|---|---|
| Read/analyze | Read, Glob |
| Search content | Read, Glob, Grep |
| Write docs | Read, Write, Glob |
| Edit files | Read, Edit, Glob |
| Run commands | Bash, Read |
templates/skill-template.md - Comprehensive skill templatecookbook/validation.md - Validation checklist and scriptscookbook/patterns.md - Common skill patterns with examplescookbook/anti-patterns.md - What NOT to donpx claudepluginhub waterplanai/agentic-config --plugin ac-metaGuides development of Claude Code SKILL.md files with best practices, structure, YAML frontmatter rules, categories, patterns, references, and testing.
Create new Skills for Claude Code including YAML frontmatter, descriptions, instructions, and structure. Use when creating, building, or designing skills, or when asked about skill creation, structure, best practices, or debugging skills that don't activate properly.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.