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 For each user journey, create comprehensive test cases: Write minimal code to make tests pass: Improve code quality while keeping tests green: Remove duplication Improve naming Optimize performance Enhance readability 1. Write Tests First - Always TDD 2. One Assert Per Test - Focus on single behavior 3. Descriptive Test Names - Explain what's tested 4. Arrange-Act-Assert - Clear test structure 5. Mock External Dependencies - Isolate unit tests 6. Test Edge Cases - Null, undefined, empty, large 7. Test Error Paths - Not just happy paths 8. Ke
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- affaan-m/ECC
- Source file
- .kiro/skills/tdd-workflow/SKILL.md
- Fixed revision
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
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.702Z.
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.