/t-stack:tstack-tddfrom t-stack
Use when you fix a bug or add a guard and a cheap, local test can catch it, or when a card or a person asks for a failing test or a regression test. Write the test first, watch it fail for the right reason at the base, make the smallest fix, watch it pass, and keep the before-and-after as evidence for the card. Skip when the only test would be slow, brittle, mostly mocks or production-only (use the closest real check instead and say why), and for the card-level flow around it (use tstack-implement-card).
Ships in t-stack. 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.
A fix without a test that failed before it is a claim, not evidence. So make the bug executable first: a small test that fails on the current code for the reason you expect, then the fix that makes it pass. The before-and-after is what the reviewer will check. In the t-stack, the reviewer swaps the base's source back in and runs your tests; a test that still passes there proves nothing.
references/practice.md; don't build a harness just to follow this skill.tstack-implement-card's mutants page.tstack-handoff puts it on the card.references/practice.md.The test's name, the quoted failure at the base, the pass at the head, the mutant you tried and whether a test caught it. If no test was practical, the check you used instead and why.
Detail: references/practice.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub wavyrai/sfora-skills --plugin t-stack28 skills in this plugin
/tstack-architectUse when a change is big enough that writing code first would fix the wrong shape: a new module, a new data model, a change to who owns some state, or a card whose design the owner must see. Sketch the caller's usage, the types and the signatures first, compare at least two shapes, put the chosen sketch on the card or a doc, then build against it and scrap it when it keeps fighting you. Skip for a one-file fix with an obvious shape (just build it, with tstack-tdd), and for comparing finished candidates (use tstack-arena)./tstack-arenaUse when one attempt at a non-trivial piece of work would fix the wrong shape: a contested design, an API, a tricky algorithm, a page of copy. Run two to four independent candidates on the same brief, have a separate judge score them against a written rubric, pick one as the base, graft the best parts of the others into it by hand, and verify the result. Covers the brief, the rubric, the judge and the synthesis note on the card. Skip for work with one obvious answer, and for splitting work into slices (use tstack-swarm)./tstack-benchmark-checklistUse before you report or act on a performance number you measured: a speedup or regression in a PR, a CI step's time, a job's duration, a choice between two libraries or settings. Seven questions to answer with evidence from runs: what limits it, was each side tuned, does it break physical limits, did it error, does it repeat, does it matter end to end, and did the work happen at all. Covers how to state the number on a card. Skip for numbers you didn't measure, and for finding the slow code in the first place (use tstack-how, then measure).