Cursor Composer: Decompose a God Object Into Focused Modules
Analyzes an oversized class or object and produces a concrete multi-file refactor plan with clear ownership boundaries.
The Prompt
Already a member? Sign in.
Cursor Composer: Extract a Config Object From Hardcoded Scattered Values
Finds every hardcoded constant buried across your codebase and consolidates them into a single typed config object.
Cursor Composer: Split a God Component Without Breaking Props
Multi-file Composer prompt that decomposes a bloated component into smaller ones while preserving the exact external prop contract.
Cursor Composer: Build a Vertical Slice From a Single Spec
Turn a one-paragraph feature spec into a coherent multi-file vertical slice with tests, types, and a rollback plan.
Cursor Composer: Split a Route Handler Into Layered Services
Refactors a bloated route handler into clean controller, service, and data-access layers without changing behavior.