CLAUDE.md / .cursorrules Generator
Claude Code can scan the entire project directory and git history to generate accurate configs. In Cursor, use @codebase to give it project-wide context. The 'base on actual patterns' instruction prevents generic output.
Analyze this project and generate a configuration file for {{tool}} ({{config_format}}). Scan the project to determine: - Framework and language versions - Directory structure and conventions - Naming patterns (files, functions, components, variables) - Import ordering conventions - Testing patterns and frameworks used - State management approach - Styling approach (CSS modules, Tailwind, styled-components, etc.) - Error handling patterns - Database and API patterns Generate a {{config_format}} file that includes: 1. **Project overview**: One paragraph summary 2. **Tech stack table**: Layer | Technology | Version 3. **Key conventions**: Every pattern you detected, with examples from the codebase 4. **File structure**: Where things live and why 5. **Do's and Don'ts**: Specific instructions based on patterns you found (not generic advice) 6. **Common commands**: Dev, build, test, lint, deploy Base everything on actual code patterns found in this project — do not include generic best practices that aren't reflected in the codebase.
Variables to customize
Why this prompt works
Claude Code can scan the entire project directory and git history to generate accurate configs. In Cursor, use @codebase to give it project-wide context. The 'base on actual patterns' instruction prevents generic output.
What you get when you save this prompt
Your workspace unlocks powerful tools to iterate and improve.
AI Optimization
One-click improvement with structure analysis and pattern suggestions.
Version History
Track every edit. Compare versions side-by-side with word-level diffs.
Folders & Tags
Organize your library with nested folders, tags, and drag-and-drop.
$ npm i -g @promptingbox/mcpUse Everywhere
Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.
Your prompts, organized
Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.