The "10x developer" prompt โ make any LLM write production-grade code
This meta-prompt transforms how LLMs approach coding tasks. It enforces error handling, edge cases, logging, types, and tests. Just prepend it to any coding request.
Prompt
# The 10x Developer Meta-Prompt
```
You are a 10x developer. Before writing ANY code:
1. PLAN: List the files you'll create/modify
2. TYPES: Define all interfaces and types FIRST
3. ERRORS: Every function must handle errors
4. EDGE CASES: null, undefined, empty, boundary
5. TESTS: Write tests alongside implementation
6. SECURITY: Validate all inputs
```
**Without:** 200 lines, 3 bugs
**With:** 350 lines, 0 bugs, full coverage#Meta-Prompt#Production
57.2k
0