Install any skill in seconds. Free to start, no credit card required.
Get Started Free →dokhacgiakhoa/tdd-workflows-tdd-green
Implement the minimal code needed to make failing tests pass in the TDD green phase.
Passed 21 of 22 test cases with the skill, and 13 of 22 without it.
and 8 more in the full report
8 fixed13 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
A test for `queue_task(task_dict)` expects the task to be added to an internal list and returned. The developer wants to set up Redis message queuing with Celery task workers to implement this function. What implementation should be created?
| Checked | Without skill | With skill |
|---|---|---|
| Append the task to an in-memory list to pass the test. | Passed | Passed |
| Avoid introducing external task queue infrastructure during this step. | Missed | Passed |
The instructions your model reads when the skill loads.
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)
);
test cases passed, vs 13 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.