语境重构

原名:context-engineering

优化代理上下文设置。在启动新会话、代理输出质量下降、切换任务或配置项目规则文件和上下文时使用。

分类
开发提效
版本
v1.0.0
作者
郭怡(@user0xtxoi)
下载
2
收藏
0
发布
2026-08-08
更新
2026-08-13
TRACE 评分
4 / 5

内容概览

Feed agents the right information at the right time. Context is the single biggest lever for agent output quality — too little and the agent hallucinates, too much and it loses focus. Context engineering is the practice of deliberately curating what the agent sees, when it sees it, and how it's structured. - Starting a new coding session - Agent output quality is declining (wrong patterns, hallucinated APIs, ignoring conventions) - Switching between different parts of a codebase - Setting up a new project for AI-assisted development - The agent is not following project conventions Structure context from most persistent to most transient: Create a rules file that persists across sessions. This is the highest-leverage context you can provide. CLAUDE.md (for Claude Code): Equivalent files for other tools: - .cursorrules or .cursor/rules/ .md (Cursor) - .windsurfrules (Windsurf) - .github/co…

查看 SKILL 详情