/work:tddfrom work
Red-green test-driven development at seams agreed with the user. Use when building or fixing behaviour test-first, writing a regression test, or deciding where a test belongs.
Ships in work. 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.
Make the red-green loop produce tests worth keeping. Read GLOSSARY.md first if it exists, so test names use the project's words.
A seam is the public boundary where you observe behaviour without reaching inside. Tests live at seams, never against internals.
Agree the seams before writing any test. Propose each one with a line on what it catches and what it misses, and confirm them with the user, or take them from the spec or ticket when it names them. Prefer existing seams, and the highest seam that still reaches the behaviour; the fewer seams the better. Write tests only at agreed seams.
Refactoring belongs to review, after the loop.
Examples, good and bad, and how to design for mocking: references/tests.md.
If the only possible test needs broad harness setup, brittle mocks, production-only state or slow end-to-end infrastructure, use the closest executable check instead (a script, a CLI call, a drive through the verify-<app> skill) and say why. No test beats a bad test.
Keep every assertion as strong as the intended behaviour. When a test and the code disagree, fix whichever one is wrong about the intended behaviour, and say which.
Name the test, and paste its failing output before the change and its passing output after. If you could not show the failure, say why and name the check you used instead.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub duy-tung/work --plugin work24 skills in this plugin
/awayRun work unattended under a written contract, with a pass/fail done check, an append-only decision log and a morning report./code-reviewReview the changes since a fixed point on two separate axes, Standards and Spec, each in its own subagent, and report them side by side. Use when asked to review a branch, a pull request or work in progress, and after building a feature./cosmos-explainExplain a physical AI term (NVIDIA Cosmos, world foundation model, VLA, diffusion, sim2real, Isaac Lab, post-training, eval metrics) to an engineer from a software or test background, in four fixed parts that end with what to test. Use when such a term comes up unexplained, when the person asks what one means, or when a reply about robotics or world models used jargon the person did not follow.