Documentation
README
Sync Agent Instructions
Keep CLAUDE.md, GEMINI.md, and AGENTS.md in sync so all AI coding tools share the same project instructions.
Workflow
-
Detect changes โ Run
git diff HEAD -- CLAUDE.md GEMINI.md AGENTS.mdto see which file(s) have uncommitted changes. -
Determine source file:
- One file changed โ That file is the source. Copy its content to the other two.
- Multiple files changed โ Ask the user which file to use as the source.
- No files changed โ Compare all three with
diff. If they differ, report which sections differ and ask the user which file to use as source. If identical, report "All instruction files are in sync." and stop.
-
Sync โ Read the source file and write its exact content to the other two files.
This is the opening of the README. Read the full README on GitHub.