Update LLM instruction files for token efficiency and cross-repo navigation

- CLAUDE.md: reduced to single-line pointer to copilot-instructions.md (eliminates redundant auto-loaded content)
- copilot-instructions.md: added @repo name field, relative paths in own-dep-repos, "do not re-read .md files" rule, and explicit permission to navigate external repos

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Loretta 2026-03-31 16:15:02 +02:00
parent 5535011df9
commit bb08c7ae61
2 changed files with 8 additions and 13 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1 @@
# Mango.Nop Libraries — Claude Code Instructions
Before writing any code, read these files:
1. `.github/copilot-instructions.md` — Domain rules (single source of truth)
2. `docs/GLOSSARY.md` — Entity/DTO, data access, and service terminology
3. The relevant project's `README.md` for folder-specific context
These libraries depend on **AyCode.Core** (DLL references — see HintPaths in .csproj for relative location). When a type is referenced but not defined here (e.g. `IEntityInt`, `IAcLoggerBase`, `AcBinarySerializer`, `ToonDescription`), look it up in AyCode.Core source. For core framework rules see `../AyCode.Core/CLAUDE.md`.
When modifying code, update the corresponding README.md if it becomes out of sync with the code.
Always read `.github/copilot-instructions.md` first — it is the single source of truth for this repo.