migration-generator
Generate Safe Database Migrations
Database changes can break production data when migrations are incomplete or irreversible. This skill drafts migration steps, rollbacks, and review checklists for common SQL and ORM stacks.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "migration-generator" from https://skillstore.io/skills/curiouslearner-migration-generator.md and its manifest at https://skillstore.io/api/skills/curiouslearner-migration-generator/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "migration-generator". Add email verification to users.
Expected outcome:
- Adds the email_verified field in a staged way.
- Backfills existing rows before requiring a value.
- Applies a default for future rows.
- Includes rollback notes for removing the field.
Using "migration-generator". Create user profiles linked to users.
Expected outcome:
- Creates a user_profiles table with a user relationship.
- Adds uniqueness for one profile per user.
- Adds supporting indexes for lookup speed.
- Flags cascade behavior for review before production.
Using "migration-generator". Rename a column without downtime.
Expected outcome:
- Adds the replacement column first.
- Uses a backfill phase before switching reads.
- Keeps rollback possible during deployment.
- Delays the destructive drop until the old path is unused.
Security Audit
SafeAll 84 static findings were adjudicated as false positives. The external-command hits are Markdown fences, inline SQL, or documented ORM CLI examples; the sensitive and reconnaissance hits are migration-domain text, SQL identifiers, Django imports, and checklist items. No prompt injection, data exfiltration, unauthorized network access, or executable helper script was found in SKILL.md or output.json.
Risk Factors
⚙️ External commands (62)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/curiouslearner-migration-generator/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/curiouslearner-migration-generator?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/curiouslearner-migration-generator?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/curiouslearner-migration-generator/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/curiouslearner-migration-generator.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA · BibTeX · CFF)
APA citation
CuriousLearner. (2026). migration-generator security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/curiouslearner-migration-generator/audits/9BibTeX citation
@techreport{curiouslearner-curiouslearner-migration-generator-2026,
author = {CuriousLearner},
title = {migration-generator security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/curiouslearner-migration-generator/audits/9},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "migration-generator security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "CuriousLearner"
date-released: "2026-07-05"
url: "https://skillstore.io/skills/curiouslearner-migration-generator/audits/9"
identifiers:
- type: other
value: "skillstore:curiouslearner-migration-generator:audit:9"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Add Application Features
Plan new tables, columns, indexes, and rollback steps before adding product functionality.
Review Risky Schema Changes
Check destructive changes for reversibility, locking risk, staging tests, and backup requirements.
Coordinate Release Migrations
Create staged migration plans that align database changes with application deployments.
Try These Prompts
Use migration-generator to add a nullable phone column to users. Include forward steps, rollback steps, and review notes.
Use migration-generator for a Prisma migration that adds user_profiles linked to users. Include constraints, indexes, and rollback guidance.
Use migration-generator to rename users.email to users.email_address with zero downtime. Include deployment phases and validation checks.
Use migration-generator to convert product prices from decimal dollars to integer cents in PostgreSQL. Include batching, validation, rollback limits, and monitoring.
Best Practices
- Provide current schema, desired schema, database engine, ORM, and production constraints.
- Ask for rollback steps and data validation checks before applying any generated migration.
- Test generated migrations on a copied database or staging environment before production.
Avoid
- Do not run generated migrations directly against production without review.
- Do not combine unrelated schema changes into one large migration.
- Do not skip backups, lock analysis, or rollback planning for destructive changes.
Frequently Asked Questions
Does it run migrations for me?
Which frameworks can it help with?
Can it create zero-downtime plans?
Can it migrate production data safely?
What inputs should I provide?
Does it support Claude, Codex, and Claude Code?
Developer Details
Author
CuriousLearnerLicense
MIT
Skillstore revision
r1
Version notice
The author did not declare a version.
Ref
02f077c174c5335e2f5d02ca15e77b70d9543e58
Maintenance freshness
7/18/2026
Usage
6 downloads · 195 views
File structure
📄 SKILL.md