django-safe-migration
Installation
SKILL.md
Django Migration — Zero Downtime
Project Configuration
Read the project's CLAUDE.md or AGENTS.md for the values below. If they are not set, use the defaults shown.
| Key | Default | Notes |
|---|---|---|
| Django version | unknown | Affects db_default availability — only Django 5.0+ supports it |
| Deploy strategy | rolling deploy | Rolling deploy is the most restrictive; blue/green or maintenance-window deploys allow more operations |
| Runtime guard | none | If a guard is configured (e.g. django-pg-zero-downtime-migrations), operations it blocks are Errors; uncovered operations are Warnings |
| Migration command | python manage.py sqlmigrate |
e.g. make sqlmigrate or docker compose run web python manage.py sqlmigrate |
| Docs / wiki URL | none | If set, append #<anchor> links when flagging issues in review output |
To configure this skill for your project, add a section like this to your CLAUDE.md or AGENTS.md: