← Prompt Library / Engineering
Break a scary refactor into a sequence of small, independently shippable steps where the code works after every one.
Plan this refactor: {{refactor}} (current state, target state, why). Constraints: {{constraints}} (team size, deploy cadence, test coverage, can't-break list).
Produce a step sequence where: every step leaves the system working and shippable, risky steps are preceded by a characterisation-test step, parallel-change (expand/migrate/contract) is used where interfaces move, and each step is sized for one PR. For each step: what changes, how to verify, and rollback. Flag the point of no return, the steps that can run in parallel across the team, and — honestly — whether this refactor pays for itself or should be scoped down.
Fields like {{ this }} are placeholders — replace them with your own details, or let Aria ask you for them.
This prompt runs with Aria connected to your email, files, CRM and 40+ other services — and you can schedule it to run automatically.
Start Free WeekReview a diff for correctness, security, and readability issues.
Get a plain-English walkthrough of unfamiliar code.
Generate thorough unit tests for a function.
Diagnose an error systematically: likely causes ranked with reasoning, the cheapest test for each, a...
Build a regular expression from a plain-English requirement — explained token by token, tested again...
Turn a plain-English data question into a working SQL query — with the assumptions stated, a readabl...