Ctrl C V Tdd

Test-pattern doctrine. Tests are copyable from ~/.claude/patterns/tests/, three categories: input boundary, contract, effect. Make sure to consult this skill whenever code changes touch a boundary where someone else's code meets yours, even if the user doesn't say "test" or "TDD" — Claude tends to ship untested boundary code, and this skill prevents the Saturday phone call. TRIGGER when: code under change has external callers (other modules, cron, CLI, HTTP/RPC clients, "外部调用", "被外部调用"); persists state (DB write, file write, redis/cache, session storage, anything that survives the request); calls third-party API/SDK; task is classified as LARGE per ctrl-c-v sizing (4+ files, new capability, new architecture, new external contract) — LARGE always triggers TDD regardless of caller scope; user mentions tests, TDD, 测试, boundary, contract, mock, fixture, red/green, characterization test, pinning test, golden master, refactor; business domain involves payments, queues, webhooks, auth, external integration; refactor

Huangleyang125207 Updated

File contents

Huangleyang125207/ctrl-c-v-code-skills/tree/main/skills/ctrl-c-v-tdd commit 473fa911e3

Frequently asked questions

npx skillmds@latest add huangleyang125207/ctrl-c-v-tdd