From antigravity-awesome-skills
Implements minimal code to pass failing tests in TDD green phase. Shows patterns for Django views and Express routes, keeping changes simple and scoped.
npx claudepluginhub sickn33/antigravity-awesome-skillsThis skill uses the workspace's default tool permissions.
def product_list(request):
Implements minimal code to pass failing tests in TDD green phase. Shows patterns for Django views and Express routes, keeping changes simple and scoped.
Implements minimal code to pass failing tests in TDD green phase. Provides Django/Python and Express/Node.js patterns for red-to-green transitions.
Guides strict Test-Driven Development (Red-Green-Refactor): write failing tests for normal/edge/error cases, minimal code to pass, refactor with checklists. Includes TypeScript example.
Share bugs, ideas, or general feedback.
def 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)
);
resources/implementation-playbook.md for detailed patterns and examples.