---
applyTo: "AGENTS.md,CLAUDE.md,SKILL.md,.claude/**/*.md,.cursor/rules/**/*.mdc,.github/AGENTS.md,.github/CLAUDE.md,.github/copilot-instructions.md,.github/instructions/**/*.instructions.md,docker/AGENTS.md,docker/CLAUDE.md,scripts/AGENTS.md,scripts/CLAUDE.md,src/api/**/AGENTS.md,src/api/**/CLAUDE.md,src/api/SKILL.md,src/api/skills/**/*.md,src/cook-web/**/AGENTS.md,src/cook-web/**/CLAUDE.md,src/cook-web/SKILL.md"
---

<!-- Generated by scripts/generate_ai_collab_docs.py. Edit metadata in that script. -->

# Copilot Instructions: AI Collaboration Files

- Treat `AGENTS.md` and `CLAUDE.md` as the source of truth; keep derived
  Cursor and Copilot instruction files aligned with them.

- When shared hard rules move, update the entry-point docs and the generated
  mirrors in the same change.

- If one instruction surface changes behavior or expectations, update the
  parallel instruction files in the same change.

- Run `python scripts/generate_ai_collab_docs.py` and
  `python scripts/check_repo_harness.py` after modifying shared AI
  collaboration guidance, regenerate knowledge indexes when the docs structure
  moves, and run `python scripts/check_architecture_boundaries.py` when shared
  source ownership boundaries change.
