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:01 +02:00
parent da11df5384
commit 045b8e1526
2 changed files with 6 additions and 11 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1 @@
# AyCode.Blazor — Claude Code Instructions
Before writing any code, read these files:
1. `.github/copilot-instructions.md` — Domain rules and UI pitfalls (single source of truth)
2. `docs/GLOSSARY.md` — Blazor/MAUI terminology and DevExpress conventions
3. The relevant project's `README.md` for folder-specific context
This solution depends on **AyCode.Core** (`../AyCode.Core/AyCode.Core.sln`). When a type is referenced but not defined in this Blazor solution (e.g. `AcSignalRDataSource`, `AcBinaryHubProtocol`, `IId<TId>`, `AcObservableCollection`, `AcLoggerBase`), 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.