Paste your CLAUDE.md or AGENTS.md content
Checks based on official best practices from Anthropic, OpenAI, Google & community guidelines
Optimize your CLAUDE.md & AGENTS.md for better instruction following
Paste your CLAUDE.md or AGENTS.md content
Checks based on official best practices from Anthropic, OpenAI, Google & community guidelines
LLMs reliably follow ~150-200 instructions. Keep files under 300 lines and ~1500-2500 tokens for best adherence.
Target: <300 lines, <2500 tokens
Use clear markdown headers. Include: Commands, Code Style, Architecture, Testing. Avoid code style rules (use linters instead).
## Commands | ## Architecture | ## Testing
Never include API keys, passwords, or secrets. Use environment variables and .gitignore for sensitive data.
❌ api_key = "sk-..." | ✓ Use $API_KEY
Use @imports for large configs. Create separate files for different concerns. Max 5 levels of nesting.
@./docs/conventions.md
Use IMPORTANT, YOU MUST, NEVER for critical instructions. But don't overuse — dilutes priority signals.
IMPORTANT: Always run tests before commit
Only include universally applicable instructions. Irrelevant context gets ignored. Be specific to your project.
Focus on YOUR project's actual needs