Testing Before Implementation

Implements code changes test-first (TDD). Writes a failing test that names the break it catches, watches it fail for the right reason, writes the minimal code that passes, then checks the full suite, lint and types against a baseline, recording the command and output of each run. Use when implementing a feature, fixing a bug or changing behavior in code that can be tested, or when the user asks for TDD, test-first or red-green-refactor, even if they don't mention tests. When the work spans several steps or files, plan it first with planning-before-execution and apply this skill to each code task. Not for configuration-only edits, documentation, visual styling, or adding tests to existing code without a behavior change.

nerymurillohnd Updated 0 repo stars

File contents

nerymurillohnd/the-claude-factory commit 7890560802

Frequently asked questions

npx get-skill add nerymurillohnd/testing-before-implementation