AI for Coding: practical use cases
6 tested AI prompts and workflows for coding, across tools like ChatGPT, Claude and Copilot. Free to copy and adapt.
Filter and search these in the LibraryUse cases (6)
Analyze a complex system incident with Codex
Give Codex the incident context and logs so it can investigate, run checks and revise its findings for engineers to review.
Run a large code migration with parallel Codex agents
Give Codex a short, clear prompt and let several agents work on separate copies of the code while an engineer reviews every proposed change.
Fix and explain Excel formulas and macros with ChatGPT
Describe your sheet and goal, get a working formula or VBA macro, and paste errors back until it works.
Get an architecture map of an unfamiliar codebase in one prompt
Feed a whole repository into a long-context model and get a markdown overview of what each file does and which libraries it relies on.
Build and deploy a small internal web page with Claude Code
Describe a small internal tool in plain English and let Claude Code write the scripts, build the page and set up deployment while you review each step.
Ask for tests before you ask for code
Get the AI to write failing tests first. The code it writes next is far more correct.