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

@@ -8,6 +8,7 @@ PROJECT_NAME: PROJECT_DESCRIPTION
- Start by reading `manifest.json`, then the workflow file that matches the task: `new-repository.md` for fresh repos or `existing-project.md` for retrofit work.
- Use the matching `profiles/*.md` file when the repository stack is detected. Profiles are guidance, not permission to ignore existing project conventions.
- Conserve context tokens: search with `rg` or targeted file lists first, read only the files needed for the task, summarize large outputs instead of pasting them, and avoid loading generated folders, dependency folders, build outputs, or full logs unless they are directly relevant.
- Follow the `manifest.json` copy map for source and target paths. Do not invent alternate locations unless the target repository already has an equivalent convention.
- Prefer existing project patterns over new abstractions.
- Keep changes scoped to the user's request.