Skip to content

Instantly share code, notes, and snippets.

@williamli
Created June 26, 2025 02:29
Show Gist options
  • Save williamli/bbc007be2aaf53b05a7f8e7fa05797db to your computer and use it in GitHub Desktop.
Save williamli/bbc007be2aaf53b05a7f8e7fa05797db to your computer and use it in GitHub Desktop.
AI Coding Agent Instruction Sync - Instruct your coding agents to syncs instructions

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

πŸ”„ AI Agent Instruction Synchronization

IMPORTANT: This project uses multiple AI coding agents. When updating instructions or project knowledge:

Always sync changes across these five files:

  • CLAUDE.md - Instructions for Claude Code
  • AGENTS.md - Instructions for OpenAI Codex // Google Jules also use this file πŸ€·β€β™‚οΈ
  • .github/copilot-instructions.md - Instructions for GitHub Copilot
  • .cursor/rules - Instructions for Cursor
  • GEMINI.md - Instructions for Gemini Code

Synchronization Process:

  1. Update the primary instruction file with new information
  2. Copy changes to the other four files, updating only agent-specific attribution
  3. Commit all five files together to maintain consistency
  4. This ensures all AI agents have the same project understanding and guidelines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment