About

Project Context File Comparison

General

CLAUDE.md vs .cursorrules vs copilot-instructions

Each AI coding agent has a different file for receiving project context. However, the core content (coding rules, architecture, prohibitions) is the same, so it is efficient to write one well and copy it to each tool's format.

How to Use

1

Claude Code: CLAUDE.md + .claude/rules/*.md

2

Cursor: .cursorrules

3

GitHub Copilot: .github/copilot-instructions.md

4

Codex: AGENTS.md (OpenAI)

Tags

#context #rules #comparison #cross-tool

Source

Community Best Practice

← What Is Copilot Workspace? From GitHub Issue to Pull Request How to Prompt AI Coding Agents: Name the File and the Function →