context-staged
Installation
SKILL.md
Run the codecontext staged check across all files in the git staging area.
npx codecontext --staged
If stale annotations are found:
- List each stale annotation with its file, line, and reason.
- For each, recommend either:
- Bumping
[verified:YYYY-MM-DD]to today if the context is still accurate. - Updating the annotation summary if the context changed.
- Removing the annotation if the code it described was deleted.
- Bumping
- Do not proceed with the commit until all annotations are verified.
If all annotations are fresh, confirm that the staged files are clear to commit.