/coding-coach:tddfrom coding-coach
Guides the red-green-refactor TDD loop: writing tests at public seams, avoiding anti-patterns like implementation coupling and tautological assertions, and working in vertical slices.
Ships in coding-coach. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
TDD is the red → green loop. This skill is the reference that makes that loop produce tests worth keeping: what a good test is, where tests go, the anti-patterns, and the rules of the loop. Every section applies on every cycle — consult them before and during the loop, not after.
When exploring the codebase, read CONTEXT.md (if it exists) so test names and interface vocabulary match the project's domain language, and respect ADRs in the area you're touching.
Tests verify behavior through public interfaces, not implementation details. Code can change entirely; tests shouldn't. A good test reads like a specification — "user can checkout with valid cart" tells you exactly what capability exists — and survives refactors because it doesn't care about internal structure.
See tests.md for examples and mocking.md for mocking guidelines.
A seam is the public boundary you test at: the interface where you observe behavior without reaching inside. Tests live at seams, never against internals.
Test only at pre-agreed seams. Before writing any test, write down the seams under test and confirm them with the user. No test is written at an unconfirmed seam. You can't test everything — agreeing the seams up front is how testing effort lands on the critical paths and complex logic instead of every edge case.
Ask: "What's the public interface, and which seams should we test?"
When the shape of that interface is itself in question — how deep the module is, where the seam belongs, what the interface should expose — use the /codebase-design skill for the vocabulary. It is the shared source of the module, interface, depth, seam, adapter, leverage and locality terms, and it is a reference to consult, not a session to run.
expect(add(a, b)).toBe(a + b), a snapshot derived by hand the same way, a constant asserted equal to itself), so it passes by construction and can never disagree with the code. Expected values must come from an independent source of truth — a known-good literal, a worked example, the spec.code-review skill), not the red → green implementation cycle.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
35 skills in this plugin
/ask-matt路由技能:不知道该用哪个技能/流程时先问这个。把非开发人员用大白话提出的需求,映射到对应的技能流程(改编自 mattpocock/skills 的 ask-matt 路由)。Router: maps a plain-language request to the right skill flow./coach-playbook产品编排:面向非开发人员的「从 0 到 1」固定编排模式。当用户说「我想做一个网站 / 应用 / 小程序 / 看板 / 落地页」等想做产品的诉求时,用这个技能选择对应的固定流水线,按「澄清 → 产品体验与用户路径 → 配色与调性 → UI → 原型验证 → 实现 → 验收 → 上线」的顺序一步步带用户做出体验好的产品。Orchestration playbook for building a product end-to-end from zero./codebase-design代码库设计:用"深模块"词汇设计模块——小接口、深实现、干净接缝、可透过接口测试,让代码更好改、更好测、更好被 AI 理解。Shared vocabulary for designing deep modules./code-review评审:对照代码规范和需求文档两个维度,审查最近改动(某个提交/分支以来的差异),并行子代理分别评审后并排汇报。Review changes since a fixed point along Standards and Spec axes./deploy-to-vercelDeploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment"./design-taste-frontend前端设计品味:反模板化的落地页/作品集/改版设计——先读需求推断调性(Design Read),再给设计方向与规范,避免 AI 味模板。当用户想要一个不像模板、有调性的页面时使用。Anti-slop frontend design taste for landing pages, portfolios, redesigns.npx claudepluginhub xiehuan123/coding-coach --plugin coding-coach