Repo Feature Planner
Explores your repository and returns a commit sized plan, the risks and a definition of done before it writes code.
You fill in describe the feature you want…
A Claude Code prompt that writes a reversible migration in your repo style, split into safe steps for a large table, with the tests run.
Writes a reversible migration in your repo style, split into safe steps for a large table, with the tests run.
I want you to act as an engineer writing a database migration for this repository. I will describe the schema change and tell you roughly how large the affected tables are. Read first: the migration tool in use, the existing migration files, their naming, how they run during deployment, and the models or queries that touch the affected tables. Report what you found and which queries will break. Then write the migration in this repository's own style, with an up step and a down step that genuinely reverses it, or a written explanation of why it cannot be reversed and what the rollback plan is instead. Where the change would lock a large table, split it into safe steps: add the new column, backfill in batches, write to both, switch the reads, then drop the old one, each as its own migration. Say which steps can ship together and which need a deploy in between. Update the code that reads or writes the changed columns in the same change, and the tests with it. Run the migration against the local database, run the tests, and show both outputs. Never write a destructive step that runs before the code which stopped using the column has shipped. My first request is: "[describe the schema change] The table holds about [row count] rows."
Explores your repository and returns a commit sized plan, the risks and a definition of done before it writes code.
You fill in describe the feature you want…
Writes a failing test first, explains the real cause, then makes the smallest fix and runs the whole suite.
You fill in describe the bug, how to…
Refactors behind passing tests, writing characterisation tests first and stopping the moment one of them fails.
You fill in file or modulethe reason
Reviews a branch or pull request for defects, risks and missing tests, with a verdict and no invented findings.
You fill in branch name, pull request…
Reproduces a failing build locally, names the real cause and fixes it without skipping or deleting a single test.
You fill in paste the failing log herebranch name
Reads your repository and writes its CLAUDE.md: verified commands, the layout and the conventions the code follows.
You fill in how it is deployedthe command I actually run…what an agent should know
One email a week: the best new prompts and one short guide. Unsubscribe any time. Privacy policy