principle-guard-the-context-window
Apply when context is filling up: large outputs, long files, repeated reads, fan-out planning. Route bulk to subagents; keep summaries in the main thread, not raw payloads.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- principle-guard-the-context-window
- description
- Apply when context is filling up: large outputs, long files, repeated reads, fan-out planning. Route bulk to subagents; keep summaries in the main thread, not raw payloads.
- disable-model-invocation
- true
02 资源文件 17
- 参考文档agents/openai.yaml43 B
- 参考文档references/core.md5.9 KB
- 参考文档references/extension.md11.3 KB
- 参考文档references/maintaining.md2.6 KB
- 参考文档references/mobile.md4.4 KB
- 参考文档references/owned-paths.json1.7 KB
- 参考文档references/parity.md5.0 KB
- 参考文档references/report-template.md2.2 KB
- 参考文档references/review-sources.json1.0 KB
- 参考文档references/shared-packages.md3.0 KB
- 参考文档references/shared.md24.0 KB
- 参考文档references/terminal.md1.3 KB
- 参考文档repos/core.md4.2 KB
- 参考文档repos/metamask-extension.md5.6 KB
- 参考文档repos/metamask-mobile.md4.1 KB
- 参考文档repos/va-mmcx-terminal.md2.7 KB
- 脚本scripts/materialize-review.mjs16.9 KB
03 SKILL.md 正文
Guard the Context Window
Why: Context overflow degrades reasoning quality, creates compression artifacts, and halts progress.
Pattern:
- Size phases and cap scope. Limit files per phase, set turn budgets, account for mechanism costs.
04 同仓库更多 Skills
skill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
writing-shape
Writing, exploit: shape raw material into an article, paragraph by paragraph.
webapp-testing
Test local web applications using Playwright. Use when verifying frontend functionality, debugging UI behavior, capturing browser screenshots, or viewing browser logs.
wait-what
Stop. That last message did not land: re-pitch it.
prototype
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
improve-codebase-architecture
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.