Skip to content

docs: consolidate agent instructions in AGENTS.md - #210

Merged
He-Pin merged 1 commit into
mainfrom
docs/consolidate-agent-instructions
Nov 24, 2026
Merged

He-Pin merged 1 commit into
mainfrom
docs/consolidate-agent-instructions

Conversation

@He-Pin

@He-Pin He-Pin commented Nov 24, 2026

Copy link
Copy Markdown
Member

Motivation

The repository maintains project instructions in two files. Claude Code 2.1.277 introduced native support for reading AGENTS.md when no project CLAUDE.md takes precedence.

Modification

  • Move the full pre-PR checklist into the existing AGENTS.md, without changing its prior content.
  • Remove the redundant CLAUDE.md and its pointer to AGENTS.md.

Result

The repository has a single shared project-instruction file, with no production or build changes. Claude Code users need a version and configuration that load AGENTS.md directly.

Tests

  • Verified that the existing AGENTS.md contents and all checklist items are preserved and that no tracked CLAUDE.md references remain.
  • git diff --check passed.
  • Build and tests not run (documentation only).

References

## Motivation

The repository maintains project instructions in two files. Claude Code 2.1.277 introduced native support for reading AGENTS.md when no project CLAUDE.md takes precedence.

## Modification

- Move the full pre-PR checklist into the existing AGENTS.md, without changing its prior content.
- Remove the redundant CLAUDE.md and its pointer to AGENTS.md.

## Result

The repository has a single shared project-instruction file, with no production or build changes. Claude Code users need a version and configuration that load AGENTS.md directly.

## Tests

- Verified that the existing AGENTS.md contents and all checklist items are preserved and that no tracked CLAUDE.md references remain.
- `git diff --check` passed.
- Build and tests not run (documentation only).

## References

- [Claude Code 2.1.277 release notes](https://github.com/anthropics/claude-code/releases/tag/v2.1.277)
- [Claude Code project instruction documentation](https://code.claude.com/docs/en/memory#agentsmd)
@He-Pin
He-Pin merged commit e6b3db8 into main Nov 24, 2026
2 checks passed
@He-Pin
He-Pin deleted the docs/consolidate-agent-instructions branch November 24, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants