graph-sync

Installation
SKILL.md

Sync Graph

Sync the knowledge graph with the current git state by diffing last_synced_commit against HEAD.

When to Use

  • After git pull / git merge / git checkout to update graph with new code
  • When you suspect the graph is stale (e.g., colleague pushed changes)
  • After resolving merge conflicts
  • Runs automatically on session start — manual invocation only needed mid-session

How It Works

  1. Reads last_synced_commit from graph metadata
  2. Gets current HEAD commit hash
  3. If same: graph is up to date, no action needed
  4. If different: runs git diff --name-status {last}..{HEAD} to find changed/added/deleted files
  5. Parses changed/added files, removes deleted files from graph
  6. Stores new HEAD as last_synced_commit
Installs
7
GitHub Stars
6
First Seen
Mar 27, 2026
graph-sync — duc01226/easyplatform