
Description
django-tdd is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It sets out test-driven development for Django applications, using pytest with pytest-django, factory_boy for test data, mocking and coverage, and testing for Django REST Framework APIs. It follows a red, green, refactor cycle and gives a workflow for writing tests before code, and for testing models, views and serializers. It applies when starting a new Django application, building DRF APIs, or setting up test infrastructure for a project. The skill is for an agent writing tests and code in that order. The skills.sh listing shows a Snyk fail for this skill, while Gen Agent Trust Hub and Socket pass, so review the skill's contents before installing it into a project. A skill is a SKILL.md file of instructions that an AI agent loads when a task calls for it. It is free and open source.…
Highlights
- Red, green, refactor workflow
- pytest-django and factory_boy setup
- Tests for models, views and serializers
- Coverage and mocking guidance
Ratings & Reviews
No ratings yet
Be the first to rate django-tdd.
People also visit

tdd-workflow
Test-driven development workflow: write a failing test first, watch it fail
django-tdd FAQ
What does the django-tdd skill do?
It guides test-driven development for Django: writing failing tests first, then code, then refactoring, using pytest-django and factory_boy.
Does it cover DRF?
Yes. It covers testing Django REST Framework APIs, including serializers.
Are there security findings?
The skills.sh listing shows Snyk failing its check, while Gen Agent Trust Hub and Socket pass. Review the skill before installing it.
How do I install it?
Run: npx skills add https://github.com/affaan-m/ecc --skill django-tdd
Is it free?
Yes. It is free and open source.
What are the best django-tdd alternatives?
Popular alternatives to django-tdd include python-testing, laravel-tdd and tdd-workflow. See all django-tdd alternatives














