MAI-Code-2
Coding
6 prompts
MAI-Code-2 Prompts for Agentic Coding Work
Microsoft positions MAI-Code-2 for demanding agentic coding rather than autocomplete, which changes what a good prompt looks like. An agent that can edit twenty files needs to be told where to stop more than it needs to be told what to do. These six are built around that: each one constrains scope, forces the model to show its reasoning before it acts, or makes it report honestly when it has nothing. Paste the relevant code or diff first, then the prompt.