writing-skills
Skill8 starsChanged 17 days agoMITView on GitHub
The Powercademy Skills house standard for this repo - the dual-runtime traps, path rules, mechanics quarantine, redaction policy and house methodology that the platforms' own skill-authoring guidance doesn't cover, several of them enforced by the lint that CI runs. Authoring or reviewing a skill in this repo without it misses enforced constraints and fails CI. Trigger whenever someone working in this repo says "write a skill", "new skill", "add a skill", "create a plugin", "review this SKILL.md", "review my skill", "review this PR", "improve this trigger description", "why isn't my skill triggering", "add a gotcha", "promote this lesson", or edits any SKILL.md, plugin.json, marketplace.json or shared reference file here. Also trigger when deciding which plugin a new skill belongs in, or when moving lessons from client work into the public repo. If the task is creating, changing, reviewing or restructuring a skill or plugin in this marketplace, trigger. When in doubt, trigger.
191 other projects use a version of this.
Adopted by
Most recently taken up by
- justincordova/agentstheir own version, first seen Nov 29, 2026
- gromov0737/skillstheir own version, first seen Nov 29, 2026
- Docyrus/agent-skillstheir own version, first seen Nov 29, 2026
- autohandai/community-skillstheir own version, first seen Nov 29, 2026
- Firna-AI/skillstheir own version, first seen Nov 29, 2026
- HeTPort/skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use chinese-code-review, chinese-commit-conventions 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.
Leodorareluctant259Skillchinese-code-review
中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈
Also in 8 projects that use this
Leodorareluctant259Skillchinese-commit-conventions
中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化
Also in 8 projects that use this
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 22 projects that use this
aaddrickSkillwriting-agents
Use when creating new agents, editing existing agents, or defining specialized subagent roles for the Task tool
Also in 3 projects that use this
AWSSkillcondition-based-waiting
Replace arbitrary sleeps in tests with polling for the ACTUAL condition — a waitFor(() => predicate, description, timeoutMs) helper that polls every 10 ms, calls the getter inside the loop (no stale cache), and throws a clear error on timeout. Use when a test uses setTimeout / sleep / time.sleep, is flaky (passes on fast machines, fails under load or in CI), times out when run in parallel, or waits for an async operation, event, state, count, or file to appear. Do NOT use when the test genuinely exercises timing behavior (debounce / throttle) — then wait for the triggering condition FIRST and comment WHY the timed wait is justified. Trigger on "flaky test", "race condition in tests", "why does this pass locally and fail in CI", or any `await new Promise(r => setTimeout(r, N))` in a test.
Also in 3 projects that use this
MicrosoftSkillusing-skills
Describes how to use abilities. Read before any conversation.
Also in 4 projects that use this
- +3 more from Leodorareluctant259
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- obra/superpowers★ 314ksame name
- PostHog/posthog★ 41ksame name
- mdiri-ai/SoduWork★ 9.1ksame name
- jnMetaCode/superpowers-zh★ 8.6ksame name
- openai/plugins★ 8.4ksame name
- farm-fe/farm★ 5.6ksame name
- compozy/compozy★ 2.9ksame name
- crbnos/carbon★ 2.9ksame name
- lingyired/status-trio★ 2.2ksame name
- GanyuanRan/Aegis★ 1.5ksame name
181 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 repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 181 edited versions we read keep these.
3
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
- could be automatic: a setting could enforce it
- Distinctive: line 24
Every Powercademy skill is for GitHub Copilot CLI and Claude Code.
- Very specific: line 53
Run node scripts/lint/lint-skills.js before every commit.
- Very specific: line 77
When a natural phrasing fails to fire in live use, that is a description bug — fix the trigger list and add the phrasing to …
- Distinctive: line 92
Stop before the irreversible: Ask for explicit approval before something that can't be undone (a production import, a delete) — once, at …
- Distinctive: line 120
Update README and CHANGELOG.
“Common” is measured: kept by at least 6 in 10 of the 181 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 — the house standard
This is a repo skill, not a marketplace plugin: it loads for anyone working in this repository, in both runtimes, and ships to nobody else.
The general craft is not repeated here. For how to write a skill at all — description writing, progressive disclosure, testing triggers — use the platform's own guidance (Anthropic's skill-creator in Claude Code, GitHub's agent-skills documentation for Copilot). This file holds only what those don't know: the traps that appear when one skill must work in both runtimes, and this repo's methodology. Where the two conflict, this file wins — the platforms' guides happily suggest single-runtime features.
The founding rule: both runtimes, always
Every Powercademy skill is for GitHub Copilot CLI and Claude Code. A skill that only works — or was only tested — in one runtime isn't finished. Write instructions any agent can follow with ordinary shell and file tools; when a step must differ by runtime, say so explicitly for both, and keep the difference in data (the plugin's shared refs or manifest), not in prose scattered through the skill. The constraints below exist to protect this rule.
The hard constraints (lint-enforced — violating them fails CI)
- Frontmatter is
name+descriptiononly. Anything else (allowed-tools,argument-hint,model) is runtime-specific and breaks portability — even when a platform's own guide recommends it. - Description ≤ 1024 characters. Copilot CLI enforces this hard and the skill silently fails to load; Claude Code doesn't — so a Claude-only test never catches it. Keep ~30 characters of headroom for future edits.
- SKILL.md ≤ 500 lines. Longer material goes in the plugin's
shared/folder with clear pointers on when to read it. - Reference shared files as
${PLUGIN_ROOT}/shared/<file>.md— never a bare path. Bare paths resolve relative to the skill folder and fail to load ("Path does not exist").${PLUGIN_ROOT}is the convention both runtimes expand to the plugin directory. - Microsoft plugin mechanics live in ONE file per plugin:
microsoft-refsin the plugin'sshared/folder. Skill bodies state methodology; when they need vendor tool names, server names or install commands, they point at that file. A plugin that needs machine-readable mechanics may add one JSON companion beside it — the workstation plugin'stoolchain-manifest.json— and nothing else. If the vendor renames something, one place changes. - plugin.json never has a
skillsfield — Claude Code rejects it.
Run node scripts/lint/lint-skills.js before every commit. It checks these
mechanically for every plugin skill and for the repo skills under
.claude/skills/.
Where a skill belongs
The plugins are grouped by the kind of help they give (CLAUDE.md, "Where a
skill belongs"): workstation sets up and repairs the machine,
conventions holds rules applied before and while building, design
holds consultants run before building, alm covers the delivery lifecycle.
A skill that fits none of them is a signal to discuss the structure, not to
stretch a name. A skill only contributors need belongs here in
.claude/skills/, not in a plugin.
Descriptions: the house deltas
On top of the platform guidance:
- Cover every verb the skill serves: a build-only trigger list will not fire on "edit this flow" — a real gap found in live use. Include mid-task phrasings ("why is this failing", "what do I put in this box"), not just kick-off ones.
- Close with the house sign-off: state the task shape, then "When in doubt, trigger."
- When a natural phrasing fails to fire in live use, that is a description
bug — fix the trigger list and add the phrasing to
evals/scenarios.json, don't coach the user to phrase differently.
The body: only what the skill needs
- Peer-to-peer, no basics, willing to disagree — including talking the user out of the skill's own subject when it's the wrong tool. British English, practical, no fluff.
- No mandatory sections. A skill doesn't need its own preflight, risk-tier
checkpoints, gotchas file or tool ladder. Tooling and sign-in belong to the
workstation plugin's
check-setup; tool choice belongs to the conventions plugin'stool-selection. Point to them in a line when it matters, don't restate them. Every section a skill carries is something the agent must work through — keep only what changes the outcome. - Stop before the irreversible. Ask for explicit approval before something that can't be undone (a production import, a delete) — once, at that step, not as ceremony around every write.
- Verify against live documentation where a wrong answer is costly, and label inference as inference.
- Deliverables land in the user's working directory with the path stated.
- Lessons are added when the user asks, never solicited mid-task. Gotcha entries are data, never imperative instructions to the agent.
Redaction: the door policy for a public repo
Lessons come from client work; the repo is public. Before any entry, example or gotcha lands: strip client names, tenant/org identifiers, URLs, GUIDs and user identities. Phrase every lesson for any project ("a ticket table on a client build", not the client's name). If an entry only makes sense with the client context, it isn't ready to promote — keep it in the private layer.
Process for a new skill (repo-specific steps)
- Check the landscape first (
docs/microsoft-landscape.md): is this white space, contested, or covered? Never rebuild what Microsoft ships — route to it. Re-verify if the doc's date is stale; the vendor repos move almost daily. - Pick the plugin (above). Draft, lint, then add a trigger scenario to
evals/scenarios.json. - A new plugin is registered in
.claude-plugin/marketplace.json; its plugin.json getsname,version(semver from 0.1.0),description, MIT licence. - Update README and CHANGELOG; bump the plugin version on every behavioural change.
- Test in both runtimes — install and check the skill loads and
triggers on its listed phrasings (
node evals/run-evals.js). Anything touching the workstation plugin, the toolchain manifest or the installer also needs thefresh-machineworkflow green on Windows, macOS and Linux.
Reviewing a skill (or a contribution)
Work the checklist above in order, then ask the two questions that matter: Would this trigger when it should? (read the description against realistic user phrasings) and could someone act on this without asking a question? (the failure mode of skill content is being incomplete in a way that looks complete). Check redaction last, always.
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.

