write-failing-test-first
Start implementation with a red test. Use on any bugfix or new behavior — not on refactors or style changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Start implementation with a red test. Use on any bugfix or new behavior — not on refactors or style changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Pick the right worker class for each Issue. Use every time you assign an Issue; wrong routing wastes tokens and creates rework.
Break a Company Goal into 3-10 atomic Issues. Use when a Goal arrives with no pre-existing plan and you need to produce a shippable work list.
Ship the smallest change that solves the Issue. Use on every implementation task; scope creep is the default failure mode of executors.
Run build/test/lint and read the actual output before claiming done. Use on every implementation task, at the end.
Report research results in a form other agents can act on. Use at the end of every Explorer session.
Find files and code patterns fast. Use for every codebase question that starts with "where is X" or "how is Y used".
| name | write-failing-test-first |
| description | Start implementation with a red test. Use on any bugfix or new behavior — not on refactors or style changes. |
Writing the test before the code is not a performance — it's a forcing function for two things: (a) proving the symptom before you chase a fix, (b) giving yourself a concrete "done" signal you cannot fake.