Agent skills#
django-modern-rest ships official
Agent Skills inside the dmr package,
in dmr/.agents/skills/. Skills are folders with a SKILL.md file
that coding agents load on demand: Claude Code, Codex, Cursor, Gemini CLI,
GitHub Copilot, and
many others read the same format.
Because the skills live in the package, the skills you install always match
the version of django-modern-rest you have installed.
Available skills:
$dmrto writedjango-modern-restcode with the recommended patterns, and to review existing code for common mistakes$dmr-upgradeto upgrade to a newer release with the official migration prompts$dmr-openapi-skeletonto generate a project skeleton from a singleopenapi.jsonfile (the “Spec First” approach)$dmr-from-django-ninjato help with migrating from Django Ninja$dmr-from-drfto help with migrating from Django REST Framework$dmr-from-dj-rest-authto help with migrating from dj-rest-auth
Installation#
Any agent#
Library Skills finds the skills bundled
with the libraries installed in your project and links them
into .agents/skills/, where agents discover them:
uvx library-skills # -> .agents/skills/dmr, ...
uvx library-skills --claude # also .claude/skills/ for Claude Code
Run it again after upgrading django-modern-rest,
the links follow the installed version.
Claude Code#
Skills are also published as plugins in our marketplace:
/plugin marketplace add wemake-services/django-modern-rest
/plugin install dmr@django-modern-rest
Replace dmr with any other skill name to install it.
Then invoke a skill as /dmr or just describe the task,
skills activate on their own when the request matches their description.
Codex#
Codex reads .agents/skills/ of the project directly,
so uvx library-skills is enough. Mention a skill with $dmr
in a prompt to force it.
Documentation for LLMs#
Every skill tells the agent to read the documentation of the installed version. These are the entry points:
https://django-modern-rest.readthedocs.io/llms.txt is the index of all pages, with the version in its summary
https://django-modern-rest.readthedocs.io/llms.txt is the complete documentation in a single file, including the code of every example
every page is also published as Markdown: replace
.htmlwith.mdin its URL, for example https://django-modern-rest.readthedocs.io/en/latest/pages/routing.mdthe
M↓button next to the title of every page copies that Markdown
Use /en/<version>/ in the URLs above to read the docs
of a specific release.
How skills are tested#
agentskills validate from the
reference implementation
checks every skill against the specification, it runs in just lint.
Important
LLM-generated code cannot guarantee correctness. Always review the output, run the type checker and the test suite, and treat every skill as a draft assistant, not a decision maker.