Write correct Django tests — TestCase vs TransactionTestCase, setUpTestData, factory-boy, assertNumQueries, mock.patch placement, and DRF APITestCase patterns
99
99%
Does it follow best practices?
Impact
99%
1.33xAverage score across 2 eval scenarios
Passed
No known issues
Quality
Discovery
100%Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.
This is an excellent skill description that hits all the marks. It uses third person voice, provides comprehensive specific capabilities with Django testing patterns, includes natural trigger terms developers would use, and has explicit 'Use when' guidance. The description is concise yet thorough, making it easy for Claude to select this skill when appropriate.
| Dimension | Reasoning | Score |
|---|---|---|
Specificity | Lists multiple specific concrete actions and concepts: 'TestCase vs TransactionTestCase, setUp vs setUpTestData, factory-boy patterns, assertNumQueries, mock.patch placement, override_settings, file upload testing, management command testing, and DRF APITestCase' - these are all specific, actionable testing patterns. | 3 / 3 |
Completeness | Clearly answers both what ('Write correct Django tests that avoid common pitfalls' plus the detailed list of patterns) AND when ('Use when writing or reviewing Django test suites') with explicit trigger guidance. | 3 / 3 |
Trigger Term Quality | Excellent coverage of natural terms users would say: 'Django tests', 'TestCase', 'TransactionTestCase', 'factory-boy', 'mock.patch', 'override_settings', 'file upload testing', 'management command testing', 'DRF APITestCase', 'test suites' - these match what developers naturally search for. | 3 / 3 |
Distinctiveness Conflict Risk | Highly distinctive with Django-specific testing terminology that wouldn't conflict with general Python testing, other framework testing, or non-testing Django skills. The specific patterns mentioned (factory-boy, DRF APITestCase, etc.) create a clear niche. | 3 / 3 |
Total | 12 / 12 Passed |
Implementation
100%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
This is an excellent skill document that efficiently teaches Django testing patterns through concrete WRONG/RIGHT code comparisons. It assumes Claude's competence, provides executable examples for every pattern, and includes a comprehensive checklist for verification. The references section appropriately points to official documentation for deeper exploration.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The content is lean and efficient, using WRONG/RIGHT code comparisons that immediately show the pattern without explaining basic Django concepts. Each section has a clear rule statement and avoids unnecessary prose. | 3 / 3 |
Actionability | Every section provides fully executable, copy-paste ready code examples with complete imports and realistic test scenarios. The code is not pseudocode—it's real Python that would run in a Django project. | 3 / 3 |
Workflow Clarity | While not a multi-step workflow skill, the content provides clear decision rules (e.g., 'Use TestCase by default; switch to TransactionTestCase only when...') and includes a comprehensive checklist at the end for validation. | 3 / 3 |
Progressive Disclosure | The skill is well-organized with numbered sections, a summary checklist, and external references to official documentation. Content is appropriately contained in one file given its reference nature, with clear navigation via section headers. | 3 / 3 |
Total | 12 / 12 Passed |
Validation
90%Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.
Validation — 10 / 11 Passed
Validation for skill structure
| Criteria | Description | Result |
|---|---|---|
frontmatter_unknown_keys | Unknown frontmatter key(s) found; consider removing or moving to metadata | Warning |
Total | 10 / 11 Passed | |
Reviewed
Table of Contents