TDD Workflows TDD Green

Implement the minimal code needed to make failing tests pass in the TDD green phase.

2,047 stars 295 forksTesting & QA

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add rmyndharis/antigravity-skills --skill tdd-workflows-tdd-green
Manual install
git clone --depth 1 https://github.com/rmyndharis/antigravity-skills.git /tmp/antigravity-skills
mkdir -p ~/.claude/skills
cp -r /tmp/antigravity-skills/skills/tdd-workflows-tdd-green ~/.claude/skills/tdd-workflows-tdd-green

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 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 JsonResponse({'products': list(products.values())})

# Refactor: Generic view
class ProductListView(ListView):
    model = Product
    context_object_name = 'products'
```

### Express Patterns

**Inline → Middleware → Service Layer:**
```javascript
// Green Phase: Inline logic
app.post('/api/users', (req, res) => {
  const user = { id: Date.now(), ...req.body };
  users.push(user);
  res.json(user);
});

// Refactor: Extract middleware
app.post('/api/users', validateUser, (req, res) => {
  const user = userService.create(req.body);
  res.json(user);
});

// Refactor: Full layering
app.post('/api/users',
  validateUser,
  asyncHandler(userController.create)
);
Read the full skill on GitHub

Details

Skill name
tdd-workflows-tdd-green
Path
skills/tdd-workflows-tdd-green/SKILL.md
License
MIT
Repo updated
7 November 2026

FAQ

What does the TDD Workflows TDD Green skill do?

Implement the minimal code needed to make failing tests pass in the TDD green phase.

How do I install the TDD Workflows TDD Green skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add rmyndharis/antigravity-skills --skill tdd-workflows-tdd-green. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is TDD Workflows TDD Green popular?

It lives in rmyndharis/antigravity-skills, which has 2,047 GitHub stars and 295 forks.

Related skills

Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.