size-guard
Enforce line budgets and rotate or split large context files.
📖 中文导读:Enforce line budgets and rotate or split large context files. 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: size_guard description: Enforce line budgets and rotate or split large context files. metadata: short-description: Line budget guard
Purpose
Keep context-heavy files within line limits for fast loading.
Steps
- Read
.agent-docs/memory/LINE_BUDGETS.yaml. - Rotate or split files that exceed budgets.
- Update indexes to reference new parts.
- Record the action in the Action Log.
Guardrails
- Preserve history by archiving before splitting.