Skip to content

Plan a Multi-File Change

Ask Planner to turn requirements, dependencies, and risks into an ordered implementation plan.

Planner structures complex work before code changes. Ask Bhai for a plan when a feature spans several files, a schema change affects existing behavior, or you need to compare approaches before picking one. Planner has read-only tools, so it can inspect the project and propose changes without editing files or running destructive commands.

Start with requirements and boundaries

Give Bhai the goal, what the app already does, and what must keep working. If the work involves a tradeoff, name it. For example, when adding saved filters, say whether old links should still behave the same and whether a user can share a filter with someone else.

Planner uses those requirements to identify edge cases, dependencies, and potential breaking changes. Ask it to call out assumptions in the plan so you can correct them before they affect the implementation. If there’s a dependency between steps, the plan should say which one needs to land first and why.

Ask for a schema when the data model changes

Planner can design normalized relational schemas for Postgres or SQLite. Give it the entities and the relationships the product needs. For saved filters, describe who owns a filter, which queries load it, and what should happen when its owner is deleted.

The proposal can include foreign keys to enforce relationships and indexes to support the queries you named. Review those choices against the way the app reads and writes data. A planned table or index doesn’t exist in your database until you implement and apply the change.

Review the roadmap before implementation

Check the recommendation

Read which approach Planner recommends and what it gives up. Confirm the plan respects the boundaries you gave Bhai.

Check the order and file list

Review the checklist of files to create or update. Make sure changes that depend on a contract or schema come after that contract or schema is defined.

Decide how to verify it

Check that the plan names the old behavior to preserve and the new behavior to test. If a decision is missing, settle it before work starts so it doesn’t become an assumption baked into the code.

When the plan matches what you want, ask Bhai to carry it out. Bhai can hand a large coordinated transformation to Executor.

Next

Was this page helpful?