Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Drive Django features with outside-in and double-loop TDD: user story, Selenium or functional test, focused Django unit/integration tests, minimal implementation, and refactor. Use when starting or changing Django behavior with tests-first workflow, red/green/refactor, working-state-to-working-state refactors, or deciding which layer should own the next test.
.claude/skills/hashgraph-online-django-outside-in-tdd/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | 41% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -6% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 18% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 3% | 0% |
Use this skill when a Django feature should be grown from observable user behavior down into views, forms, models, and helpers. Keep the outer test broad enough to prove user value and the inner tests small enough to keep the red/green loop fast.
Primary source: Harry Percival, Test-Driven Development with Python, 3rd ed. Guidance is transformed and paraphrased from chapters 1-7, chapter 24, and Appendix A, especially the user-story-to-functional-test flow, double-loop TDD, working-state-to-working-state refactoring, and outside-in development.
RequestFactory, form instances, or model tests at the narrowest useful boundary.Read patterns.md for layer choices, refactoring rules, and failure-handling patterns.
| Signal | Next Test | | --- | --- | | User workflow not proven | Functional test | | URL or redirect missing | URL/view test | | Template output changed | View/template integration test or HTML parser assertion | | Validation rule unclear | Form or model test | | Domain helper emerging | Plain Python unit test | | Refactor crosses wiring | One integration test plus focused unit tests |
Before finishing, report:
Other measured skills in the registry, with their headline benchmark lift.