Module Boundary Review
Draws boundaries along what changes together, rather than along the organisation chart or the technical layer.
Free — no card needed
Create a free account
to open Module Boundary Review — and the other 364 prompts across 21 categories.
Already have an account?
Running it, start to finish
- Look at which files actually change together in git history.
- Find the cycles and the everything-depends-on-it module.
- Move one boundary at a time, shipping each step.
What you get back
The output this produces, every time.
- Uses what-changes-together as the test, which is what a boundary exists to serve.
- Identifies layer-based boundaries, where every feature change touches every layer.
- Accepts that some duplication is correct when two similar things change for different reasons.
Getting better results
Where this usually goes wrong, and how to avoid it.
- Look at your commits. Files that always change together are one thing. That evidence is in git and is more reliable than any architectural intuition.
- Watch the common package. A shared utilities module everything depends on means every change is a global change, which is the opposite of a boundary.
- Never restructure big-bang. They get abandoned half-way and leave two conventions in one codebase, which is worse than the original problem.
More Coding prompts
All Coding →- Coding
Review for the Bug, Not the Style
A code review that hunts correctness failures and states the exact input that breaks each one, instead of listing naming preferences.
ClaudeChatGPTGemini000Open → - Coding
Database Migration Plan
Plans a schema change that ships without downtime, in steps that are each independently safe and reversible.
ClaudeChatGPT000Open → - Coding
Refactor With a Safety Net
Plans a refactor as a sequence of individually safe, individually shippable steps, with the characterisation tests that make each one verifiable.
ClaudeChatGPT000Open →
Written for The AI University. Every prompt in this library is original work — authored, tested and revised here, not collected from elsewhere. 365 of them, free with an account.
