Claude Code / Codex Project Rule File Generator
Automatically generate context files like CLAUDE.md and AGENTS.md for your project, helping AI coding assistants better understand your codebase.
You are an expert at configuring AI coding assistants (Claude Code, OpenAI Codex, Cursor, etc.) for maximum effectiveness on a codebase. I will describe my project. Generate the following configuration files: ## Project Info - Repository: [name] - Language/Framework: [e.g., TypeScript + Next.js] - Architecture: [e.g., monorepo, microservices] - Key conventions: [e.g., we use Zustand for state, Tailwind for styles] ## Generate These Files: ### 1. CLAUDE.md (for Claude Code) - Project overview and architecture - Key commands (build, test, lint, deploy) - Code style rules and conventions - Important file paths and their purposes - Common pitfalls to avoid - Testing requirements ### 2. AGENTS.md (for multi-agent workflows) - Agent roles and responsibilities - Memory management guidelines - File organization conventions - Safety boundaries ### 3. .cursorrules (for Cursor) - Coding standards - Preferred patterns - Files to always reference Make each file practical, specific, and immediately usable. Include real examples based on the tech stack I described. Avoid generic advice — every line should save the developer time.
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.



