opinionated-django
Opinionated Django architecture, testing, and layered code conventions
All Skills in This Repository (9)
Pure Emerald Level Indicatorsdj-models
Structure Django models with Meta classes, field ordering, and database constraints.
dj-signals
Enqueue Django signal receiver tasks inside the same database transaction with Celery.
dj-architecture
Enforce a strict layered Django architecture with ULID keys and Pydantic DTOs.
dj-lint
Automates ruff linting, pyrefly typing checks, and Django code formatting fixes.
dj-pytest
Configure pytest testing patterns for layered op-django projects.
dj-settings
Format Django settings.py files with standardized sections and INSTALLED_APPS sub-grouping.
dj-services
Refactor Django business logic into service classes with svcs dependency injection.
dj-scaffold
Initialize and configure Django projects with the op-django layered architecture.
dj-prefixed-ulids
Configure Stripe-style prefixed ULID primary keys for Django models.
Frequently Asked Questions
FAQPage SchemaHow to install opinionated-django?โผ
Run `npx skills add dvf/opinionated-django --all -g -y` in your terminal to install all nine Django skills globally.
What architecture does opinionated-django enforce?โผ
It enforces a layered design where repositories handle all ORM work and return Pydantic DTOs, services hold business logic with zero ORM imports, and django-ninja views stay as thin one-liners.
How does it handle async side-effects in Django?โผ
It uses reliable signals that enqueue Celery tasks inside the database transaction, guaranteeing at-least-once delivery with idempotent receivers instead of unreliable standard Django signals.
Does opinionated-django work with Claude Code and Cursor?โผ
Yes. All skills follow the universal SKILL.md standard and run in Claude Code, Cursor, OpenClaw, and other compatible coding agents.
Can I use it on an existing Django project?โผ
Yes. The dj-scaffold skill converts existing projects to the op-django layout, and individual skills like dj-models or dj-lint can be applied on their own.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core