shared/test-driven-development/SKILL.md
Implement features using the Red-Green-Refactor cycle to ensure testability and correctness from the start.
npx skillsauth add 7a336e6e/skills Test Driven DevelopmentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Write code that is proven to work the moment it is written, preventing regression and ensuring high design quality.
Write a test that defines the expected behavior.
def test_calculate_total():
# We haven't written the function yet
result = calculate_total([10, 20])
assert result == 30
Write the minimum amount of code to pass the test.
def calculate_total(items):
return sum(items)
Improve the code while keeping the test green.
Add the next test case (e.g., test_calculate_total_empty_list) and repeat.
tests/unit/test_xyz.py).backend/testing-flask/SKILL.md OR frontend/testing-frontend/SKILL.mddata-ai
Manage the `tasks.md` ledger with strict locking and collision avoidance protocols to allow multiple agents to work in parallel safely.
development
The git-workflow skill defines branching conventions, commit message formats, and pull request standards that all agents must follow for consistent version control.
development
The environment-config skill standardizes how agents manage environment variables, secrets, and application configuration across local development and deployed environments.
development
Create clear, maintainable documentation for APIs, codebases, and end-users. Treat documentation as code.