Agent skill
graph-update
[Code Intelligence] Update the knowledge graph with uncommitted working tree changes. Detects staged/unstaged file changes and re-parses them into the graph. Use mid-session after editing files, or when graph-sync reports no committed changes but working tree has modifications.
Install this agent skill to your Project
npx add-skill https://github.com/duc01226/EasyPlatform/tree/main/.claude/skills/graph-update
SKILL.md
Update Graph (Working Tree)
Update the knowledge graph with uncommitted working tree changes (staged + unstaged).
When to Use
- After editing files mid-session (working tree dirty, nothing committed yet)
- When
/graph-syncreports "up to date" but you've made local changes - Before running
/graph-blast-radiuson uncommitted work - At the end of
/graph-sync(explicitly invoked as step 4)
How It Works
- Diffs working tree against a base commit (default:
HEAD~1) - Finds changed/added/deleted files in the working tree
- Re-parses changed/added files, removes deleted files from graph
- Re-runs API connector and implicit connector (same as
sync)
Steps
- Run update via Bash:
bash
python .claude/scripts/code_graph update --json - Report results: Files updated, added, deleted
- If no changes detected, report "Working tree clean — graph already up to date"
Options
| Flag | Description | Default |
|---|---|---|
--base |
Base commit to diff against | HEAD~1 |
--repo |
Repository root path | . |
--json |
Output results as JSON | off |
Related Skills
/graph-sync— Sync committed changes (invokes/graph-updatein step 4)/graph-build— Full or incremental graph build/graph-blast-radius— Analyze structural impact of changes/graph-query— Query code relationships
Closing Reminders
- MUST break work into small todo tasks using
TaskCreateBEFORE starting - MUST search codebase for 3+ similar patterns before creating new code
- MUST cite
file:lineevidence for every claim (confidence >80% to act) - MUST add a final review todo task to verify work quality
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
fix-parallel
[Implementation] Analyze & fix issues with parallel fullstack-developer agents
ask
[Utilities] Answer technical and architectural questions.
claude-code
[Utilities] Claude Code CLI setup, configuration, troubleshooting, and feature guidance. Triggers on claude code setup, hook not firing, MCP connection, context limit, skill creation, slash command setup.
workflow-deployment
[Workflow] Trigger Deployment & Infrastructure workflow — CI/CD pipelines, Docker, Kubernetes setup and deployment.
workflow-idea-to-pbi
[Workflow] Trigger Idea to PBI workflow — po/ba workflow: capture idea, refine to pbi, create stories, prioritize.
easy-claude-help
[Utilities] Configuration guide for the easy-claude framework — explain settings, guide users through configuring .ck.json.
Didn't find tool you were looking for?