context-engineering
仓库创建 2026年2月2日最近提交 6 天前SkillHot 收录 20 天前
▸ 精选理由
为长期维持 AI 会话质量提供可操作框架与策略。
这个 Skill 做什么
系统性管理会话上下文:写入、选择、压缩与隔离四项操作。
把会话上下文当工程来管理:写入外部存储(Write)、挑选重要片段(Select)、压缩长历史(Compress)和隔离敏感或跨项目内容(Isolate)。在上下文窗口快满、要省 token 或跨会话协作时用。特点是把 token 预算、压缩策略和上下文分区作为四项可操作的流程来执行,保证 AI 回答既精准又高效。
▸ 展开 SKILL.md 英文原文
Master the four operations of context engineering — Write, Select, Compress, Isolate. Manage token budgets, compaction strategies, and context partitioning to keep AI sessions sharp and efficient.
2.7k
Stars
257
Forks
40
仓库内 Skill
+55
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/rohitg00/pro-workflow/main/skills/context-engineering/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/rohitg00/pro-workflow/main/skills/context-engineering/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Context Engineering Four operations control everything about how context flows through an AI coding session. Master them and you control the quality of every response. ## The Four Operations ### 1. Write — Persist Info Outside Context Move information out of the context window into durable storage so it survives compaction and session boundaries. **Where to write:** | Target | When | Example | |--------|------|---------| | CLAUDE.md | Permanent project rules | "Always use pnpm, never npm" | | NOTES.md / scratchpad | Working state for current task | Architecture decisions, open questions | | `.claude/memory/` | Learnings and patterns | `[LEARN]` rules from corrections | | External fil
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有