Made by: Suryansh Tiwari (credited on image) on X:
Why it helps
Better input = better output.
Instead of:
Use structure.
Prompt Formula
Role + Task + Context + Constraints + Output
Example:
- Role: Senior Engineer
- Task: Build login system
- Context: React app
- Constraints: Keep current UI
- Output: Code + tests
Debug Formula
- Reproduce
- Find cause
- Fix
- Test
Good Uses for Claude Code
- Read files
- Fix bugs
- Refactor code
- Explain code
- Build features
- Review architecture
My Take
Cheat sheets help. Real results come from workflow, clear thinking, and testing.
Question
What’s the best Claude Code tip you’ve learned?