PromptForge
返回列表
开发工具Claude CodeCodexAI编程项目配置开发效率

Claude Code / Codex 项目规则文件生成器

为你的项目自动生成 CLAUDE.md、AGENTS.md 等 AI 编程助手上下文文件,让 AI 更懂你的代码库

17 浏览3/23/2026

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.