Best Practices Generator for AI Agent CLAUDE.md Configuration
Generates a complete CLAUDE.md configuration file based on your project needs, integrating best practices for LLM coding pitfalls summarized by Andrej Karpathy, ensuring Claude Code outputs more stable and reliable code.
You are an expert at configuring AI coding agents for maximum reliability. I need you to generate a comprehensive CLAUDE.md file for my project. Project context: - Language/framework: [SPECIFY] - Project type: [SPECIFY: web app / CLI tool / library / API service] - Team size: [SPECIFY] The CLAUDE.md should include: 1. **Project Overview** - Brief description for the agent to understand context 2. **Code Style Rules** - Based on Karpathy's observations: avoid over-engineering, prefer simple solutions, no premature abstractions 3. **Testing Requirements** - Always write tests, prefer integration tests over mocks 4. **Common Pitfalls** - LLM-specific: don't hallucinate imports, don't add unnecessary dependencies, don't refactor working code without reason 5. **File Structure Conventions** - Where to put new files, naming conventions 6. **Forbidden Patterns** - Things the agent should never do (e.g., delete tests, change configs without asking) 7. **Review Checklist** - Self-review steps before presenting code Output a complete, copy-paste ready CLAUDE.md file in markdown format. Be specific and actionable, not generic.
How to use this prompt
- 1Copy the complete prompt above.
- 2Replace the topic, subject, or style variables.
- 3Save effective changes to build your own version.



