一键导入
writing-skills
Author or revise a skill by pressure-testing it against real agent behavior before deploying, so the skill actually changes what agents do.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Author or revise a skill by pressure-testing it against real agent behavior before deploying, so the skill actually changes what agents do.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build Flutter APK/IPA, generate changelog, update buildlog, and commit version bump. Handles platform selection, build mode, and artifact renaming.
Build Unity APK/IPA on macOS with Unity 6.x — pre-flight checks, version bump, iOS signing params, post-build verification, buildlog, and commit.
Evidence-driven bug investigation and fix pipeline. Use when something is broken, not working, or the root cause is ambiguous.
Two independent reviewers must both approve high-stakes output before it ships, breaking the single-reviewer blind-spot problem.
Team-orchestrated feature development with parallel specialist agents. Use when building a feature that benefits from multiple agents working concurrently. You act as Product Director coordinating the team.
Interactive agent picker for composing and dispatching parallel teams. Browse available agents across domains, pick a roster, dispatch in parallel.
| name | writing-skills |
| description | Author or revise a skill by pressure-testing it against real agent behavior before deploying, so the skill actually changes what agents do. |
| when_to_use | Use when creating a new skill, editing an existing skill, or deciding whether a skill is ready to ship. Triggers: "write a skill", "create a skill", "improve this skill", "why isn't this skill working", "the agent ignores this skill", "make this skill bulletproof". Pairs with the `skill-authoring.md` rule (frontmatter discipline) and the `/validate` and `skill-audit` skills. |
| allowed-tools | Read Write Edit Agent Bash Grep Glob |
Source: adapted from obra/Superpowers
skills/writing-skills(MIT). This is about authoring skill documents, not writing code tests — it does not changetesting-policy.md(which governs code). The "test" here is a pressure scenario run against a subagent.
Writing a skill is TDD applied to process documentation. You watch an agent fail without the
skill (baseline), write the minimal skill that fixes those specific failures, watch it pass, then
close the loopholes the agent finds. The frontmatter rules live in skill-authoring.md (CRITICAL) —
this skill is the authoring process around them.
NO SKILL WITHOUT A FAILING BASELINE FIRST
If you didn't watch an agent fail without the skill, you don't know whether the skill teaches the right thing — you're guessing. Applies to NEW skills AND edits. Wrote it before testing? Delete it, start from the baseline. (No exceptions: not for "simple additions", not "just a section". Delete means delete.)
RED — baseline. Run a realistic pressure scenario with a subagent without the skill loaded. Document verbatim what it does and the exact rationalizations it uses. For discipline skills, combine pressures (time + sunk cost + authority). Always include this control: if the agent doesn't fail without the skill, there is nothing to fix — stop, don't author the skill.
Agent(subagent_type: "claude", model: "sonnet", description: "baseline scenario",
prompt: "<the tempting task, WITHOUT the skill> — what do you do?")
GREEN — minimal skill. Write only what addresses the observed failures. Don't pad for hypothetical cases. Re-run the same scenario with the skill; the agent should now comply.
REFACTOR — close loopholes. New rationalization appears? Add an explicit counter. Re-test until it holds under pressure.
The form that fixes one failure type backfires on another (full table in skill-authoring.md):
Prohibitions backfire on shaping problems — under a competing incentive the agent negotiates with "don't X." Don't append nuance clauses to a recipe; express a real exception as its own conditional.
For skills that enforce a rule an agent will rationalize away under pressure:
Create when the technique is non-obvious, reusable across projects, broadly applicable, and a
judgment call. Do NOT create for one-offs, well-documented standard practice, project-specific
conventions (those go in CLAUDE.md), or anything enforceable by regex/validation (automate it
instead — that's what a hook or /validate is for). Per our Golden Rule, skills here must be
project-agnostic.
skill-authoring.md (description = purpose/trigger only, no workflow leak; when_to_use present)/validate passes; consider skill-audit for a quality passskill-authoring.md (rule) — the frontmatter/description discipline this process produces./validate — mechanical conformance check (frontmatter, structure) after authoring.skill-audit — deeper quality audit against best practices.