skill-development
15
总安装量
4
周安装量
#22504
全站排名
安装命令
npx skills add https://github.com/letta-ai/skills --skill skill-development
Agent 安装分布
opencode
3
gemini-cli
3
antigravity
3
claude-code
3
codex
3
openclaw
3
Skill 文档
Skill Development
Guide for creating effective skills and contributing them to the communal knowledge base.
When to Use This Skill
Creating skills:
- Building a new skill for a specific domain or workflow
- Updating an existing skill with improvements
- Packaging skills for distribution
Contributing skills:
- You discovered something that took significant time to figure out
- Existing skill instructions were incomplete or led you astray
- You repeatedly solve the same undocumented problem
Part 1: Creating Skills
Skill Structure
skill-name/
âââ SKILL.md (required)
â âââ YAML frontmatter (name, description)
â âââ Markdown instructions
âââ Bundled Resources (optional)
âââ scripts/ - Executable code
âââ references/ - Documentation loaded as needed
âââ assets/ - Files used in output
SKILL.md Requirements
---
name: skill-name
description: What this skill does. Use when [triggers].
---
# Skill Name
[Instructions in imperative form...]
Metadata rules:
name: lowercase, hyphens, gerund form (e.g.,creating-skills)description: Lead with action verbs, end with “Use when [triggers]”
Writing Style
Write in imperative/infinitive form (verb-first), not second person:
- â “To accomplish X, do Y”
- â “You should do X”
Progressive Disclosure
Keep SKILL.md lean (<5k words). Move detailed content to references/:
- Metadata (~100 words) – Always in context
- SKILL.md body (<5k words) – When skill triggers
- References (unlimited) – Loaded as needed by agent
Scripts
Include scripts for tasks that:
- Are repeatedly rewritten
- Require deterministic reliability
- Save significant tokens
Part 2: Contributing Skills
Core Philosophy
This repository is a living knowledge base. Skills must contain general-purpose knowledge that helps many agents – not project-specific configs or personal preferences.
What to Contribute
| â Contribute | â Don’t Contribute |
|---|---|
| Patterns that appear 3+ times | One-off solutions |
| General API/tool patterns | Project-specific configs |
| Battle-tested workarounds | Personal preferences |
| Gap in existing skills | Already documented elsewhere |
Validation Checklist
Before contributing, verify:
- Is this generalizable beyond your specific context?
- Have you seen this pattern multiple times?
- Does this address a real gap vs. personal preference?
- Would this help an agent on a completely different project?
Contribution Process
- Recognize – Notice patterns during work (time investment, repetition, corrections)
- Validate – Confirm pattern is general, not specific to your context
- Create branch –
add/skill-nameorfix/skill-name - Submit PR – Clear description with rationale and evidence
See references/pr-workflow.md for detailed PR process.
Scripts
scripts/init_skill.py– Initialize skill directory structurescripts/package_skill.py– Package skill for distributionscripts/quick_validate.py– Validate SKILL.md format
References
references/recognizing-learnings.md– Patterns for spotting valuable learningsreferences/validation-criteria.md– Detailed validation guidelinesreferences/pr-workflow.md– PR process and templatesreferences/contribution-examples.md– Real contribution examplesreferences/progressive-disclosure-research.md– Research on skill organization