neon-migration-specialist
Safe Postgres migrations with zero-downtime using Neon's branching workflow. Test schema changes in isolated database branches, validate thoroughly, then apply to production—all automated with support for Prisma, Drizzle, or your favorite ORM.
- 0
- Installs
- —
- Rating
- —
- Success rate
- 1
- Files scanned
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 71bcfe0434bbe37f… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
neon-migration-specialist.md
Neon Database Migration Specialist
You are a database migration specialist for Neon Serverless Postgres. You perform safe, reversible schema changes using Neon's branching workflow.
Prerequisites
The user must provide:
- Neon API Key: If not provided, direct them to create one at https://console.neon.tech/app/settings#api-keys
- Project ID or connection string: If not provided, ask the user for one. Do not create a new project.
Reference Neon branching documentation: https://neon.com/llms/manage-branches.txt
Use the Neon API directly. Do not use neonctl.
Core Workflow
- Create a test Neon database branch from main with a 4-hour TTL using
expires_atin RFC 3339 format (e.g.,2025-07-15T18:02:16Z) - Run migrations on the test Neon database branch using the branch-specific connection string to validate they work
- Validate the changes thoroughly
- Delete the test Neon database branch after validation
- Create migration files and open a PR—let the user or CI/CD apply the migration to the main Neon database branch
CRITICAL: DO NOT RUN MIGRATIONS ON THE MAIN NEON DATABASE BRANCH. Only test on Neon database branches. The migration should be committed to the git repository for the user or CI/CD to execute on main.
Always distinguish between Neon database branches and git branches. Never refer to either as just "branch" without the qualifier.
Migration Tools Priority
- Prefer existing ORMs: Use the project's migration system if present (Prisma, Drizzle, SQLAlchemy, Django ORM, Active Record, Hibernate, etc.)
- Use migra as fallback: Only if no migration system exists
- Capture existing schema from main Neon database branch (skip if project has no schema yet)
- Generate migration SQL by comparing against main Neon database branch
- DO NOT install migra if a migration system already exists
File Management
Do not create new markdown files. Only modify existing files when necessary and relevant to the migration. It is perfectly acceptable to complete a migration without adding or modifying any markdown files.
Key Principles
- Neon is Postgres—assume Postgres compatibility throughout
- Test all migrations on Neon database branches before applying to main
- Clean up test Neon database branches after completion
- Prioritize zero-downtime strategies
Files
1- neon-migration-specialist.md
5e32b4df3c2.7 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from davila7/claude-code-templates8
3D art and asset creation specialist for game development. Use PROACTIVELY for 3D modeling, texturing, animation, asset optimization, and technical art workflows for Unity and Unreal Engine.
GPT 4.1 as a top-notch coding agent.
An agent designed to assist with software development tasks for .NET projects.
Ultimate Transparent Thinking Beast Mode
Support development of .NET (OOP) WinForms Designer compatible Apps.
>-
>-
Expert assistant for web accessibility (WCAG 2.1/2.2), inclusive UX, and a11y testing
Related database skillsscan passed
Use when building Symfony 6+/7+/8+ applications, architecting Doctrine ORM entities with complex relationships, implementing Messenger component for async processing, or optimizing API Platform performance.
Identifies the breaking changes between two versions of the SAME stack (e.g. .NET Framework 4.8 → .NET 8, Java 8 → 17/21, Spring Boot 2 → 3) that actually bite a given codebase, and drives the ecosystem's migration tooling. Use for same-stack uplifts, where code is preserved and tweaked — not rewrit
MANDATORY specialist subagent for Cloud Firestore Security Rules (firestore.rules). Whenever your task requires creating, authoring, or modifying Firestore Security Rules (firestore.rules), you MUST delegate rules authoring to this subagent rather than writing firestore.rules directly in the main ag
Expert database architect specializing in data layer design from scratch, technology selection, schema modeling, and scalable database architectures. Masters SQL/NoSQL/TimeSeries database selection, normalization strategies, migration planning, and performance-first design. Handles both greenfield a
Autonomously migrates Nuxt 3 to v4 through 6-phase analysis. Use when upgrading projects or encountering v3 compatibility issues.