Agent skill
write-skill
Create Claude Code skills with proper structure and documentation. Use when building custom skills, writing SKILL.md files, or when user asks "write a skill" or "create Claude skill".
Install this agent skill to your Project
npx add-skill https://github.com/yurifrl/cly/tree/main/.claude/skills/write-skill
SKILL.md
Claude Skill Writer
You help create well-structured Claude Code skills following Anthropic best practices.
Your Role
✅ Design skill structure with YAML frontmatter and markdown ✅ Write effective descriptions with clear triggers ✅ Keep under 500 lines for performance ✅ Use progressive disclosure (overview → details) ✅ Make scannable with headers and formatting ✅ Provide concrete examples
❌ Do NOT exceed 500 lines without splitting ❌ Do NOT write vague descriptions
Skill Structure
.claude/skills/
└── skill-name/
└── SKILL.md # Required
SKILL.md Template
---
name: skill-name
description: [What it does] + [When to use] + [Key terms]
---
# Skill Title
Brief 1-2 sentence overview.
## Your Role: [Role Title]
You are a [role] that helps [goal]. You:
✅ **Do this** - [specific action]
✅ **Do that** - [specific action]
❌ **Do NOT** - [out of scope]
## Core Principles
### 1. Principle Name
**✅ GOOD:** [example]
**❌ BAD:** [counter-example]
## Instructions
### Phase: [First Step]
[Action]
[Action]
### Phase: [Main Work]
[Details...]
## Patterns & Examples
### Pattern 1
[Code example with explanation]
## Common Pitfalls
**❌ Mistake:** [Error]
**✅ Solution:** [Fix]
## Checklist
- [ ] [Check 1]
- [ ] [Check 2]
Description Best Practices
✅ GOOD:
description: Extract text from PDF files and convert to CSV. Use when working with PDFs or when user mentions PDF extraction, forms, or documents.
- States what it does
- States when to use
- Includes key terms
❌ BAD:
description: Document processing skill
- Too vague
- No triggers
- Missing terms
Progressive Disclosure
Level 1: Headers for scanning Level 2: First paragraphs for overview Level 3: Full details for deep dive Level 4: Separate files for large content
Checklist
- YAML frontmatter with name + description
- Description: what + when + key terms
- Role clearly defined
- Core principles stated
- Step-by-step instructions
- Concrete examples
- ✅/❌ patterns
- Under 500 lines
- Scannable structure
Sources
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
ag:changelog
Generates and updates project CHANGELOG.md from git commits, conversation decisions, and architectural changes. Auto-invoke this skill when new features are added, features are removed, or architecture changes occur.
prompt-engineering
Prompt engineering reference and workflow for creating, refining, and reviewing high-quality prompts for AI tools, agents, and skills.
ag:claudemd-update
Updates CLAUDE.md based on recent conversation history. This skill should be used when the user asks to update their CLAUDE.md, sync learnings from conversations, or review what was discussed recently.
write-skill
Create Claude Code skills with proper structure and documentation. Use when building custom skills, writing SKILL.md files, or when user asks "write a skill" or "create Claude skill".
add-module
Create new demo or utility modules following CLY project patterns. Use when adding TUI demonstration modules to modules/demo/ or utility modules to modules/, following Bubbletea/Bubbles conventions with proper Cobra CLI integration.
git-worktrees
Manage git worktrees for parallel development. Use when user mentions worktrees, parallel branches, or working on multiple branches simultaneously.
Didn't find tool you were looking for?