db-migrate
Guided database migration workflow — from schema design to rollback documentation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Guided database migration workflow — from schema design to rollback documentation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate customized .claude/ harness framework with Fusion Architecture (GAN-inspired + Domain Specialists). TRIGGER when user wants to set up AI-assisted development structure, create a new project harness, add structure to existing projects, or mentions 'harness', 'scaffold', 'framework setup'. Supports all domains through template + dynamic generation.
Negotiates 'done' criteria between Generator, Evaluator, and architect-lead before implementation begins. Converts subjective goals into testable, gradable criteria with clear domain responsibilities.
Production incident response workflow — triage, root cause analysis, and resolution.
Track, categorize, and prioritize technical debt across the codebase.
Save current progress with structured handoff artifact. Enables context reset for long-running tasks and session recovery.
Analyze existing web development codebase and generate documentation for AI-assisted development. Use when adding harness to existing projects (1→N).
| name | db-migrate |
| description | Guided database migration workflow — from schema design to rollback documentation. |
| argument-hint | [migration description] |
| user-invocable | true |
| allowed-tools | Read, Glob, Grep, Write, Edit, AskUserQuestion |
Design and document database schema changes with proper rollback support.
Ask the user:
Check existing schema:
models/ for current table definitionsmigrations/ for recent changesPropose the migration approach:
Ask critical questions:
Design rollback:
Generate migration with proper naming: YYYYMMDD_HHMM_description.py
"""
Migration: [Description]
Rollback:
[Exact commands to reverse this migration]
Performance Impact:
- [Document any index changes and expected query impact]
Data Migration Notes:
- [Any data transformation that occurs]
"""
def up(connection):
"""Apply the migration."""
connection.execute("""
[SQL commands to apply migration]
""")
def down(connection):
"""Rollback the migration."""
connection.execute("""
[SQL commands to reverse migration]
""")
Before finalizing, verify:
Present the migration and ask:
"Here's the migration file. Should I write it to
migrations/[filename]?"
Important: Do NOT execute the migration. Only create the file.
User executes: alembic upgrade head or equivalent.
If Redis schema changes are needed:
Document key patterns:
Key Pattern: app:module:entity:{id}
Purpose: [What this key stores]
TTL: [Expiration time]
Document migration strategy:
migrations/