Isurwars/Correlation / .agents/skills/graphify
graphify
VerifiedMaintain and regenerate Graphify knowledge graph to eliminate context drift and enable caveman navigation. Use when files are added, moved, or deleted.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.9 KB |
SKILL.md
View on GitHub---
name: graphify
description: Maintain and regenerate Graphify knowledge graph to eliminate context drift and enable caveman navigation. Use when files are added, moved, or deleted.
---
# Graphify Automation & Sync Protocol
This skill maintains the structural dependency graph (`graphify-out/`) for the Correlation codebase, ensuring agent context stays synchronized with source code changes.
## 1. Trigger Conditions
### Mandatory Execution Triggers:
1. **Post-Implementation Plan Execution (Non-Negotiable):**
- Whenever an implementation plan is completed and code modifications have passed verification/tests, `graphify update .` MUST be executed immediately before concluding the task.
2. **File Additions, Modifications, or Deletions:**
- C++ source files (`*.cpp`, `*.hpp`, `*.h`)
- Slint UI components (`*.slint`)
- Build scripts (`CMakeLists.txt`, `*.cmake`)
## 2. Execution Protocol
### Step 1: Run Graphify Update
Execute the codebase graph update command from the project root (sourcing environment secrets for semantic LLM extraction if running in a non-interactive shell):
```bash
[ -f ~/.secrets ] && { set -a; source ~/.secrets; set +a; }
graphify update .
```
### Step 2: Artifact Validation
Confirm the following output artifacts exist and are non-empty:
1. `graphify-out/graph.json`: Machine-readable dependency graph (must contain non-empty node graph, typically >6000 nodes).
2. `graphify-out/GRAPH_REPORT.md`: Human-readable community cluster report (must contain navigation hubs).
### Step 3: Stale Node Verification
If files were deleted or renamed, verify that obsolete nodes no longer appear in `graphify-out/GRAPH_REPORT.md`.
## 3. Failure Handling & Fallbacks
If `graphify` is unavailable or returns an error:
1. Log the failure reason.
2. Fall back to manual target mapping using `CMakeLists.txt` and file tree inspection (`find src/ include/ ui/ -type f`).
3. Alert the user if critical dependency maps are out of sync.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |