Skip to content

chore: consolidate AGENTS.md and CLAUDE.md#2163

Open
rahmanunver wants to merge 1 commit intomainfrom
ai-context-loading-improvement
Open

chore: consolidate AGENTS.md and CLAUDE.md#2163
rahmanunver wants to merge 1 commit intomainfrom
ai-context-loading-improvement

Conversation

@rahmanunver
Copy link
Copy Markdown
Contributor

Pull request type

No code changes (changes to documentation, CI, metadata, etc.)


Description

Make AGENTS.md the single source of truth for all AI coding agents (Claude Code, Copilot, Cursor, Windsurf). Shrink CLAUDE.md to a thin wrapper: @AGENTS.md import + Claude Code-specific hooks and auto-loaded docs.

Before: Both files duplicated project overview, structure, commands, and conventions. CLAUDE.md was the detailed version (66 lines), AGENTS.md was the condensed version (36 lines).

After:

  • AGENTS.md (66 lines) — all shared context, tool-agnostic, readable by any agent
  • CLAUDE.md (19 lines) — @AGENTS.md + hooks + @ doc imports

Also adds categorized documentation references in AGENTS.md (essential reading vs on-demand reference) to reduce unnecessary context loading.

Make AGENTS.md the single source of truth for all AI agents. CLAUDE.md
becomes a thin wrapper that imports AGENTS.md and adds Claude Code-specific
hooks and auto-loaded documentation.
@rahmanunver rahmanunver requested a review from a team as a code owner April 3, 2026 14:43
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant