test
Run TDD workflow — write failing tests, implement, verify. For bugs, use the Prove-It pattern.
Install
Copy this folder into your Claude Code project (needs Node.js):
curl -fsSL --create-dirs -o .claude/commands/test.md https://raw.githubusercontent.com/addyosmani/agent-skills/HEAD/.claude/commands/test.mdOr install it for every project:
curl -fsSL --create-dirs -o ~/.claude/commands/test.md https://raw.githubusercontent.com/addyosmani/agent-skills/HEAD/.claude/commands/test.mdFile content
Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗
--- description: Run TDD workflow — write failing tests, implement, verify. For bugs, use the Prove-It pattern. disable-model-invocation: true --- Invoke the agent-skills:test-driven-development skill. For new features: 1. Write tests that describe the expected behavior (they should FAIL) 2. Implement the code to make them pass 3. Refactor while keeping tests green For bug fixes (Prove-It pattern): 1. Write a test that reproduces the bug (must FAIL) 2. Confirm the test fails 3. Implement the fix 4. Confirm the test passes 5. Run the full test suite for regressions For browser-related issues, also invoke agent-skills:browser-testing-with-devtools to verify with Chrome DevTools MCP.