Skip to content

/test

Run TDD workflow — write failing tests, implement, verify. For bugs, use the Prove-It pattern.

From plugin
addyosmani-agent-skills
94k9 skills4 agents9 commands1 hook
Install
> /plugin marketplace add addyosmani/agent-skills
> /plugin install agent-skills@addy-agent-skills

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/test

Context preview

What this command does when you run it.

Run TDD workflow — write failing tests, implement, verify. For bugs, use the Prove-It pattern.

Command definition

test.md
description: Run TDD workflow — write failing tests, implement, verify. For bugs, use the Prove-It pattern.

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.

Ships withaddyosmani-agent-skills

Production-grade engineering skills for AI coding agents. Skills encode the workflows, quality gates, and best practices that senior engineers use when building software.

Get the whole plugin, auto-invoked

Other commands on addyosmani-agent-skills.