Personal AI assistant configs: CLAUDE.md for Claude Code, AGENTS.md for Codex, and a .cursor symlink for Cursor rules.
| File | Tool | Purpose |
|---|---|---|
CLAUDE.md |
Claude Code + Cursor | Source of truth — personal preferences + workspace knowledge |
AGENTS.md |
Codex + Cursor | Codex-friendly version derived from CLAUDE.md |
adp-devsite-cursor-rules/.cursor/rules/eds-conversion.mdc |
Cursor | Gatsby-to-EDS conversion workflow rule |
CLAUDE.md and AGENTS.md are scoped to ~/Projects/ so Claude Code and Codex pick them up across all child repos automatically. Cursor also auto-imports them via the "Include third-party Plugins, Skills, and other configs" setting.
This repo lives directly at ~/Projects/. The CLAUDE.md and AGENTS.md at the root are picked up automatically by Claude Code and Codex for any repo opened inside ~/Projects/.
Clone the cursor rules repo into ~/Projects/ (sibling to this repo's root):
cd ~/Projects
git clone https://github.com/AdobeDocs/adp-devsite-cursor-rulesThen run ./pull-configs.sh to ensure the .cursor symlink is set up.
Both CLAUDE.md and AGENTS.md include a Personal Preferences section at the top. This section controls response style and formatting (tone, bullet structure, link format, table icons, etc.) and applies to all repos under ~/Projects/.
The Cursor equivalent lives in adp-devsite-cursor-rules/.cursor/rules/personal-preferences.mdc with alwaysApply: true.
To update preferences:
- Edit the
Personal Preferencessection inCLAUDE.md— this is the source of truth - Update the same section in
AGENTS.mdto match (or run./refresh-agents.shand paste the Codex prompt) - Commit
./pull-configs.shPulls the latest CLAUDE.md and cursor rules, and ensures the .cursor symlink is set up.
If CLAUDE.md changed and you want to refresh the Codex version:
./refresh-agents.shPrints a ready-to-paste Codex prompt and copies it to your clipboard. The prompt tells Codex to update AGENTS.md from CLAUDE.md, preserving the Personal Preferences section verbatim and keeping the workspace context concise.
cd ~/Projects./pull-configs.sh— pullai-configsand cursor rules, verify symlink- If
CLAUDE.mdchanged:./refresh-agents.sh→ paste into Codex → review diff → commit - If personal preferences changed: manually update
AGENTS.mdandpersonal-preferences.mdcto match