More in this categoryCoding Prompts
09 / 12
2-phase workflowTrending
Codebase Question to Fix
Understand the codebase, then implement the fix.
Published · Updated

Workflow · 2 phases
Phase 1: Phase 1 — Codebase question
Look at my codebase and answer: how does [FEATURE, e.g. authentication] currently work? Trace the flow across files and summarize the architecture in 5 bullet points, naming the key files involved.
Phase 2: Phase 2 — Implement fix
Based on that architecture, implement [THE FIX/FEATURE]: modify the necessary files, keep the existing code style, and list every file you changed with one line explaining each change.
Related prompts
Coding Prompts2 phasesLegacy Code Modernization
Analyze legacy risks, then modernize safely.
- Amazon Q Developer
By Rahul Verma
Coding Prompts2 phasesFunction Draft to Production-Ready
Draft a working function, then harden it for production.
- GitHub Copilot
By Priya Sharma
Coding Prompts
Coding Prompts2 phases