Research Brief
Turn a broad question into a scoped, source-aware research brief.
$ webtoolist --prompt refactor-plan
Turn a messy module into a staged, low-risk refactor plan.
refactoringarchitectureplanningAct as a staff engineer planning a refactor that must ship incrementally. Module and pain points: [DESCRIBE MODULE, FILE TREE, AND WHAT HURTS] Current behaviour that must not change: [LIST INVARIANTS, PUBLIC APIS, USER-VISIBLE BEHAVIOUR] Constraints: - Team size and review capacity: [DETAILS] - Deployment model: [DETAILS] - Test coverage today: [DETAILS] Produce: 1. A target design in plain language, with the smallest useful boundary changes first. 2. A sequence of steps where every step is independently shippable and reversible. 3. For each step: files touched, risk level, verification (test or manual check). 4. What you would deliberately NOT change, and why. 5. Stop conditions: signs the refactor should be paused or rolled back. Call out any step that would require a coordinated deploy or a data migration.
Related prompts
Turn a broad question into a scoped, source-aware research brief.
Build a realistic plan around available time and weak spots.
Run a SWOT that ends in decisions, not a wall of bullets.
Close the week and choose next week's few priorities.