Skip to main content

writing-skills

Use when creating, updating, or improving agent skills.

Jump to install

Source facts

Repository
Zidong-LLC/BIBLIOTECA
Last source activity
March 11, 2026 at 13:02
Detected SKILL.md language
English
Stars
36
Forks
22

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
21 files

Showing SKILL.md

SKILL.md
Source instructions ยท Read-only preview
name
writing-skills
description
Use when creating, updating, or improving agent skills.
category
meta
risk
unknown
source
community
date_added
2026-02-27
# Writing Skills (Excellence) Dispatcher for skill creation excellence. Use the decision tree below to find the right template and standards. ## โšก Quick Decision Tree ### What do you need to do? 1. **Create a NEW skill:** - Is it simple (single file, <200 lines)? โ†’ [Tier 1 Architecture](references/tier-1-simple/README.md) - Is it complex (multi-concept, 200-1000 lines)? โ†’ [Tier 2 Architecture](references/tier-2-expanded/README.md) - Is it a massive platform (10+ products, AWS, Convex)? โ†’ [Tier 3 Architecture](references/tier-3-platform/README.md) 2. **Improve an EXISTING skill:** - Fix "it's too long" -> [Modularize (Tier 3)](references/templates/tier-3-platform.md) - Fix "AI ignores rules" -> [Anti-Rationalization](references/anti-rationalization/README.md) - Fix "users can't find it" -> [CSO (Search Optimization)](references/cso/README.md) 3. **Verify Compliance:** - Check metadata/naming -> [Standards](references/standards/README.md) - Add tests -> [Testing Guide](references/testing/README.md) ## ๐Ÿ“š Component Index | Component | Purpose | |-----------|---------| | **[CSO](references/cso/README.md)** | "SEO for LLMs". How to write descriptions that trigger. | | **[Standards](references/standards/README.md)** | File naming, YAML frontmatter, directory structure. | | **[Anti-Rationalization](references/anti-rationalization/README.md)**| How to write rules that agents won't ignore. | | **[Testing](references/testing/README.md)** | How to ensure your skill actually works. | ## ๐Ÿ› ๏ธ Templates - [Technique Skill](references/templates/technique.md) (How-to) - [Reference Skill](references/templates/reference.md) (Docs) - [Discipline Skill](references/templates/discipline.md) (Rules) - [Pattern Skill](references/templates/pattern.md) (Design Patterns) ## When to Use - Creating a NEW skill from scratch - Improving an EXISTING skill that agents ignore - Debugging why a skill isn't being triggered - Standardizing skills across a team ## How It Works 1. **Identify goal** โ†’ Use decision tree above 2. **Select template** โ†’ From `references/templates/` 3. **Apply CSO** โ†’ Optimize description for discovery 4. **Add anti-rationalization** โ†’ For discipline skills 5. **Test** โ†’ RED-GREEN-REFACTOR cycle ## Quick Example ```yaml --- name: my-technique description: Use when [specific symptom occurs]. metadata: category: technique triggers: error-text, symptom, tool-name --- # My Technique ## When to Use - [Symptom A] - [Error message] ``` ## Common Mistakes | Mistake | Fix | |---------|-----| | Description summarizes workflow | Use "Use when..." triggers only | | No `metadata.triggers` | Add 3+ keywords | | Generic name ("helper") | Use gerund (`creating-skills`) | | Long monolithic SKILL.md | Split into `references/` | See [gotchas.md](gotchas.md) for more. ## โœ… Pre-Deploy Checklist Before deploying any skill: - [ ] `name` field matches directory name exactly - [ ] `SKILL.md` filename is ALL CAPS - [ ] Description starts with "Use when..." - [ ] `metadata.triggers` has 3+ keywords - [ ] Total lines < 500 (use `references/` for more) - [ ] No `@` force-loading in cross-references - [ ] Tested with real scenarios ## ๐Ÿ”— Related Skills - **opencode-expert**: For OpenCode environment configuration - Use `/write-skill` command for guided skill creation ## Examples **Create a Tier 1 skill:** ```bash mkdir -p ~/.config/opencode/skills/my-technique touch ~/.config/opencode/skills/my-technique/SKILL.md ``` **Create a Tier 2 skill:** ```bash mkdir -p ~/.config/opencode/skills/my-skill/references/core touch ~/.config/opencode/skills/my-skill/{SKILL.md,gotchas.md} touch ~/.config/opencode/skills/my-skill/references/core/README.md ```
View on GitHub