From claudekit
Guides creating, editing, auditing Claude Code skills including file structure, trigger description best practices, naming conventions, and dual-stack example guidelines.
npx claudepluginhub duthaho/claudekit --plugin claudekitThis skill uses the workspace's default tool permissions.
- Creating a new skill from scratch
Guides creating and editing SKILL.md files for Claude Code skills, covering objectives, when to create, YAML frontmatter requirements, structure, and writing principles like showing patterns with examples.
Creates Claude Code skills with best practices for structure, validation, and testing. Useful when designing or refining skills, prompts, references, or supporting files.
Creates, updates, validates, and canonicalizes Claude Code skills. Use for new skill creation, modifications, structure checks, format fixes, or legacy migrations.
Share bugs, ideas, or general feedback.
.claude/commands/).claude/agents/)Every skill lives in .claude/skills/<name>/SKILL.md with this format:
---
name: <skill-name>
description: >
<trigger description — when Claude should activate this skill>
---
# <Skill Title>
## When to Use
- [concrete scenarios]
## When NOT to Use
- [anti-patterns, common misapplications]
---
## Core Content
[patterns, code examples, templates]
---
## Common Pitfalls
[mistakes to avoid]
---
## Related Skills
- `other-skill` — how it relates
The description field is the most important part — it determines when Claude activates the skill. It's a trigger description, not a summary.
# Specific trigger conditions with keywords
description: >
Trigger this skill whenever writing new features, fixing bugs, or
changing any behavior in production code. Activate for keywords like
"implement", "add feature", "fix bug". This skill should be the
default for ALL implementation work.
# Too vague — when does this trigger?
description: A skill about testing.
# Too narrow — misses common scenarios
description: Use only when the user says "write a unit test".
| Type | Convention | Examples |
|---|---|---|
| Methodology | Gerund (verb-ing) | brainstorming, writing-plans, systematic-debugging |
| Language/Framework | Noun | python, nestjs, react, postgresql |
| Pattern | Noun/compound | performance-optimization, session-management, git-workflows |
This matches Anthropic's own naming convention for superpowers skills.
Methodology skills (brainstorming, TDD, debugging, etc.) must include both Python and TypeScript examples:
### TypeScript
\`\`\`typescript
describe('calculateTotal', () => {
it('should sum item prices', () => {
expect(calculateTotal(items)).toBe(30);
});
});
\`\`\`
### Python
\`\`\`python
def test_calculate_total_sums_item_prices():
items = [{"price": 10}, {"price": 20}]
assert calculate_total(items) == 30
\`\`\`
Framework skills (nestjs, fastapi, react) use only their stack but go deeper:
- Module/DI patterns
- Request validation
- Authentication guards
- Database integration
- Testing patterns
- Error handling
- Deployment
pytest -v, npm test)Before committing a new or updated skill:
After writing the skill file:
| **Category** | Skills |
|--------------|--------|
| **Languages** | python, typescript, javascript |
| **Methodology - Planning** | brainstorming, writing-plans, executing-plans |
When improving an existing skill:
writing-plans — Plan format for multi-step implementation tasksverification-before-completion — Verify skills work before committingwriting-concisely — Keep skills concise and scannable