Claude Code / Codex 项目规则文件生成器
为你的项目自动生成 CLAUDE.md、AGENTS.md 等 AI 编程助手上下文文件,让 AI 更懂你的代码库
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.
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。



