Add context token conservation guidance

This commit is contained in:
MrSphay
2026-05-15 02:51:28 +02:00
parent 25c438360d
commit 617d4a970f
6 changed files with 12 additions and 0 deletions

View File

@@ -127,6 +127,7 @@ When applying this kit, an agent should:
- read `manifest.json` first,
- choose `new-repository.md` or `existing-project.md`,
- read matching `profiles/*.md` guidance after detecting the stack,
- conserve context tokens by searching first, reading only relevant files, summarizing large outputs, and avoiding generated folders, dependency folders, build outputs, or full logs unless directly relevant,
- at the start of each user-requested task, check for upstream repository updates and apply them immediately with a safe fast-forward pull when the working tree is clean,
- check `git status --short` before editing,
- preserve unrelated user changes,