saleor-django-migration
Skill by saleor
Generates Django schema migrations for the Saleor codebase using manage.py makemigrations. Built for developers who add or change Django models and need schema-only migrations, not data migrations.
Install saleor-django-migration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/saleor/saleor /tmp/saleor && mkdir -p ~/.claude/skills && cp -r /tmp/saleor/.claude/skills/saleor-django-migration ~/.claude/skills/saleor-django-migrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install saleor-django-migration in Claude Code
git clone --depth 1 https://github.com/saleor/saleor /tmp/saleor && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/saleor/.claude/skills/saleor-django-migration ~/.gemini/antigravity-cli/skills/saleor-django-migrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install saleor-django-migration in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
saleor-django-migration is an agent skill for generating Django schema migrations in the Saleor codebase. It tells the assistant to edit the model files and then run ./manage.py makemigrations, rather than writing migration files by hand. The skill covers CreateModel, AddField, AlterField, RemoveField, AddIndex and AddConstraint operations.
After generation, the assistant reads the migration, splits multi-model or multi-field changes into separate migrations, and runs makemigrations --check --dry-run to confirm no changes are pending. Data migrations with RunPython or RunSQL and async tasks are out of scope, and the assistant is told to ask the user when unsure. It is aimed at developers working on Saleor models.
Written from the project's SKILL.md and checked against it.
What it can do
- Generate schema migrationsRuns manage.py makemigrations after model changes instead of hand-writing migration files.
- Split migrationsSeparates multiple new models or multiple field changes on one model into separate migrations.
- Review generated migrationsReads each generated migration to confirm it contains only schema operations.
- Verify no pending changesRuns makemigrations --check --dry-run to confirm all model changes are captured.
- Handle common errorsStops and asks the user about database connection failures and conflicting migrations.
What you need
- A Saleor codebase with a .venv virtual environment
- A running database for manage.py makemigrations
Try asking
- Create a migration for the new Product model I just added in Saleor.
- Generate a migration for the field changes I made to the Order model.
- Check that no Django migrations are pending in the Saleor codebase.
Good to know
- Covers schema-only migrations, not RunPython or RunSQL data migrations.
- Does not cover async or background migrations such as celery tasks.
- The assistant must ask the user if it is unsure whether a migration is schema-only.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/saleor-django-migration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB
Alternatives to saleor-django-migration
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
saleor-django-migration: common questions
Does this skill write migration files by hand?
No. The skill says never to write migration files by hand and always to use manage.py makemigrations.
Can it create data migrations with RunPython?
No. Data migrations with RunPython or RunSQL are outside its scope, and the assistant should stop and ask the user.
What happens if Django asks whether a field was renamed?
The skill says to answer the question based on the model changes that were made.
How do I install saleor-django-migration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is saleor-django-migration free?
The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.
Is saleor-django-migration safe to use?
It scores 88 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 saleor-django-migration?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
