Skip to content

Conversation

@szokeasaurusrex
Copy link
Member

@szokeasaurusrex szokeasaurusrex commented Jan 13, 2026

Description

Migrate AI agent rules from Cursor-specific format to the standardized AGENTS.md format, enabling compatibility with Claude Code, Cursor, and 60+ other AI coding tools.

The existing rules were Cursor-only, requiring workarounds for Claude Code. AGENTS.md is an open standard that allows a single set of rules to work everywhere. Directory-scoped files replace glob patterns through proximity matching (nearest AGENTS.md to edited file wins).

Considered maintaining separate rule files for each tool but that would require duplicating content and keeping them in sync. The AGENTS.md format is identical to Claude Code's CLAUDE.md format, so a symlink provides native Claude support without duplication.

Issues

N/A

Replace Cursor-specific rules with AGENTS.md format for broader tool
compatibility. AGENTS.md is supported by 60+ AI coding tools including
Cursor, Claude Code, GitHub Copilot, and others.

Changes:
- Create root AGENTS.md with project guidelines
- Create directory-scoped AGENTS.md files (src/, lib/, .github/workflows/)
- Convert CLAUDE.md to symlink for Claude Code compatibility
- Use symlinks for shared rules (apple-catalog-parsing/, scripts/)
- Remove .cursor/rules/ directory
- Condense rule-management guidelines to reduce token usage

The directory-proximity model replaces most glob patterns naturally.
Rules are now maintained in a single format that works across tools.

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@szokeasaurusrex szokeasaurusrex requested review from a team as code owners January 13, 2026 13:50
@szokeasaurusrex szokeasaurusrex marked this pull request as draft January 13, 2026 13:53
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