tdd-workflow
Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.
npx skills add vibeeval/vibecosystem --skill tdd-workflow --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
> **Kapsam notu:** Bu skill TDD pattern bilgisidir (red-green-refactor teknikleri). Uctan uca orkestre edilmis workflow icin `tdd` skill ini kullan (plan -> test -> implement -> validate). # Test-Driven Development Workflow This skill ensures all code development follows TDD principles with comprehensive test coverage. ## When to Activate - Writing new features or functionality - Fixing bugs or issues - Refactoring existing code - Adding API endpoints - Creating new components ## Core Principles ### 1. Tests BEFORE Code ALWAYS write tests first, then implement code to make tests pass. ### 2. Coverage Requirements - Minimum 80% coverage (unit + integration + E2E) - All edge cases covered - Error scenarios tested - Boundary conditions verified ### 3. Test Types #### Unit Tests - Individual functions and utilities - Component logic - Pure functions - Helpers and utilities #### Integration Tests - API endpoints - Database operations - Service interactions - External API calls #### E2E Tests (Playwright) - Critical user flows - Complete workflows - Browser automation - UI interactions ## TDD Workflow Steps ### Step 1: Write User Journeys ``` As a [role], I want to [action], so that [ben
- When to Activate
- Core Principles
- 1. Tests BEFORE Code
- 2. Coverage Requirements
- 3. Test Types
- TDD Workflow Steps
- Step 1: Write User Journeys
- Step 2: Generate Test Cases
- Step 3: Run Tests (They Should Fail)
- Step 4: Implement Code
- Step 5: Run Tests Again
- Step 6: Refactor
- Step 7: Verify Coverage
- Testing Patterns
npm test Tests should fail - we haven't implemented yet Tests should now pass npm run test:coverage Verify 80%+ coverage achieved npm test -- --watch Tests run automatically on file changes Runs before every commit npm test && npm run lint
What does the tdd-workflow skill do?
Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.
How do I install it?
Run `npx skills add vibeeval/vibecosystem --skill tdd-workflow --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From vibeeval/vibecosystem, a repository with 521 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
