Skip to main content

AI skills for Django

AI Coding Skills for Django

Browse the best AI coding skills for Django in 2026, Django REST Framework scaffolding, pytest-django + factory_boy tests, Celery jobs, migrations, and Postgres + Redis integration. Works with every major AI coding tool.

Short answer

The best AI coding skills for Django are skills-hub's `code-review`, `unit-test` (pytest-django + factory_boy), `api-scaffold` (Django REST Framework / django-ninja), `db-schema` (Django models + migrations), `secure`, and `dependency-scan` (pip-audit). All portable across Claude Code, Cursor, Codex CLI, Windsurf, Copilot, and Cline.

Django still ships more production Python web apps than any other framework in 2026. The skills below detect your Django stack (Django 5+, DRF, django-ninja, pytest-django, factory_boy, Celery, Channels) and emit idiomatic code with proper class-based views, fat-model thin-view patterns, queryset optimization, and migration safety.

Top skills for Django

  1. 01code-to-prd

    6 installs

    Reverse-engineer any codebase into a complete Product Requirements Document (PRD). Analyzes routes, components, state management, API integrations, and user interactions to produce business-readable documentation detailed enough for engineers or AI agents to fully reconstruct every page and endpoint. Works with frontend frameworks (React, Vue, Angular, Svelte, Next.js, Nuxt), backend frameworks (NestJS, Django, Express, FastAPI), and fullstack applications. Trigger when users mention: generate PRD, reverse-engineer requirements, code to documentation, extract product specs from code, document page logic, analyze page fields and interactions, create a functional inventory, write requirements from an existing codebase, document API endpoints, or analyze backend routes.

    Buildfrom Multi-Domain Skills
  2. 02api-review

    5 installs

    Review API design against REST best practices and internal consistency. Audits naming conventions, HTTP method semantics, status code correctness, pagination and filtering patterns, error response format, versioning strategy, rate limiting, idempotency keys, HATEOAS links, and content negotiation. Works with Express, Fastify, Hono, Flask, Django REST, Spring, Rails, Gin, and any HTTP API framework. Use when you need to review an API, audit REST endpoints, check API consistency, fix HTTP status codes, add pagination, or prepare an API for public release.

    Reviewfrom Skills Hub
  3. 03api-docs

    3 installs

    Generate OpenAPI 3.1 documentation from your API codebase. Auto-detects Express, Fastify, NestJS, Django, FastAPI, Flask, Rails, Spring, Go, and more. Extracts routes, request/response schemas, auth requirements, and validation rules. Sets up interactive docs with Swagger UI, Redoc, or Scalar. Use when you need API documentation, OpenAPI spec, Swagger docs, endpoint reference, or REST API docs.

    Docsfrom Skills Hub
  4. 04backend-development

    2 installs

    Build robust backend systems with modern technologies (Node.js, Python, Go, Rust), frameworks (NestJS, FastAPI, Django), databases (PostgreSQL, MongoDB, Redis), APIs (REST, GraphQL, gRPC), authentication (OAuth 2.1, JWT), testing strategies, security best practices (OWASP Top 10), performance optimization, scalability patterns (microservices, caching, sharding), DevOps practices (Docker, Kubernetes, CI/CD), and monitoring. Use when designing APIs, implementing authentication, optimizing database queries, setting up CI/CD pipelines, handling security vulnerabilities, building microservices, or developing production-ready backend systems.

    Buildfrom ClaudeKit Skills
  5. 05api-scaffold

    2 installs

    Scaffold a production-ready backend REST API -- generate a complete server project with routes, controllers, service layer, repository pattern, database models with migrations, JWT authentication with RBAC, request validation, global error handling with custom error classes, structured JSON logging, rate limiting, CORS, health check endpoint, OpenAPI/Swagger documentation, multi-stage Dockerfile, and docker-compose with PostgreSQL and Redis. Supports Fastify 5, NestJS, Express, FastAPI, Django REST, Gin, Chi, Echo, and Rails -- auto-detects framework from context. Build a backend, create an API, generate server, scaffold REST service, new backend project.

    Buildfrom Skills Hub
  6. 06senior-fullstack

    1 installs

    Fullstack development toolkit with project scaffolding for Next.js, FastAPI, MERN, and Django stacks, code quality analysis with security and complexity scoring, and stack selection guidance. Use when the user asks to "scaffold a new project", "create a Next.js app", "set up FastAPI with React", "analyze code quality", "audit my codebase", "what stack should I use", "generate project boilerplate", or mentions fullstack development, project setup, or tech stack comparison.

    Buildfrom Multi-Domain Skills
  7. 07auth-provider

    1 installs

    Set up complete OAuth/SSO authentication with Google, GitHub, Apple, or SAML providers. Auto-detects your framework and configures the best auth library (NextAuth, Passport, Firebase Auth, Supabase, Clerk, Lucia, django-allauth). Includes session management, JWT token refresh, login/logout UI components, route protection middleware, and database schema updates. Use when you need OAuth login, social sign-in, SSO integration, authentication setup, login page, or user authentication.

    Integrationfrom Skills Hub
  8. 08integration-test

    1 installs

    Generate integration tests for APIs, databases, and external services. Auto-detects backend stack (Express, Fastify, NestJS, Django, FastAPI, Rails, Go), ORM (Prisma, TypeORM, SQLAlchemy, GORM), and database (PostgreSQL, MongoDB, Firestore), then creates tests covering endpoint CRUD, auth flows, DB transactions, and external service failures with proper fixtures and mocks. Self-heals failing tests up to 3 iterations. Use when you need to test API endpoints end-to-end, verify database operations, test service interactions, or validate auth and error handling.

    Testfrom Skills Hub
  9. 09contract-test

    1 installs

    Generate consumer-driven contract tests for APIs. Auto-detects framework (Express, Fastify, NestJS, Django, FastAPI, Go), selects Pact, OpenAPI validation, or schema snapshots, verifies backward compatibility, catches breaking changes before deploy, and configures CI verification. Use when you need to validate API schemas, prevent breaking changes, verify backward compatibility, or set up consumer-driven contracts.

    Testfrom Skills Hub
  10. 10django-rest-api-development

    Comprehensive guidelines for building scalable Django REST APIs with proper architecture, authentication, and performance optimization.

    Buildfrom Mindrally Skills
  11. 11rest-api-django

    Comprehensive guidelines for Django REST API development covering project structure, views, models, serializers, authentication, performance, and error handling.

    Buildfrom Mindrally Skills
  12. 12accessibility-lead

    Accessibility team lead and orchestrator. Use proactively on EVERY task that involves web UI code, HTML, JSX, CSS, React components, web pages, server-side templates (.leaf, .ejs, .erb, .hbs), or any user-facing web content. This agent coordinates the accessibility specialist team and ensures no accessibility requirement is missed. Runs the final review before any UI code is considered complete. Applies to any web framework, server-side templating framework (Vapor/Leaf, Rails/ERB, Django/Jinja, Express/EJS), or vanilla HTML/CSS/JS. Works alongside other team leads (e.g., swift-lead) in multi-language projects.

    Buildfrom Accessibility Agents
  13. 13web-development

    Web development guidelines covering Bootstrap, Django, HTMX, and general web best practices

    Buildfrom Mindrally Skills
  14. 14sentry-python-sdk

    Full Sentry SDK setup for Python. Use when asked to "add Sentry to Python", "install sentry-sdk", "setup Sentry in Python", or configure error monitoring, tracing, profiling, logging, metrics, crons, or AI monitoring for Python applications. Supports Django, Flask, FastAPI, Celery, Starlette, AIOHTTP, Tornado, and more.

    Buildfrom Sentry
  15. 15fintech-api

    Scaffold a production-ready financial services API -- generate a complete fintech backend with Plaid bank account linking and transaction sync, ACH/wire/card payment processing with payment orchestration, double-entry bookkeeping ledger with immutable entries and balance caching, KYC identity verification workflow with progressive tiers and document upload, idempotent request handling with deduplication windows, HMAC-signed outbound webhooks with retry and exponential backoff, append-only audit logging for compliance, multi-currency support with integer minor-unit arithmetic, and field-level encryption for sensitive data. Supports Fastify 5, NestJS, Express, FastAPI, Django REST, and Gin. Build a fintech API, create payment backend, scaffold banking API, financial services backend, money transfer service, neobank API, lending platform.

    Buildfrom Skills Hub
  16. 16django-python

    Expert in Django Python web development with best practices

    Buildfrom Mindrally Skills
  17. 17migration-verify

    Verify database migrations are safe before running them. Checks that migrations apply cleanly, reverse cleanly, preserve data integrity, are idempotent, and will not lock tables or cause downtime on large datasets. Supports Prisma, Knex, Alembic, Django, ActiveRecord, Flyway, TypeORM, Sequelize, and raw SQL. Use when you need to review migrations, check migration safety, validate schema changes, assess migration performance impact, or plan zero-downtime deployments.

    QAfrom Skills Hub

Frequently asked questions

Do AI skills handle Django REST Framework conventions?

Yes. The api-scaffold skill detects DRF and emits ModelViewSet + Serializer + Permission classes correctly, with proper filter backends and pagination. It also recognizes django-ninja as the modern alternative.

Can AI generate pytest-django tests with factory_boy?

Yes. The unit-test skill detects pytest-django + factory_boy and emits factories with proper lazy attributes, db_transaction handling, and parametrized tests.

What's the best AI tool for Django?

Cursor's Python tooling (Pyright + pylsp) gives the best inline experience. Claude Code excels at multi-app refactors and migration safety reviews.

Do AI skills handle Django async views?

Yes, modern skills detect Django 5+ async views and use them where they help (I/O-bound endpoints), while keeping sync views for ORM-heavy paths that don't yet have async ORM support.

Other languages and frameworks