Writing skills

From sinhoneyy/master-skills · View interactive version

Writing skills is an AI agent skill from the GitHub repository sinhoneyy/master-skills. Use when creating, updating, or improving agent skills.

How to use this skill

Skill file

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:
  1. Improve an EXISTING skill:
  1. Verify Compliance:

📚 Component Index

| Component | Purpose |

|-----------|---------|

| CSO | "SEO for LLMs". How to write descriptions that trigger. |

| Standards | File naming, YAML frontmatter, directory structure. |

| Anti-Rationalization| How to write rules that agents won't ignore. |

| Testing | How to ensure your skill actually works. |

🛠️ Templates

When to Use

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

---
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 for more.

✅ Pre-Deploy Checklist

Before deploying any skill:

🔗 Related Skills

Examples

Create a Tier 1 skill:

mkdir -p ~/.config/opencode/skills/my-technique
touch ~/.config/opencode/skills/my-technique/SKILL.md

Create a Tier 2 skill:

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

Limitations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.