Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By viktorbezdekv1.1.18MITIn 1 marketplace
Walks you through red-green-refactor, writing a failing test first and then the minimal code to pass it. Covers pytest, Vitest, Playwright E2E, Emacs Lisp ERT and Zod schemas.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Python, TypeScript, JavaScript, Pytest, Vitest, Playwright, Zod
tdd, test-driven-development, red-green-refactor, unit-testing, claude-code, skill, TDD, test-driven
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
v1.1.18 | Quality & Testing | 20 iterations
The Red-Green-Refactor methodology for writing failing tests before implementation code -- across Python (pytest), TypeScript (Vitest), Playwright E2E, Emacs Lisp (ERT), and Zod schema validation. Single skill + 12 references + 5 scripts + 4 templates
TDD works cycle by cycle, not all at once. Give the skill enough context to write the first meaningful failing test -- and the cycle begins.
What information to include in your prompt:
What makes results better vs worse:
describe, async patterns, etc.)Template prompt:
I need to implement [feature/behavior] using TDD in [language] with [framework: pytest / Vitest / Playwright / ERT].
The function/component signature: [paste or describe the interface]
Key behaviors (each will become a test):
1. [behavior 1 -- this is where we start]
2. [behavior 2]
3. [edge case or error condition]
[Optional: existing test infrastructure -- fixtures, helpers, conftest, test database]
Start with the failing test for behavior 1.
Most developers write code first and tests second -- if they write tests at all. The tests they write are shaped by the implementation they already built, so the tests verify the code does what it does, not what it should do. Edge cases that were not considered during implementation are not considered during testing either. The tests become a rubber stamp rather than a design tool, and the team ships bugs that a test-first approach would have caught.
When developers do practice TDD, they often do it wrong. They write tests that are too large (testing an entire workflow instead of one behavior), too coupled to implementation (asserting mock call arguments instead of observable behavior), or too isolated (100% unit test coverage but no integration tests, so the units work individually and fail together). The Red-Green-Refactor cycle degrades into "write test, write code, move on" -- the refactoring step is skipped because the tests are green and there is pressure to ship.
The problem compounds across languages. A team that practices TDD well in Python with pytest does not know how to apply the same discipline in TypeScript with Vitest. Playwright E2E tests are written without the TDD mindset because "E2E tests cannot be written first." Schema validation with Zod is not tested at all because "the schema IS the test." These gaps mean TDD coverage is inconsistent across the stack, and bugs hide in the untested layers.
This plugin implements the complete TDD methodology across four languages and five testing frameworks: Python with pytest, TypeScript with Vitest, browser E2E with Playwright, Emacs Lisp with ERT, and schema validation with Zod. It enforces the Red-Green-Refactor cycle at every level: write a failing test that defines the expected behavior (RED), write the minimal code to make it pass (GREEN), then improve the code while keeping tests green (REFACTOR).
7-day copy clicks
npx claudepluginhub viktorbezdek/skillstack --plugin test-driven-developmentBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground