django

django is a skill for Claude Code from alivirgo/Major-AI-Skills. It costs 38 tokens per session (2,449 once invoked), scanned A, original, MIT.

A practical guide to building and operating Django web applications. Django is a Python framework that includes database models, URL routing, request handling, forms, and an administration area.

In plain words
What is it for?
It supports work on models, database migrations, views, URLs, settings, forms, serializers, and admin customization.
Why use it?
It helps avoid common problems such as unsafe production settings, inefficient database queries, missing migrations, and mishandled secrets.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the major-ai-skills plugin — 147 skills, 8 plugins shipped together

Good fit It supports work on models, database migrations, views, URLs, settings, forms, serializers, and admin customization.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alivirgo/major-ai-skills/django
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add alivirgo/Major-AI-Skills --skill django
Clone the repo
git clone --depth 1 https://github.com/alivirgo/Major-AI-Skills

Made for: Claude Code.

Or install major-ai-skills, the plugin that ships this one along with the rest of its 147 skills, 8 plugins.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for django

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/django/github.svg)](https://agentmods.dev/skills/alivirgo/major-ai-skills/django)
Your own site
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/django"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/django/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for django

Your own site · 80×15
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/django"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/django.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,449 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.02449
Opus 5.5 $0.00015 $0.00980
Sonnet 5.5 $0.00008 $0.00490
Haiku 4.5 $0.00004 $0.00245

Measured 3d ago against content hash 4c1933211bd1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

django scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/django/SKILL.md · 223 lines

How it starts

The opening of the file, as written. The whole thing — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Django Web Framework AI Skill Guide (Claude)

Overview & Engine Architecture

Django is a batteries-included Python web framework: ORM + migrations, URLconf, middleware, forms/admin, and optional ASGI for async. Requests enter via WSGI/ASGI (gunicorn / uvicorn), pass middleware, resolve to views, and hit the ORM or cache. Agents treat SECRET_KEY / DB URLs as runtime secrets, review every migration for locks, kill N+1 with select_related/prefetch_related, and never leave DEBUG=True or runserver in production.

┌─────────────────────────────────────────────────────────────┐
│                 Django request → response                     │
│                                                             │
│  Client → reverse proxy (@nginx / LB)                       │
│       → gunicorn (WSGI) or uvicorn (ASGI)                   │
│       → middleware (Security / CSRF / Auth / Session)       │
│       → URLconf → view / DRF viewset                        │
│            ├── ORM → @postgresql (conn pool / indexes)      │
│            ├── cache / sessions → @redis (optional)         │
│            └── templates / JSON serializers                 │
│                                                             │
│  Side paths                                                 │
│  ├── manage.py migrate / collectstatic / check --deploy     │
│  └── Celery / RQ workers → broker (@redis) + result backend │
└─────────────────────────────────────────────────────────────┘

When to use / when not to

Use when

  • Building server-rendered or API-backed Django apps (admin, forms, ORM-first domains).
  • Designing models, migrations, and query performance fixes.
  • Hardening deploy settings (check --deploy, HTTPS/proxy headers, static files).

Do not use when

  • You need an async-native OpenAPI-first microservice with minimal batteries → @fastapi.
  • The task is only raw SQL / indexing with no Django app → @postgresql.
  • Someone asks to commit SECRET_KEY, DB passwords, or leave DEBUG=True in prod → refuse; use env / @vault.

Read the full file on GitHub · 223 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +119 lines · +14 tokens per session 4c1933211bd1
  2. 1mo ago Changed · -2 tokens per session 0e822d4fa9cf
  3. 1mo ago First seen · 104 lines · 26 tokens per session scan A 22d67ccb1c60

Subscribe to this mod's changes

django is a skill published in the GitHub repository alivirgo/Major-AI-Skills (2 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 2,449 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

drizzle-orm

Drizzle ORM — TypeScript SQL ORM. Schema definition, queries, migrations, transactions, RQB, extensions.

pledgeandgrow/pledge-skills · 28 tokens

Django Patterns

Use this skill when working on Django apps/APIs and you want safe model design, query performance awareness, and clean view/service structure.

AmariahAK/atlarix-skills · 3 tokens

django

Use when building, reviewing, securing, testing or shipping a Django app — models, migrations, QuerySets/managers, FBV/CBV views, forms, the admin, settings split, and Django REST Framework (serializers, ModelViewSet, permissions). NOT async FastAPI/Pydantic services (that is fastapi), NOT Postgres schema/index work…

ericrisco/rsc-harness · 84 tokens

Drizzle ORM Testing

Testing patterns for Drizzle ORM covering migration testing, query builder testing, transaction testing, and database integration testing with PostgreSQL, SQLite, and MySQL.

PramodDutta/qaskills · 36 tokens

django-orm-lens

Static analysis for Django codebases: real answers about models, relations, N+1 queries, migration safety, schema drift and "what breaks if I remove this field", computed from the AST — no database, no settings module, no django.setup(). Use this skill whenever the user works in a Django project and asks about models…

FROWNINGdev/django-orm-lens · 150 tokens

django-expert

Expert-level Django development for robust Python web applications with ORM, admin, and authentication. Use when the user mentions Python, web, ORM, MVC, or Django REST Framework, or when the task involves Django Architecture.

personamanagmentlayer/pcl · 47 tokens