Implement the minimal code needed to make failing tests pass in the TDD green phase.
65%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/tdd-workflows-tdd-green/SKILL.mddef product_list(request): products = Product.objects.all() return JsonResponse({'products': list(products.values())})
class ProductListView(View): def get(self, request): products = Product.objects.all() return JsonResponse({'products': list(products.values())})
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)
);Steps marked Role name a specialist perspective: apply the matching skill when it is installed, otherwise perform the step directly.
resources/implementation-playbook.md for detailed patterns and examples.rmyndharis/antigravity-skills
2ee2cf7
Also appears in
last in sync Jul 28, 2026
last in sync Jul 28, 2026
last in sync Jul 28, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.