Skip to main content
ClaudeWave
Slash Command214.4k estrellas del repoactualizado yesterday

database-migration

The database-migration command provides a structured workflow for executing database schema changes and creating migration files. Use this command when modifying database schemas, generating migration files, or updating type definitions related to schema changes in the everything-claude-code repository, following a sequence that emphasizes understanding current state, making minimal coherent changes, and verifying modifications.

Instalar en Claude Code
Copiar
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/affaan-m/ECC/HEAD/.claude/commands/database-migration.md -o ~/.claude/commands/database-migration.md
Después abre una sesión nueva de Claude Code; el slash command carga automáticamente.

database-migration.md

# /database-migration

Use this workflow when working on **database-migration** in `everything-claude-code`.

## Goal

Database schema changes with migration files

## Common Files

- `**/schema.*`
- `migrations/*`

## Suggested Sequence

1. Understand the current state and failure mode before editing.
2. Make the smallest coherent change that satisfies the workflow goal.
3. Run the most relevant verification for touched files.
4. Summarize what changed and what still needs review.

## Typical Commit Signals

- Create migration file
- Update schema definitions
- Generate/update types

## Notes

- Treat this as a scaffold, not a hard-coded script.
- Update the command if the workflow evolves materially.