← ClaudeAtlas

knowledge-graphlisted

Manages persistent Knowledge Graph for specifications. Caches agent discoveries and codebase analysis to remember findings across sessions. Validates task dependencies, stores patterns, components, and APIs to avoid redundant exploration. Use when: you need to cache analysis results, remember findings, reuse previous discoveries, look up what we found, spec-to-tasks needs to persist codebase analysis, task-implementation needs to validate contracts, or any command needs to query existing patterns/components/APIs.
giuseppe-trisciuoglio/developer-kit · ★ 371 · AI & Automation · score 88
Install: claude install-skill giuseppe-trisciuoglio/developer-kit
# Knowledge Graph Skill ## Overview Persistent JSON storage that caches agent discoveries and codebase analysis. Remember findings across sessions, validate task dependencies, query patterns/components/APIs, skip redundant exploration. **Location**: `docs/specs/[ID-feature]/knowledge-graph.json` --- ## When to Use 1. **Cache results** - Before launching expensive codebase analysis, check if findings are already stored 2. **Remember findings** - After agent exploration, persist discoveries for future use 3. **Reuse discoveries** - Query existing context to maintain consistency across tasks 4. **Validate dependencies** - Check if required components/APIs exist before implementing 5. **Look up previous work** - Find what patterns, components, or APIs were already discovered --- ## Instructions ### read-knowledge-graph Read existing Knowledge Graph or initialize empty structure: ``` Read file_path="docs/specs/001/knowledge-graph.json" ``` Returns full KG content. If file missing, returns empty structure and creates on first update. --- ### query-knowledge-graph Query specific sections: `components`, `patterns`, `apis`, `integration-points`, `all` ``` Read file_path="docs/specs/001/knowledge-graph.json" ``` Filter results by section and process in-memory. --- ### update-knowledge-graph ``` # 1. Read existing Read file_path="docs/specs/001/knowledge-graph.json" # 2. Deep-merge updates (arrays append by ID, objects preserve existing) # 3. Update timestamp Write