SKILL

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.

Target: Software development & testing. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Test-Driven Development Workflow
  • When to Activate
  • Core Principles
  • 1. Tests BEFORE Code
  • 2. Coverage Requirements
  • 3. Test Types
  • Unit Tests
  • Integration Tests

This skill ensures all code development follows TDD principles with comprehensive test coverage. Writing new features or functionality Fixing bugs or issues Refactoring existing code Adding API endpoints Creating new components ALWAYS write tests first, then implement code to make tests pass. Minimum 80% coverage (unit + integration + E2E) All edge cases covered Error scenarios tested Boundary conditions verified Individual functions and utilities Component logic Pure functions Helpers and utilities API endpoints Database operations Service interactions External API calls Critical user flows Complete workflows Browser automation UI interactions Do not assume npm test. The commands in the steps and examples below use , , and as placeholders for the project's actual runner. Resolve them once before starting: 1. Run the package-manager detector (ships with ECC): It resolves the package manager (npm / pnpm / yarn / bun) from, in order: CLAUDEPACKAGEMANAGER, .claude/package-manager.json, the package.json packageManager field, the lockfile, then global config. 2. Distinguish the package manager from the test runner — they are not the same. A project can use Bun to install dependencies ye

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
affaan-m/ECC
Source file
.agents/skills/tdd-workflow/SKILL.md
Fixed revision
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:48.450Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.