dmr-openapi-skeleton
Installation
SKILL.md
DMR OpenAPI Skeleton
Overview
Generate runnable transport-layer skeletons for django-modern-rest from OpenAPI 3.1+ specifications. Keep the output intentionally thin: produce typed DTOs, base controllers, routers, docs wiring, and minimal tests, with zero business logic by default.
Use the repository examples under django_test_app/server/apps/* and tests/* as the local source of truth. Read references/framework-patterns.md when choosing dmr constructs, references/project-map.md when deciding where generated files should live, and references/spec-fidelity.md whenever a source OpenAPI document is authoritative and the generated project should preserve the public contract closely enough for a useful boilerplate.
Primary framework documentation:
Workflow
1. Read the specification first
- Read the provided OpenAPI document before editing code.
- Confirm that
openapiis3.1.xor newer. If the document is older, ambiguous, or incomplete, say so before generating files. - Extract tags, path groups, operation IDs, parameters, request bodies, response codes, reusable schemas, and security declarations.
- Detect difficult constructs early:
oneOf,anyOf,allOf, discriminators, multiple media types, callbacks, and webhook sections.