/virtual-team:test-driven-developmentfrom virtual-team
Enforces red-green-refactor TDD cycle with configurable strictness (strict/recommended/off). Prevents horizontal slicing and guides vertical test-first implementation.
Ships in virtual-team. 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.
Read stack.md and check the tdd: field. If the field is missing, default to recommended.
tdd: value | Behavior |
|---|---|
strict | Iron law — no production code without a failing test. Delete and restart on violations. |
recommended | TDD is the expected workflow. Warn when skipped, log the skip, but proceed. |
off | No TDD enforcement. Tests are encouraged but not gated. Skip the rest of this skill. |
If tdd: off — stop reading. Do not enforce any TDD discipline.
The rule: ONE test, ONE implementation, then the next test. Never batch. Each RED-GREEN cycle is a learning step — the next test is informed by what you just discovered.
'rejects empty email with validation error')Write the simplest code to make the test pass. Nothing more.
// Just enough to pass async function retryOperation(fn, maxRetries = 3) { for (let i = 0; i < maxRetries; i++) { try { return await fn(); } catch (e) { if (i === maxRetries - 1) throw e; } } } // YAGNI — over-engineered beyond what the test requires async function retryOperation(fn, options?: { maxRetries?: number; backoff?: 'linear' | 'exponential'; onRetry?: (attempt: number) => void; timeout?: number; }) { ... }Run the test. Confirm it passes. Confirm all other tests still pass.
Only after green: remove duplication, improve names, extract helpers. Keep tests green. Don't add behavior. Then write the next failing test for the next behavior.
In recommended mode, if you write production code before a test:
In strict mode, skips are not allowed. Delete the code and start over.
Before marking any implementation step complete:
Bug found? Write a failing test reproducing it first. In recommended mode, strongly encouraged. In strict mode, mandatory.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
51 skills in this plugin
/adr-conventionUse when creating, reviewing, or referencing architectural decision records — defines the ADR format, three-gate creation threshold, and local/hub flavors/architecture-vocabularyUse when evaluating architecture in tech-review — provides formal vocabulary (Depth, Seam, Leverage, Locality, Adapter, Pass-through) with diagnostic heuristics that produce precise, falsifiable findings instead of generic descriptions/backlogAbstract backlog operations interface. Load this skill before any backlog read/write operation — it defines the operations that all commands reference, delegating to the active implementation (local or external).npx claudepluginhub ovargas/virtual-team --plugin virtual-teamOther plugins' skills for the same job