colossus-lab

New Migration — Development skill for Claude Code

Development community

Create new migration: $ARGUMENTS.

How to install New Migration

Installs to ~/.claude/commands/colossus-lab-openarg_backend-new-migration.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/colossus-lab/openarg_backend/HEAD/.claude/commands/new-migration.md -o ~/.claude/commands/colossus-lab-openarg_backend-new-migration.md

Restart Claude Code, or start a new session, for it to be picked up.

What New Migration does

Create new migration: $ARGUMENTS

Create an Alembic migration for the specified schema change. Follow these steps:

1. Create or modify the domain entity

Edit or create in `src/app/domain/entities/`:

from dataclasses import dataclass, field
from src.app.domain.entities.base import BaseEntity

@dataclass
class NewEntity(BaseEntity):
    field1: str = ""
    field2: int = 0
    # BaseEntity already provides: id (UUID), created_at, updated_at

Reference: `src/app/domain/entitie

Alternatives in Development

  • JS To TS — JavaScript to TypeScript Migration Command 74.5k ★
  • System Cache Cleanup — Clean temporary files and caches to free disk space: $ARGUMENTS 23.4k ★
  • Onboard — You are given the following context: $ARGUMENTS 5.8k ★

Full documentation available on GitHub

View Source Repository