一键导入
context-staged
Check all staged files for stale @context annotations before committing. Use as a pre-commit verification step.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Check all staged files for stale @context annotations before committing. Use as a pre-commit verification step.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
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.
Check which @context annotations are affected by recent code changes. Use after editing code to verify context accuracy and flag stale annotations.
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.
基于 SOC 职业分类
| name | context-staged |
| description | Check all staged files for stale @context annotations before committing. Use as a pre-commit verification step. |
| user-invocable | true |
| allowed-tools | Bash(npx codecontext *) |
| context | fork |
Run the codecontext staged check across all files in the git staging area.
npx codecontext --staged
If stale annotations are found:
[verified:YYYY-MM-DD] to today if the context is still accurate.If all annotations are fresh, confirm that the staged files are clear to commit.