skill-creation-guide
Skill Creation Guide
This guide helps you create effective Claude Code skills.
When This Applies
Use this guide when you want to:
- Create a new skill for yourself or a plugin
- Understand SKILL.md format and structure
- Learn skill development best practices
- Convert a repeated workflow into a skill
BE SKEPTICAL
Not every idea makes a good skill. Before creating one, evaluate:
Recurrence Test
- Will this be used repeatedly?
- ✅ CREATE: Weekly or more frequent use
- ⚠️ RECONSIDER: Monthly use - may not be worth it
- ❌ SKIP: One-time need - don't create a skill
Automation Test
- Can this actually be automated?
- ✅ CREATE: Clear, repeatable process
- ⚠️ RECONSIDER: Requires significant judgment each time
- ❌ SKIP: Too context-dependent, each case is unique
Value Test
- Is the cumulative time savings significant?
- ✅ CREATE: Saves meaningful time per use
- ⚠️ RECONSIDER: Marginal time savings
- ❌ SKIP: Takes longer to invoke than doing manually
Duplication Test
- Does this already exist?
- ✅ CREATE: Novel approach to an unaddressed need
- ⚠️ RECONSIDER: Similar to existing skill - maybe enhance instead
- ❌ SKIP: Already covered by existing skill or command
Don't create skills for:
- One-time organizational events (team mergers, annual planning)
- Tasks that are fundamentally different each time
- Simple tasks that take <30 seconds manually
- Things you'll forget exist and never invoke
What is a Skill?
A skill is a markdown file that teaches Claude how to handle specific situations. Skills auto-trigger based on context and provide specialized guidance.
Quick Start
The fastest way to create a skill:
# Discover opportunities from your work patterns
/glean-skills:discover
# Create a skill from a description
/glean-skills:create <skill-name>
SKILL.md Structure
---
name: skill-name-in-kebab-case
description: When this skill triggers. Be specific about phrases, contexts, and use cases.
---
# Skill Title
Brief overview of what this skill does.
## When This Applies
- Condition 1
- Condition 2
- Example phrases that trigger this
## Main Content
[The actual guidance, workflow, or instructions]
## Output Format (optional)
[Template for what the skill produces]
Best Practices
1. Specific Triggers
Bad: "Use for code review" Good: "Use when reviewing pull requests, checking code quality, or when user says 'review this PR', 'check my code', or 'code review'"
2. Progressive Disclosure
Start with the essential action, add details as sections:
- Quick summary at the top
- Detailed steps in the middle
- Edge cases and examples at the bottom
3. Actionable Content
Use imperative form:
- "Search for X" not "Searches for X"
- "Check the following" not "The following should be checked"
4. Reference Available Tools
Name the tools the skill uses:
- Glean tools:
search,memory,user_activity - Code tools:
Grep,Glob,Read - Workflow tools:
Task,AskUserQuestion
Where to Save Skills
| Location | Use Case |
|---|---|
~/.claude/skills/ |
Personal skills (your machine only) |
.claude/skills/ |
Project skills (shared with team) |
plugins/*/skills/ |
Plugin skills (distributed with plugin) |
Related Commands
/glean-skills:discover- Find skill opportunities from your work patterns/glean-skills:create <name>- Generate a SKILL.md from a description
More from gleanwork/claude-plugins
code-exploration
Use when the user asks about internal code, implementations, patterns across repositories, or needs to understand how something is built. Triggers on "how is X implemented", "where is the code for", "find the implementation of", "what repos contain", "who wrote the code for", or code architecture questions about internal systems.
15glean-tools-guide
Use when Glean MCP tools are available and you need guidance on which tool to use, how to format queries, or best practices for enterprise search. This skill provides tool selection logic and query optimization for Glean integrations. Auto-triggers when mcp__glean tools are being considered.
14activity-synthesis
Use when the user asks about their recent work, what they've been doing, their contributions, or needs to recall past activity. Triggers on phrases like "what have I been working on", "what did I do last week", "my recent activity", "what have I accomplished", "summarize my work", "what projects am I on", or when the user needs to recall or reflect on their own work.
13project-awareness
Use when the user asks about project status, ownership, or context. Triggers on phrases like "status of X project", "who owns Y", "what's happening with Z", "project update", "where does the project stand", "what's the state of", "who's working on", or when needing quick project context without a full analysis.
13people-lookup
Use when the user asks about people, employees, team members, org structure, or expertise. Triggers on phrases like "who works on", "who is responsible for", "who owns", "find someone who knows", "who should I talk to", "who reports to", "team members", "org chart", or any question starting with "who" about the company.
12enterprise-search
Use when the user asks about company documents, internal wikis, policies, specifications, design docs, RFCs, or enterprise knowledge. Triggers on phrases like "find the doc about", "what's our policy on", "where is the spec for", "company guidelines", "internal documentation", or when searching for information that would be in enterprise systems rather than the local codebase.
12