writing-skills
Skill1 starsChanged 4 months agoMITView on GitHub
Use when creating new skills, editing existing skills, or improving skill quality
154 other projects use a version of this, 5 of them edited.
Adopted by
Most recently taken up by
- andreymudri/fleetmatestheir own version, first seen Oct 5, 2026
- invergent-ai/surogatestheir own version, first seen Oct 5, 2026
- PostHog/posthogtheir own version, first seen Oct 4, 2026
- PostHog/posthog-fosstheir own version, first seen Oct 4, 2026
- crbnos/carbontheir own version, first seen Oct 4, 2026
- ryanportfolio/Corewise.Academytheir own version, first seen Oct 3, 2026
Used with
Projects with it also use diagnosing-superpowers, chinese-code-review and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
obraSkilldiagnosing-superpowers
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.
Also in 6 projects that use this
shibit-netSkillchinese-code-review
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
shibit-netSkillchinese-commit-conventions
中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
pedronauckSkillwriting-agents-md
Write or audit AGENTS.md/CLAUDE.md instructions. Use writing-skills for on-demand skills; excludes human-facing docs and READMEs.
Also in 3 projects that use this
MorningStar0709Skillchinese-git-workflow
Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".
Also in 3 projects that use this
MorningStar0709Skillworkflow-runner
Run an agency-orchestrator style YAML workflow inside the current Trae conversation by simulating or coordinating multiple roles. Use when the user provides a `.yaml` or `.yml` workflow, asks for multi-role collaboration, says things like “用多个角色一起评审这个 PRD”“多角色协作”“先生成工作流再执行”“让产品经理、架构师、QA 一起看一下”, or wants roles such as product manager, architect, reviewer, or QA to work together. Supports layered execution, role prompting, variable interpolation, document-backed inputs, and parallel steps only when the current environment has a clear subagent mapping. Do not use for ordinary implementation plans, simple code changes, or tasks already covered by `writing-plans`, `executing-plans`, `subagent-driven-development`, or single-purpose review/debug skills.
Also in 3 projects that use this
- +1 more from shibit-net
Other versions154 projects use a version of this.
Word for word · 0
None found.
Edited · 5
- yeaight7/agent-powerups★ 617% same
- asta-nguyen/agent-devkit★ 411% same
- theyoungastronauts/polaris★ 415% same
- ehm3dk/claude-skills-for-pms★ 313% same
- miptah21/skills★ 211% same
Wrote their own version · 149
- obra/superpowers★ 314ksame name
- PostHog/posthog★ 40ksame name
- jnMetaCode/superpowers-zh★ 8.3ksame name
- openai/plugins★ 7.3ksame name
- compozy/compozy★ 2.8ksame name
- crbnos/carbon★ 2.7ksame name
- GanyuanRan/Aegis★ 1.3ksame name
- PostHog/posthog-foss★ 721same name
- pedronauck/skills★ 633same name
- coco-research/coco★ 437same name
139 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-browserSkill
- analyze-issueSkill
- brainstormSkill
- code-reviewSkill
- debuggingSkill
- executeSkill
- find-skillsSkill
- frontend-designSkill
- gather-contextSkill
- obsidianSkill
- planSkill
- specSkill
- sync-agentsSkill
- sync-docsSkill
- testingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 11 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 144 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Keep supporting files only for heavy reference (100+ lines) or reusable tools/scripts.
- Distinctive: line 75
Start with "Use when..."
- Distinctive: line 77
Write in third person
- Distinctive: line 79
NEVER summarize the skill's workflow or process
- Distinctive: line 102
No parentheses or special characters
- Distinctive: line 112
Use cross-references instead of repeating content
- Very specific: line 125
Keep SKILL.md under 500 lines.
- Very specific: line 135
All reference files should link directly from SKILL.md.
- Distinctive: line 143
Before deploying a skill, verify it works:
- Distinctive: line 146
Start a fresh session with the skill loaded
- Distinctive: line 151
Create a scenario where following the skill is costly (time, effort, rework)
- Distinctive: line 152
Add realistic pressures: deadlines, sunk cost, authority figures
- Distinctive: line 156
If the session fails, the skill needs stronger language, explicit counters for the rationalizations you observed, or clearer structure.
“Common” is measured: kept by at least 6 in 10 of the 144 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Writing Skills
Overview
Skills are reference guides for proven techniques and patterns. They help future sessions find and apply effective approaches. Write them to be discovered, not just read.
Core principle: A skill is only useful if a future session can find it and follow it. Optimize for discovery first.
When to Create a Skill
Create when:
- Technique wasn't intuitively obvious
- You'd reference this across projects
- Pattern applies broadly
- Others would benefit
Don't create for:
- One-off solutions
- Standard practices well-documented elsewhere
- Project-specific conventions (put in AGENTS.md)
- Things enforceable by tooling (linters, compilers)
Directory Structure
skills/
skill-name/
SKILL.md # Main reference (required)
supporting-file.* # Only if neededKeep supporting files only for heavy reference (100+ lines) or reusable tools/scripts. Everything else stays inline.
SKILL.md Structure
---
name: skill-name-with-hyphens
description: Use when [specific triggering conditions and symptoms]
---
# Skill Name
## Overview
What is this? Core principle in 1-2 sentences.
## When to Use
Bullet list with symptoms and use cases.
When NOT to use.
## Core Pattern
Before/after comparison or key pattern.
## Quick Reference
Table or bullets for scanning common operations.
## Implementation
Inline code for simple patterns.
Link to file for heavy reference.
## Common Mistakes
What goes wrong + fixes.Writing Good Descriptions
The description field is the most important part of your skill. It's what sessions use to decide whether to load your skill.
Rules:
- Start with "Use when..."
- Include specific triggers, symptoms, situations
- Write in third person
- Keep under 500 characters
- NEVER summarize the skill's workflow or process
Why no workflow in description: Testing showed that when descriptions summarize the workflow, sessions follow the description instead of reading the full skill. The description becomes a shortcut that skips the actual instructions.
# BAD: Summarizes workflow
description: Use when executing plans - dispatches subagent per task with code review
# GOOD: Just triggering conditions
description: Use when executing implementation plans with independent tasks
# BAD: Too vague
description: Helps with async testing
# GOOD: Specific triggers
description: Use when tests have race conditions, timing dependencies, or pass/fail inconsistentlyNaming Conventions
- Gerund form preferred:
writing-skills,executing-plans - Describe what you DO:
condition-based-waitingnotasync-helpers - Letters, numbers, hyphens only
- No parentheses or special characters
Content Guidelines
Be Concise
The context window is shared. Every token competes with conversation history.
- Assume the model is smart — don't explain basics
- One excellent example beats many mediocre ones
- Use cross-references instead of repeating content
- Challenge each paragraph: "Does this justify its token cost?"
Set Appropriate Freedom
Match specificity to the task's fragility:
- High freedom (general direction): Multiple valid approaches, context-dependent decisions
- Medium freedom (patterns with parameters): Preferred pattern exists, some variation OK
- Low freedom (exact scripts): Fragile operations, consistency critical, specific sequence required
Progressive Disclosure
Keep SKILL.md under 500 lines. Split into separate files when approaching that limit.
skill-name/
SKILL.md # Overview + patterns (loaded when triggered)
reference.md # API docs (loaded as needed)
examples.md # Usage examples (loaded as needed)
scripts/ # Executable tools (executed, not loaded)All reference files should link directly from SKILL.md. Keep references one level deep — no chains of files referencing files.
For Longer Reference Files
Include a table of contents at the top so partial reads still reveal the full scope.
Testing Skills
Before deploying a skill, verify it works:
Quick Test
- Start a fresh session with the skill loaded
- Give it a realistic task that should trigger the skill
- Observe: Did it find the skill? Did it follow it correctly?
Pressure Test (for discipline-enforcing skills)
- Create a scenario where following the skill is costly (time, effort, rework)
- Add realistic pressures: deadlines, sunk cost, authority figures
- Force an explicit A/B/C choice
- Observe: Does the session follow the rule under pressure?
If the session fails, the skill needs stronger language, explicit counters for the rationalizations you observed, or clearer structure.
Iteration
- Observe real usage with the skill
- Note where sessions struggle or ignore instructions
- Refine based on observed behavior, not assumptions
Common Patterns
Workflow Pattern
Break complex operations into sequential steps. Use checklists that sessions can track.
## Workflow
Progress:
- [ ] Step 1: Analyze inputs
- [ ] Step 2: Create plan
- [ ] Step 3: Validate
- [ ] Step 4: Execute
- [ ] Step 5: VerifyFeedback Loop Pattern
For quality-critical tasks, run validator -> fix errors -> repeat.
## Process
1. Make changes
2. Validate: `python validate.py`
3. If errors: fix and go to step 2
4. Only proceed when validation passesTemplate Pattern
Provide output templates. Match strictness to need — exact format for APIs, flexible guidance for analysis.
Anti-Patterns
| Don't | Why |
| Narrative storytelling | Not reusable |
| Multi-language examples | Mediocre quality, maintenance burden |
| Code in flowcharts | Can't copy-paste, hard to read |
| Generic labels (step1, helper2) | Labels should have meaning |
| Time-sensitive info | Will become outdated |
| Inconsistent terminology | Confusing |
| Deep reference chains | Partial reads miss information |
Checklist
Before deploying:
- Description starts with "Use when..." with specific triggers
- Description in third person, no workflow summary
- Name uses gerund form, hyphens only
- Overview is 1-2 sentences with core principle
- One excellent example (not multi-language)
- Common mistakes section
- SKILL.md under 500 lines
- Supporting files only for tools or heavy reference
- References one level deep from SKILL.md
- Tested with a realistic task
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

