Context Staged

Check all staged files for stale @context annotations before committing. Use as a pre-commit verification step.

recallnet 187e864 773 B Updated

File contents

Run the codecontext staged check across all files in the git staging area.

npx codecontext --staged

If stale annotations are found:

  1. List each stale annotation with its file, line, and reason.
  2. 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.
  3. 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.

recallnet/codecontext/tree/main/.claude/skills/context-staged commit 187e864173

Frequently asked questions

npx skillmds add recallnet/context-staged