Prompts Forms Resume Reports ★ Saved ★ Saved★ + Submit a tool

Take over a legacy project in 4 steps without breaking it

When taking over someone else's code, map it out clearly before touching it. If there are no tests, add tests first, change only one function at a time, and you'll be able to locate problems. Deliver a call relationship diagram and a small, rollback-ready change.

Step-by-step flow Software and engineering 💻 Code Time: About half a day Cost: Free 6 steps
1
Paste the directory tree and 3 to 5 core files, have it draw the module call relationships, and mark the entry points, data layer, and external dependencies.
Cost: Free
Alternatives: Qwen · Kimi Moonshot AI
2
Ask file by file inside the project: what this section does, who calls it, and what happens if it fails; ask about only one file at a time.
Cost: Subscription
Alternatives: Github Copilot · Qwen Lingma
3
Add 3 unit tests for the function you plan to change, covering normal, boundary, and error cases; get them passing before making changes.
Cost: Free
Alternatives: Github Copilot · Cursor
4
Make small changes, touch only one function at a time, review the diff after each change, and focus on null values, concurrency, and error handling.
Cost: Subscription
Alternatives: Cursor · Qwen Lingma
5
Run the full test suite and lint, confirm no new warnings were introduced, and write the change points into the commit message.
Cost: Free
Alternatives: Github Copilot · Cursor
6
Tag the code before making changes so you can roll back to the pre-change state with one click if something goes wrong.
Cost: Subscription
Alternatives: Cursor · Qwen Lingma
Common pitfalls Tag the code before you start; only make changes when you can roll back.
Don't have it refactor an entire file at once; if something breaks, you won't be able to pinpoint the cause.
When it says it should be fine, you must run it yourself.
Changing core logic without tests is flying blind.

More playbooks

All playbooks
Checklist Time: About 1 day On a price schedule, do I submit as soon as it's calculated or check it three times before stamping? The line items, tax rate, freight and total must all add up. First check whether tax-inclusive and tax-exclusive prices are mixed in the sheet, then cross-check, and deliver a price schedule you can stamp and submit. Manufacturing and export Decision guide Time: About 1 day On a technical deviation table, should I mark everything as no deviation or state each item honestly? If acceptance fails after you win, it's usually because the deviation table promised too much. Compare the tender's technical parameters with your product line by line, mark positive deviation, negative deviation or no deviation honestly, and first define which negative deviations are acceptable. Manufacturing and export Checklist Time: About half a day For a qualification compliance table, do I fill in the evidence first or check the commitment letters first? Fill in your own evidence and page numbers after each row so gaps are obvious at a glance. First check which clauses allow a commitment letter in place of supporting documents, then finalize the evidence list. Deliverable: one qualification compliance table you can hand straight to the bid team. Manufacturing and export Step-by-step flow Time: About 2 days For a new warehouse SOP, should I make a flowchart or a screenshot-based course? The SOP is only really done when a new hire can go through the course and start working. Cover the five steps - receiving, putaway, picking, checking and shipping - each with screenshots, and state in each step what counts as done right. Deliverable: one training course you can teach straight from. Logistics and supply chain