with one click
django-expert
// Expert level Django development focused on production architecture, security hardening, testing excellence, and deployment readiness.
// Expert level Django development focused on production architecture, security hardening, testing excellence, and deployment readiness.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | django-expert |
| version | 2.3.0 |
| description | Expert level Django development focused on production architecture, security hardening, testing excellence, and deployment readiness. |
| category | development-python |
"The web framework for perfectionists with deadlines." - This skill ensures you meet deadlines without sacrificing technical quality.
This skill operates WITHIN the SDD framework. Before starting any technical execution:
0. Mode Check: Verify .hub-mode and apply token-distiller guidelines.
.specs/project/STATE.md, .specs/project/MEMORY.md, and .specs/project/LEARNINGS.md.spec.md file exist with clear requirements and Acceptance Criteria (ACs)? (BDD mandatory for Medium+).plan.md file define the architecture and schemas, and include Mermaid diagrams?contract.md file established with validation sensors?.specs/project/tasks.md (or feature-specific) detailed and atomized?Provide a decision framework for developing robust Django applications, focusing on database performance (ORM), reactive interfaces with HTMX, and dependency management via python-uv.
Configuration of the Django ecosystem via UV and architecture definition.
uv init and manage dependencies via UV.config/ and apps/ layout with Split Settings.pyproject.toml with sections for tools (Ruff, Pytest).Model and migration definition.
null=True on text fields (use empty string by default).Business rule implementation.
Services or Managers instead of "fat" Views or Models.Django Forms/ModelForms for input validation.User interface creation.
Initial stability guarantee.
pytest-django and factory-boy for fast, isolated tests.Basic real-world preparation.
python manage.py check --deploy.Debugging and monitoring culture.
Creating robust APIs with Django REST Framework.
Implementation of cross-cutting features.
Strengthening the application against common vulnerabilities.
Ensuring stability and preventing regressions.
Final quality loop before delivery.
ruff check and mypy.Always use select_related (FKs) and prefetch_related (M2M) to optimize queries.
Reactive interfaces without the complexity of SPAs.
Clear contracts and security first.
services.py.null=True on CharField or TextField (use empty default).select_related / prefetch_related).django-environ).ready() method of AppConfig.mark_safe on user input without prior escaping.id in public URLs if security is critical (use UUID).| Guide | Description |
|---|---|
| ORM Performance | Query and Manager optimization. |
| Architecture Prod | apps/ layout and Split Settings. |
| API Patterns | DRF, ViewSets, and Serializers. |
| Security Hardening | Argon2, RBAC, and File Security. |
| Testing Excellence | Factories, Pytest, and Mocking. |
| Deployment & Verification | Ruff, Mypy, and Checklists. |
| Cross-Cutting | Caching, Signals, and Middleware. |
| HTMX Patterns | Fragments and dynamic interactions. |
| Background Tasks | Celery, Redis, and Idempotency. |
| Forms & Validation | Advanced validation and ModelForms. |
| Debugging | Systematic debugging and Logs. |
version: "2.3.0"
feature_id: "HUB-ALIGNMENT"
phase: "VERIFY"
status: "COMPLETED"
last_update: "2026-05-06T13:16:19.370428Z"
evidence_checksum: "8e52f6a"