CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

dmr

Write django-modern-rest (dmr) code with the recommended patterns, covering controllers, routers, typed DTOs with msgspec or pydantic, auth, throttling, error handling, OpenAPI, and tests. Use whenever a project depends on django-modern-rest, imports `dmr`, or asks for a typed Django REST API, and when reviewing dmr code for mistakes.

Quality

92%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

86%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An excellent, dense body of library-specific rules with concrete commands, real code patterns, an explicitly sequenced workflow ending in verification, and a well-structured one-level-deep reference bundle with a navigable topic table. The two gaps keeping it from top marks are code snippets that lack the imports needed to be copy-paste executable and a verify step that stops at running validation without an error-recovery loop.

Suggestions

Add an error-recovery branch to the Workflow's Verify step, e.g. 'If `check`, the type checker, or tests fail, fix the reported issue and re-run them before proceeding' — the workflow currently ends at running validation without saying what to do on failure (workflow_clarity).

Include the necessary imports in the code snippets (e.g. `from dmr import Controller, Body` and `from dmr.errors import APIError, ErrorType`) so the controller and error-raising examples are copy-paste executable as written (actionability).

Show one concrete runnable test example using the `dmr_rf` or `dmr_client` fixture in the Verify step, so the recommended testing path is directly executable rather than only named (actionability).

DimensionReasoningScore

Conciseness

Nearly every line is dmr-specific knowledge Claude cannot infer ("Name component parameters exactly `parsed_body`... Other names are silently not parsed", "`as_view` silently ignores `throttling=` and `auth=`"), with zero explanation of general Django or REST concepts. The 6-line intro is the only orientation text and earns its place; version sensitivity is handled by instructing to "read the docs for the installed version, not the latest one" rather than hardcoding version numbers, so no time-sensitivity penalty applies.

5 / 5

Actionability

The body gives executable commands ("uv pip show django-modern-rest", "python manage.py check", "python manage.py dmr_export_schema <path>") and real code patterns (the `parsed_body: Body[UserModel]` controller, the `raise APIError(...)` snippet, the `concrete_views.ObtainTokensSyncController.as_view(serializer=...)` route). It is not a 5 because the snippets omit imports and surrounding setup, so they are illustrative rather than copy-paste ready; it is well above a 3 because the code is real and executable, not pseudocode.

4 / 5

Workflow Clarity

The Workflow section is a clearly sequenced 4-step process (check installed version → load versioned docs → read the area reference → verify) with an explicit validation step ("run `python manage.py check`, the project's type checker, and tests written with the `dmr_client` / `dmr_rf` fixtures... run `python manage.py dmr_export_schema <path>` and review the diff") plus a separate review checklist. It falls short of anchor 5 only because there is no error-recovery branch telling Claude what to do when verification fails; the skill is not destructive or batch-oriented, so the workflow-clarity cap of 3 does not apply.

4 / 5

Progressive Disclosure

The Quick reference table maps each topic to a concrete rule count and a real one-level-deep file — all 7 links (references/controllers.md, routing.md, errors.md, validation.md, security.md, testing.md, openapi.md) exist in the bundle, and inspection shows the reference files link only back to SKILL.md with no nested references. Core always-needed rules stay inline while details are deferred, which is the anchor-5 pattern of a clear overview with well-signaled, easy-to-navigate references.

5 / 5

Total

18

/

20

Passed

Description

96%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description in third-person voice: it names concrete write and review actions, enumerates comprehensive coverage of the library's areas, and provides an explicit multi-trigger 'Use whenever' clause covering authoring, dependency, import, and review contexts. The only weakness is that the generic phrase 'typed Django REST API' slightly overlaps with other typed Django frameworks, which is the distinction between a 4 and a 5 on conflict risk.

DimensionReasoningScore

Specificity

Two concrete actions are stated — "Write django-modern-rest (dmr) code with the recommended patterns" and "reviewing dmr code for mistakes" — and the enumerated coverage ("controllers, routers, typed DTOs with msgspec or pydantic, auth, throttling, error handling, OpenAPI, and tests") spans the library's whole surface. This matches the anchor for multiple specific concrete actions with comprehensive coverage; score 4 would require identifiable coverage gaps, and none are present.

5 / 5

Completeness

Both questions are answered explicitly: what ("Write django-modern-rest (dmr) code with the recommended patterns, covering controllers, routers, typed DTOs...") and when ("Use whenever a project depends on django-modern-rest, imports `dmr`, or asks for a typed Django REST API, and when reviewing dmr code for mistakes"). This mirrors the anchor-5 example structure of concrete what plus multiple explicit trigger phrases, so it is not the level-4 anchor where 'when' could be more specific.

5 / 5

Trigger Term Quality

The description includes the full package name ("django-modern-rest"), the abbreviation ("dmr"), the import token ("imports `dmr`"), a dependency-based trigger ("a project depends on django-modern-rest"), and the natural request phrase "asks for a typed Django REST API". This is the comprehensive synonym set a user in this niche would actually say; no clearly missing natural term keeps it below the level-5 anchor.

5 / 5

Distinctiveness Conflict Risk

Triggers like "depends on django-modern-rest" and "imports `dmr`" are unambiguous and would not fire for any other skill. However, "asks for a typed Django REST API" could also describe closely related typed frameworks such as django-ninja, giving minor overlap risk with a neighboring skill — exactly the anchor-4 condition rather than the minimal-conflict anchor 5.

4 / 5

Total

19

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository

wemake-services/django-modern-rest

Path

dmr/.agents/skills/dmr/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.