Skip to content
Back to skills

Django Patterns

ASecurity

Django patterns for the ORM, models, views, forms, templates, settings, migrations, admin, and tests. Load before any edit in a Django app, however small, and for Django questions.

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 5, 2026
ai-agentsgodjangotesting

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add ku5ic/claude-kit --skill django-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Django Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Django Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ku5ic-django-patterns/badge)](https://www.skillsdirectory.com/skills/ku5ic-django-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: django-patterns
description: Django patterns for the ORM, models, views, forms, templates, settings, migrations, admin, and tests. Load before any edit in a Django app, however small, and for Django questions.
---

# Django patterns

Default assumption: Django 5.2 LTS, per the Django release notes. 6.1 is the current release.

A row applies when the Django version the project pins, in its requirements file, `pyproject.toml`, or lockfile, is at least the row's version.

## Reference files

Loading this skill isn't enough. Before your next edit, read the file of every row that matches it. The rules live in those files, and this one only points at them.

| Before                                       | Read                                                         |
| -------------------------------------------- | ------------------------------------------------------------ |
| Writing Django code, or raising its version  | [reference/upgrades.md](reference/upgrades.md)               |
| Writing, changing, or reviewing Django code  | [reference/anti-patterns.md](reference/anti-patterns.md)     |
| Writing a queryset or a signal               | [reference/practices.md](reference/practices.md)             |
| Configuring ruff or running Django's checks  | [reference/tooling.md](reference/tooling.md)                 |
| Writing or changing `models.py`              | [reference/models.md](reference/models.md)                   |
| Writing or changing `views.py` or `forms.py` | [reference/views-and-forms.md](reference/views-and-forms.md) |
| Writing or changing a template               | [reference/templates.md](reference/templates.md)             |
| Changing a settings module                   | [reference/settings.md](reference/settings.md)               |
| Writing or changing a test                   | [reference/testing.md](reference/testing.md)                 |
| Writing or squashing a migration             | [reference/migrations.md](reference/migrations.md)           |
| Writing or changing `admin.py`               | [reference/admin.md](reference/admin.md)                     |

Files in this skill

  • SKILL.md2.9 KB
  • reference/admin.md2.2 KB
  • reference/anti-patterns.md2.7 KB
  • reference/migrations.md2.2 KB
  • reference/models.md2.6 KB
  • reference/orm.md3.1 KB
  • reference/settings.md2.5 KB
  • reference/templates.md2 KB
  • reference/testing.md1.9 KB
  • reference/views-and-forms.md2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.