TDD Workflows TDD Green
Implement the minimal code needed to make failing tests pass in the TDD green phase.
Install
npx skills add rmyndharis/antigravity-skills --skill tdd-workflows-tdd-greengit 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-greenPersonal 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)
);Details
- Skill name
tdd-workflows-tdd-green- Repository
- rmyndharis/antigravity-skills
- 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
Airflow Dag Patterns
2krmyndharis/antigravity-skills
Build production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment. Use when creating data pipelines, orchestrating workflows, or scheduling batch jobs.
Agent Orchestration Improve Agent
2krmyndharis/antigravity-skills
Systematic improvement of existing agents through performance analysis, prompt engineering, and continuous iteration.
Agent Orchestration Multi Agent Optimize
2krmyndharis/antigravity-skills
Optimize multi-agent systems with coordinated profiling, workload distribution, and cost-aware orchestration. Use when improving agent performance, throughput, or reliability.
TDD Workflows TDD Red
2krmyndharis/antigravity-skills
Generate failing tests for the TDD red phase to define expected behavior and edge cases.
TDD Workflows TDD Cycle
2krmyndharis/antigravity-skills
Coordinate the test-driven development cycle from requirements and failing tests through implementation, refactoring, and validation. Use when building a feature with a structured TDD workflow.
TDD Workflows TDD Refactor
2krmyndharis/antigravity-skills
Refactor code while preserving passing tests and behavior. Use during the TDD refactor phase to remove duplication, improve design, and verify each structural change.
Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.