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 Jso
How 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.md

Skill 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-skills

Then reference at skills/tdd-workflows-tdd-green/SKILL.md

Related Skills