一键导入
database-migrations
Database migration patterns for PostgreSQL + Alembic + reconcile
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Database migration patterns for PostgreSQL + Alembic + reconcile
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Debug frontend vanilla JS issues - console errors, rendering bugs, SPA navigation, WebSocket
Automates the process of setting up the first admin user or adding new admins via the bootstrap endpoint. Includes a Python script for easy execution.
Push to remote and wait for CI to pass. If CI fails, read logs, fix bugs, and re-push. Repeat until green.
Use when building or debugging LangGraph multi-agent systems - eval-first execution, task decomposition, model routing by complexity, and cost discipline
Use when AI agent modifies API routes or backend logic - catch systematic blind spots where the same model writes and reviews code
Use when making or recording significant architectural decisions - capture context, alternatives, and rationale as structured ADRs
| name | database-migrations |
| description | Database migration patterns for PostgreSQL + Alembic + reconcile |
.venv\Scripts\python.exe -m alembic upgrade head # Run pending
.venv\Scripts\python.exe -m alembic downgrade -1 # Rollback last
.venv\Scripts\python.exe -m alembic revision -m "desc" # New migration
.venv\Scripts\python.exe -m alembic current # Current rev
.venv\Scripts\python.exe -m alembic history # History
CREATE INDEX CONCURRENTLY for large tables (no lock)SKIP LOCKED for batch updates on live dataTIMESTAMPTZ not TIMESTAMPNUMERIC not REAL for financial data