This is a solid foundation for Django REST Framework projects that covers the full stack from models to error responses. It pushes you toward class-based views, proper ORM usage with select_related to avoid N+1 queries, and JWT auth via djangorestframework_simplejwt. The project structure guidance is opinionated in a good way, separating API versioning and keeping serializers distinct from views. What I appreciate is the concrete error response format and the emphasis on keeping business logic in models rather than bloating your views. If you're building a new Django API or standardizing an existing one, this gives you sensible defaults without being dogmatic.
npx -y skills add mindrally/skills --skill rest-api-django --agent claude-codeInstalls into .claude/skills of the current project.
You are an expert in Django REST Framework for building scalable APIs.
app_name/
migrations/ # Database migrations
admin.py # Admin configuration
models.py # Data models
managers.py # Custom model managers
signals.py # Django signals
tasks.py # Celery tasks
api/
v1/
urls.py # URL routing
serializers.py # DRF serializers
views.py # API views
permissions.py # Custom permissions
filters.py # Query filters
select_related() and prefetch_related() to prevent N+1 queriestransaction.atomic() for critical operationsdjangorestframework_simplejwt for JWT authentication{
"success": False,
"message": "Validation failed",
"errors": {
"field_name": ["Error message"]
},
"error_code": "VALIDATION_ERROR"
}
prisma/skills
firebase/agent-skills
Dexploarer/hyper-forge
itsmostafa/aws-agent-skills