claudegoodies
Command

database-migration

From affaan-m

Workflow command scaffold for database-migration in everything-claude-code.

Provides a generic checklist prompt for making database schema changes via migration files.

Use it when

  • Adding or editing migration files and schema definitions
  • Need a reminder to regenerate types after schema changes
  • Want a repeatable step order for reviewing schema edits

Skip it if

  • It's a scaffold with no actual migration logic or tooling
  • Doesn't target any specific ORM, database, or migration framework
  • Just generic steps you could write yourself in a checklist

Install

/database-migration

Facts

Repository
affaan-m/ECC
Status
Actively maintained
Last commit

Source preview

The instructions Claude Code reads when this command runs.

# /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.
View full source on GitHub →

Other slash commands