django
Skill by ericrisco
Guides an AI assistant through building, reviewing, securing, testing and shipping Django apps, including Django REST Framework. Aimed at developers who work on Django projects and want ORM, migration, security and testing practice.
Install django
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ericrisco/rsc-harness /tmp/rsc-harness && mkdir -p ~/.claude/skills && cp -r /tmp/rsc-harness/skills/django ~/.claude/skills/djangoRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ericrisco/rsc-harness /tmp/rsc-harness && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/rsc-harness/skills/django ~/.gemini/antigravity-cli/skills/djangoAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The django skill is a SKILL.md guide for building, reviewing, securing, testing and shipping Django applications. It covers models and managers, QuerySets, function and class-based views, forms, the admin, split settings files and Django REST Framework serializers and viewsets. It gives pinned version guidance for Django 5.2 LTS and 6.0 and routes FastAPI and Postgres schema work to other skills.
It works as a set of rules and code examples. Examples show thin views, logic on model methods, select_related and prefetch_related to avoid N+1 queries, database constraints, and safe migrations. A security section lists production settings checked with check --deploy. Tests use pytest-django and factory_boy. The intended readers are developers building or reviewing Django projects with an AI assistant.
Written from the project's SKILL.md and checked against it.
What it can do
- Models and managersPuts domain and query logic on models and custom QuerySet managers.
- QuerySet performanceShows how to avoid N+1 queries with select_related, prefetch_related and bulk_create.
- Views and URLsExplains when to use function-based views, generic CBVs or Django REST Framework.
- Django REST FrameworkCovers serializers, ModelViewSet, routers, permissions and pagination.
- MigrationsGives rules for creating, backfilling and checking migrations in CI.
- Security settingsLists production settings such as DEBUG, ALLOWED_HOSTS, SECURE_HSTS_SECONDS and cookie flags.
- Settings splitRecommends separate base, dev and prod settings modules with secrets read from the environment.
- TestingShows pytest-django tests, transaction handling and assertNumQueries checks.
- Background workCompares the built-in Tasks framework in Django 6.0 with Celery.
What you need
- Python 3.12+
- Django 5.2 LTS or 6.0
- Django REST Framework 3.17.1 for API work
- pytest-django and factory_boy for tests
Try asking
- Review my Django models for N+1 query problems and suggest fixes
- Set up split Django settings for dev and prod with secrets from env
- Build a DRF ModelViewSet with explicit permission classes
Good to know
- Django 6.0 is a non-LTS release with a shorter support window.
- Async FastAPI and Postgres schema or indexing work are outside this skill.
- Built-in Tasks framework is only described for Django 6.0 projects.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/django/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to django
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
django: common questions
Which Django version does this skill target?
It defaults to Django 5.2 LTS. It says to choose Django 6.0 only when a concrete need for the Tasks framework or native CSP applies.
Does it cover Django REST Framework?
Yes. It covers serializers, ModelViewSet, permissions, throttling, pagination and filtering, and pins DRF 3.17.1.
Which topics does it send to other skills?
Async FastAPI and Pydantic services go to the fastapi skill. Postgres schema and index work goes to the postgresdb skill.
How do I install django?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is django free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is django safe to use?
It scores 72 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to django?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
