/syv-skills:tddfrom syv-skills
Guides test-driven development with red-green-refactor loops and tracer-bullet vertical slices, testing behavior through public interfaces. Activates when implementing features or bugfixes with testable seams.
Ships in syv-skills. 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.
Write one failing test, watch it fail for the right reason, write the least code that makes it pass, refactor while green, repeat. A test you never saw fail might not test anything.
Tests describe behaviour through the public interface. "User can check out with a valid cart" survives a rewrite of the internals; "checkout calls paymentService.process" does not.
Use it for behaviour changes that have a seam you can test: new features, bug fixes, refactors that must not change behaviour.
Skip it, and say so in one line, for throwaway prototypes, configuration, generated code, and small fixes already covered by an existing test (run that test before and after). If the change fits in one sentence, the planning below is one sentence too.
For anything larger than a one-sentence change, agree on these with the user before writing code:
Use the project's own vocabulary for test names and interfaces. If the project records decisions (ADRs, a glossary), respect them.
Vertical slices. One test, then the code for it, then the next test. Writing every test first produces tests of imagined behaviour and locks in a structure before you understand the problem.
Don't bolt on a test that merely passes. Write the test that would have caught the missing behaviour, check it fails with the new code reverted or stubbed out, and passes with it restored. If you can't make the test fail, it isn't testing that code.
Read tests.md when a test passes too easily or you're unsure it can fail (tautologies, change detectors, the mutation check), and mocking.md before adding a mock.
A test that is hard to write is a finding about the design: huge setup means the interface asks too much of callers, and mocks everywhere mean the code creates its own dependencies. Fix the interface before the test.
Show the command and its output rather than asserting the tests pass. When a test exposes a bug whose cause isn't obvious, switch to systematic-debugging to find the root cause before fixing.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub syv-ai/agentic-coding-playbook --plugin syv-skills20 skills in this plugin
/brainstormingThinks an idea through with the user before anything is built — new angles and radical alternatives, their thoughts organised and drawn, every open decision settled — and ends in an agreed design. Use when a feature or behaviour change is underspecified, when several approaches are plausible, when the user wants to explore an idea or think a design through, or wants their thinking organised or mapped. To only be questioned on a plan that already exists, use grill-me./executing-plansExecutes a written implementation plan task by task, verifying each step and reviewing the result against the plan before calling it done. Use when there is an existing plan to implement, in this session or one started fresh from a handoff./grill-meInterviews the user relentlessly about an idea, plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when the user wants to stress-test a plan, get grilled on an idea or design, or mentions "grill me". It is the interview inside brainstorming; when the idea also needs alternatives or a written design, use brainstorming./guardrailsReviews what a coding agent could damage in this repo, notes the controls already in place, and asks which remaining risks to cover./handoffCompacts the current conversation into a handoff document so another agent can pick up the work. Use when you want to hand off to a fresh session, or when continuing in a clean context would work better than carrying this one forward./improve-codebase-architectureFind deepening opportunities in a codebase — refactors that turn shallow modules into deep ones — and present them as a visual HTML report. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.Other plugins' skills for the same job