map-diff
Installation
SKILL.md
$map diff
Trace the downstream impact of staged git changes using the committed coco-map.json. Shows which other functions, evaluation sets, and capability definitions are affected before the commit lands.
Preconditions
.cocoplus/must be initialized.cocoplus/map/coco-map.jsonmust exist (run$mapfirst)- Staged git changes must exist (
git diff --stagedmust be non-empty)
Step-by-Step Behavior
-
Verify initialization: Check
.cocoplus/exists. If not, output: "CocoPlus not initialized. Run$pod initfirst." and exit. -
Verify map exists: Check
.cocoplus/map/coco-map.jsonexists. If not, output:No function knowledge graph found. Run $map first to build it.and exit.