/rc:rc-tddfrom rc
Enforces TDD discipline: write failing tests first, build one vertical slice per cycle at agreed seams, and avoid implementation-coupled tests. Use when building or fixing test-first.
Ships in rc. 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 what 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 during the loop, not after.
A test verifies behaviour through a public interface, never an implementation detail. The implementation can change entirely; the test should not. A good test reads like a specification — "user can check out with a valid cart" tells you exactly what capability exists — and survives a refactor because it never cared about internal structure.
Test what the code does, not what the mocks do. A mock is a means of isolation, never the subject.
A seam is a place where you can alter behaviour without editing in that place — the interface
where behaviour is observable without reaching inside. rc-codebase-design owns that vocabulary
(module, interface, depth, seam, adapter) and the design decisions behind it; read it when the
question is where the seam should be rather than what to test at the one that exists.
Its third principle is this section's premise: the interface is the test surface. If a test has to reach past the interface — poking at internals, asserting through a side channel, needing a test-only accessor — that is information about the design, not about the test.
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 cannot test everything — agreeing the seams up front is how testing effort lands on the critical paths and the complex logic instead of on every edge case.
Ask: "What is the public interface here, and which seams should we test?"
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 come
from an independent source of truth: a known-good literal, a worked example, the spec.The mocking traps — incomplete mocks that model three fields of a real ten-field payload, mocking a
dependency whose contract you have not read, and the point where mock complexity means you wanted an
integration test — are in references/mocking.md, with the gate for each.
Coverage is a floor, not a goal: it tells you what was executed, never what was verified. A suite at 95% built from tautological assertions verifies nothing. Chase the uncovered branch only after asking whether the covered ones are actually asserted.
What SKILL.md sets; muted values are Claude Code's defaults
sonnethigh32 skills in this plugin
/rcExplains RC — its skills, agents, hooks and artifacts. Use to learn what RC offers. Do not use to run a workflow step./rc-a11yGuias de acessibilidade (a11y) para web seguindo WCAG 2.2 AA — semântica HTML, ARIA, navegação por teclado, gestão de foco, contraste e leitores de tela. Use ao construir ou revisar UI (componentes, formulários, modais, navegação, tabelas). Não use para acessibilidade de PDF, auditoria jurídica de conformidade, ou design visual sem relação com a11y./rc-axumImplements and reviews Axum 0.8+ APIs in Rust — routing, State, extractors, Tower middleware, typed errors, WebSockets, CORS, timeouts, hardening. Use when building or changing Axum backends, handlers, middleware, or WS endpoints. Do not use for SvelteKit (rc-sveltekit), the SQLx data layer alone (rc-sqlx), or Rust language idioms (rc-rust).npx claudepluginhub rodolfochicone/rc-project --plugin rcOther plugins' skills for the same job