test-driven-development
Description
Use when implementing complex logic that needs test coverage - write the test first, watch it fail.
How to Use
- Visit the GitHub repository to get the SKILL.md file
- Copy the file to your project root or .cursor/rules directory
- Restart your AI assistant or editor to apply the new skill
Full Skill Documentation
name
test-driven-development
description
Use when implementing complex logic that needs test coverage - write the test first, watch it fail, write minimal code to pass; ensures tests actually verify behavior by requiring failure first; NOT for UI components, simple CRUD, or straightforward code
Tags
Related Skills
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright.
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
e2e-testing-patterns
Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs.
bats-testing-patterns
Master Bash Automated Testing System (Bats) for comprehensive shell script testing.
javascript-testing-patterns
Implement comprehensive testing strategies using Jest, Vitest, and Testing Library.