What problem does it solve? It prevents implementation code from being written before a failing test exists, eliminating retro-fitted tests, false-green results, and untested behavior changes in a development workflow. ## Core Features & Use Cases - Red-green-refactor discipline: Requires one failing test per behavior, verified to fail for the intended reason, followed by the smallest passing change and green-only refactoring. - Evidence recording: Each task records a tests entry in the apply stage record, either an executed { task, test, red, green } shape or an exempt { task, exempt, reader } shape for prose-only changes. - Render-affecting rules: CSS cascade, layout, and computed-style changes must be tested in a real browser engine (Playwright, vitest browser mode, headless Chromium) via a local-only lane guarded by PTP_BROWSER_TESTS=1; jsdom results are not accepted as evidence. - Use Case: When fixing a bug or adding a feature, invoke this skill so the agent writes the failing test first, implements minimally, and records the red/green runs even under an advisory gate. ## Quick Start Ask the agent to implement a bug fix using test-driven development and record the red and green test runs for each task.