sickn33 avatar

Tdd Workflows Tdd Green

This is for the green phase of TDD: writing the minimal code to make your failing test pass. It shows progression patterns like starting with a simple function, then refactoring to class-based views in Django, or moving from inline logic to middleware to service layers in Express. The examples are practical and show real evolution paths. Use it when you're in that narrow window between red and green, resisting the urge to over-engineer. The instruction to record technical debt for later refactoring is solid advice. It won't help if you're already green or doing architectural work, but it keeps you honest about writing just enough code to pass the test.

skills.sh installs
263
GitHub stars
39.4K
last updated
Jun 3, 2026

Install

$ npx -y skills add sickn33/antigravity-awesome-skills --skill tdd-workflows-tdd-green --agent claude-code

Installs into .claude/skills of the current project.

Files

TDD Green Phase

Implement the smallest correct behavior for an agreed failing test while preserving existing requirements, security boundaries and interfaces. Read the bundled playbook as illustrative material, not an executable tool.

Use this skill when

  • Moving from red to green in a TDD cycle
  • Implementing minimal behavior to satisfy tests
  • You want to keep implementation intentionally simple

Do not use this skill when

  • You are refactoring for design or performance
  • Tests are already passing and you need new requirements
  • You need a full architectural redesign

Instructions

  1. Review failing tests and identify the smallest fix.
  2. Implement the minimal change to pass the next test.
  3. Run tests after each change to confirm progress.
  4. Record shortcuts or debt for the refactor phase.

Safety

  • Avoid bypassing tests to make them pass.
  • Keep changes scoped to the failing behavior only.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Sponsors

Details

Repository
github.com/sickn33/antigravity-awesome-skills
Category
Testing & QA
First seen
Jun 3, 2026

More from sickn33/antigravity-awesome-skills

All 708
1patricio0312rev avatarcontract-testing-builderpatricio0312rev/skillsImplements API contract testing to ensure provider-consumer compatibility using Pact or similar tools. Prevents breaking changes with contract specifications an262skills.sh installs
2cinience avataralicloud-platform-aliyun-cli-testcinience/alicloud-skillsMinimal smoke test for generic Alibaba Cloud aliyun CLI skill. Validate CLI install, auth profile, and one read-only API call.240skills.sh installs
3vabole avatarswift-testingvabole/apple-skillsswift testing230skills.sh installs
4arpitg1304 avatarrobotics-testingarpitg1304/robotics-agent-skills>215skills.sh installs
5manojbajaj95 avatarab-test-setupmanojbajaj95/claude-gtm-pluginWhen the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this 215skills.sh installs
6thebushidocollective avatarbdd-patternsthebushidocollective/hanUse when applying Behavior-Driven Development patterns including Given-When-Then structure, feature files, and acceptance criteria. Use when writing BDD-style t208skills.sh installs