一键导入
context-diff
Check which @context annotations are affected by recent code changes. Use after editing code to verify context accuracy and flag stale annotations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Check which @context annotations are affected by recent code changes. Use after editing code to verify context accuracy and flag stale annotations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Set up or repair codecontext adoption in a project. Use this whenever the user wants to add @context annotations to a repo, install the codecontext toolchain, update AGENTS.md guidance, improve agent workflows around decision capture, or audit whether an existing codecontext setup is coherent. Prefer this skill over vague "document the tool" work: it is specifically for making a repo actually usable with codecontext.
Surface @context annotations before editing a file. Shows critical constraints, tradeoffs, and risks sorted by priority. Use when about to modify unfamiliar or complex code, or when the user asks what constraints apply to a file.
Check all staged files for stale @context annotations before committing. Use as a pre-commit verification step.
| name | context-diff |
| description | Check which @context annotations are affected by recent code changes. Use after editing code to verify context accuracy and flag stale annotations. |
| user-invocable | true |
| allowed-tools | Bash(npx codecontext *) |
| argument-hint | <file> |
Run the codecontext diff command on the target file to see which annotations are affected by uncommitted changes.
npx codecontext --diff HEAD $ARGUMENTS
For each affected annotation:
[verified:YYYY-MM-DD] to today's date.Flag any !critical annotations that changed — these require careful review.