generate-migration

Generate Django database migrations from model changes.

2|1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/noma4i/sentry-selfhosted --skill generate-migration-noma4i
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-migration
Source: https://github.com/noma4i/sentry-selfhosted/tree/main/source/sentry/.agents/skills/generate-migration
Command: npx skills add https://github.com/noma4i/sentry-selfhosted --skill generate-migration-noma4i

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of creating and managing database migrations in Django, reducing manual effort and errors during schema evolution.

Core Features & Use Cases

  • Automatic Migration Generation: Generate migration files based on model changes in Django projects.
  • Custom Migration Support: Create empty or tailored migrations for complex data transformations.
  • Use Case: When adding a new field to a model, this Skill helps generate the corresponding migration script, review it, and apply the update seamlessly.

Quick Start

Use the generate-migration skill to create a migration after modifying your Django models to update the database schema.

Frequently Asked Questions about generate-migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Django database schema changes for new models?

Automating Django database schema changes involves generating migration files based on model modifications. This Skill creates and resolves migration scripts automatically, allowing you to edit, remove, or rename models and columns for smoother updates.

What's the best way to resolve migration conflicts in collaborative Django projects?

Resolving migration conflicts in collaborative Django projects requires managing migration dependencies automatically. This Skill streamlines conflict resolution by automating the creation and resolution of migration files during schema updates.

Can I generate custom Django migrations for complex data transformations?

Generating custom Django migrations for complex data transformations is fully supported. You can create empty or tailored migration files to handle specific data manipulation needs beyond standard schema updates.

Do I need prior knowledge of Django migration commands to use this automation?

Prior knowledge of Django migration commands and best practices is required to use this automation. The Skill requires familiarity with Django's migration system to effectively manage schema evolution and dependency resolution.

What happens to database migrations when renaming or removing Django model columns?

When renaming or removing Django model columns, database migrations must accurately reflect these schema updates. This Skill automates the generation of corresponding migration scripts to ensure seamless and error-free database alterations.