Agent skill · Testing & QA

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.

mturacgithub.com/mturacGitHub ↗
codexcopilotcursorMIT
Install
npx skills add mturac/everything-openai-codex --skill tdd-workflow --agent codex

Same command for any agent — swap --agent for claude-code, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 13 KB
Bundled scripts: none
Path: skills/tdd-workflow/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 84
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 ### 4. Git Checkpoints - If the repository is under Git, create a checkpoint commit after each TDD stage - Do not squash or rewrite these checkpoint commits until the workflow is complete - Each checkpoint commit message must describe the stage and the exact evidence captured - Count only co

What's inside
Steps it walks through
  1. When to Activate
  2. Core Principles
  3. 1. Tests BEFORE Code
  4. 2. Coverage Requirements
  5. 3. Test Types
  6. 4. Git Checkpoints
  7. TDD Workflow Steps
  8. Step 1: Write User Journeys
  9. Step 2: Generate Test Cases
  10. Step 3: Run Tests (They Should Fail)
  11. Step 4: Implement Code
  12. Step 5: Run Tests Again
  13. Step 6: Refactor
  14. Step 7: Verify Coverage
Commands it runs
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
More from everything-openai-codex
All skills →
About this skill
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 mturac/everything-openai-codex --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 mturac/everything-openai-codex, a repository with 84 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.

Keep going