tdd-workflow

Write tests first, code second.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tdd-workflow" with this command: npx skills add dokhacgiakhoa/antigravity-ide/dokhacgiakhoa-antigravity-ide-tdd-workflow

TDD Workflow

Write tests first, code second.

  1. The TDD Cycle

🔴 RED → Write failing test ↓ 🟢 GREEN → Write minimal code to pass ↓ 🔵 REFACTOR → Improve code quality ↓ Repeat...

  1. The Three Laws of TDD
  • Write production code only to make a failing test pass

  • Write only enough test to demonstrate failure

  • Write only enough code to make the test pass

  1. RED Phase Principles

🧠 Knowledge Modules (Fractal Skills)

  1. What to Write

  2. RED Phase Rules

  3. Minimum Code

  4. GREEN Phase Rules

  5. What to Improve

  6. REFACTOR Rules

  7. Multi-Agent Pattern

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

github-mcp

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-review-checklist

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

clean-code

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-documentation-doc-generate

No summary provided by upstream source.

Repository SourceNeeds Review