tdd-workflows-tdd-green
Implement the minimal code needed to make failing tests pass in the TDD green phase.
Content Preview
---
name: tdd-workflows-tdd-green
description: "Implement the minimal code needed to make failing tests pass in the TDD green phase."
risk: unknown
source: community
date_added: "2026-02-27"
---
# Green Phase: Simple function
def product_list(request):
products = Product.objects.all()
return JsonResponse({'products': list(products.values())})
# Refactor: Class-based view
class ProductListView(View):
def get(self, request):
products = Product.objects.all()
return JsoHow to Use
Recommended: Install to project (local)
mkdir -p .claude/skills
curl -o .claude/skills/tdd-workflows-tdd-green.md \
https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/skills/tdd-workflows-tdd-green/SKILL.mdSkill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.
Alternative: Clone full repo
git clone https://github.com/sickn33/antigravity-awesome-skillsThen reference at skills/tdd-workflows-tdd-green/SKILL.md
Related Skills
testing
Testing strategies and methodologies including TDD, E2E testing, and multi-framework support
testingtestingtdd
by davepoon · buildwithclaude
rust-testing
Rust testing patterns including unit tests, integration tests, async testing, property-based testing, mocking, and coverage. Follows TDD methodology.
rust-testingrusttestingtdd
by affaan-m · everything-claude-code
e2e-testing
Playwright E2E testing patterns, Page Object Model, configuration, CI/CD integration, artifact management, and flaky test strategies.
e2e-testinge2etestingci/cd
by affaan-m · everything-claude-code
playwright-expert
Use when writing E2E tests with Playwright, setting up test infrastructure, or debugging flaky browser tests. Invoke to write test scripts, create page objects, configure test fixtures, set up reporters, add CI integration, implement API mocking, or perform visual regression testing. Trigger terms: Playwright, E2E test, end-to-end, browser testing, automation, UI testing, visual testing, Page Object Model, test flakiness.
playwright-expertplaywrightexpertapi
by Jeffallan · jeffallan-claude-skills