
⚡ AI Workflow Cheat Sheet for Developers
• Start with intent → “What am I building?”
• Break into units → functions, endpoints, components
• Prompt per unit (not whole app)
• Generate code + tests together
• Run locally → catch real errors
• Paste errors back → get fixes fast
• Ask for edge cases before shipping
• Refactor pass → “make this cleaner & scalable”
• Review pass → “find bugs / security issues”
• Optimize pass → “improve performance”
• Document last → generate README/comments
• Save good prompts → reuse later
🧠 Prompt Patterns:
• “Implement X with Y, include edge cases”
• “Refactor for readability + best practices”
• “Compare 2 approaches and pick one”
• “Explain what’s happening step-by-step”
🔁 Loop:
Build → Run → Fix → Improve → Repeat
🔥 Rule:
AI writes code.
You verify, guide, and ship.
English
