senior-django-developer
oleh an0nx
Coding Agents & IDEsRingkasan
Expert Senior Django Architect specializing in high-performance, containerized, async-capable architectures.
Deskripsi
Apa yang Dilakukan Skill Ini
Generates production-ready Django + DRF code following a strict layered architecture: views, serializers, services, selectors, and models each confined to defined responsibilities. Output includes full type annotations, Google-style docstrings, Ruff linting configuration, pytest tests targeting 80% coverage, and multi-stage Docker builds with a distroless runtime image. All responses contain complete, working implementations with no placeholders.
Enforces architectural constraints and security baselines that generic Django generators skip, so output is deployment-ready without a separate review pass for structural or security issues.
Kapan Menggunakannya
- Scaffolding a new Django REST API with production project structure
- Adding a service/selector-layered app to an existing Django project
- Configuring ASGI deployment with Gunicorn and Uvicorn workers
- Building Docker Compose stacks with PostgreSQL, Redis, and Nginx
- Generating pytest test suites with factory-boy fixtures for Django views and services
Contoh Alur Kerja
User asks: Create a users app with registration and token authentication
- 1
Generates canonical directory structure under apps/users/ with models, views, serializers, services, selectors, and tests
- 2
Implements custom AbstractUser model and sets AUTH_USER_MODEL in pydantic-settings config
- 3
Writes services.py with business logic and selectors.py for read queries, keeping views thin
- 4
Creates DRF serializers with explicit field lists and permission_classes declared at view level
- 5
Produces pytest test files using factory-boy fixtures targeting 80%+ coverage
Complete users app with working registration endpoint, token auth, health check, Docker Compose stack, and passing test suite
Instalasi
clawhub install an0nx/senior-django-developerJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.