원클릭으로
add-migration
Generate and apply an Alembic migration. Use after modifying entities or when schema changes are needed.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate and apply an Alembic migration. Use after modifying entities or when schema changes are needed.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Add a complete REST endpoint from command to controller route. Use when building new API endpoints.
Summarize the API interface changes made during THIS session for the frontend, then optionally spawn an agent to implement them in the frontend repo. Use after changing endpoints, request/response DTOs, or auth.
One-shot guided session — prunes unused code, scaffolds new entities/endpoints, updates project identity config, and replaces the init migration for a specific project.
Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"
Implement a change with a pipeline scaled to its complexity. Single entry point for all code changes — auto-detects effort or accepts small|mid|tuff override.
Run a Linear task end-to-end — creates an isolated tmux session + worktree, starts a Claude agent to implement it, opens a PR, and watches for review feedback automatically.
| name | add-migration |
| description | Generate and apply an Alembic migration. Use after modifying entities or when schema changes are needed. |
| argument-hint | <description> |
Generate an Alembic migration from entity changes and apply it.
$0 -- Migration description (e.g., add invoices table, add status column to orders)Ensure all entities are imported in backend/domain/entities/__init__.py. Alembic's env.py imports this module to discover models.
cat backend/domain/entities/__init__.py
just migration "$0"
This runs alembic revision --autogenerate -m "$0".
Read the new file in backend/infra/database/alembic/migrations/versions/.
Check for:
just migrate
This runs alembic upgrade head.
Check that the migration applied cleanly. Run just check to ensure no type errors.
__init__.pyCREATE TYPE for enums. Alembic usually handles this, but review carefully.drop_column operations. Review these -- they are destructive and irreversible.