Skip to main content
ClaudeWave
Skill1.3k repo starsupdated today

knowledge-graph-management

Knowledge Graph Management maintains the `.maestro/knowledge.dot` file to document architectural patterns and design decisions across a codebase. Use this skill to capture new patterns during development, validate graph consistency against actual code, query for relevant existing patterns when planning features, and synchronize the knowledge graph with codebase changes during merges, story completion, hotfixes, and maintenance cycles.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/a5c-ai/babysitter /tmp/knowledge-graph-management && cp -r /tmp/knowledge-graph-management/library/methodologies/maestro/skills/knowledge-graph-management ~/.claude/skills/knowledge-graph-management
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Knowledge Graph Management

## Capabilities

Manages the `.maestro/knowledge.dot` knowledge graph. Captures architectural patterns and design decisions. Validates graph consistency. Queries for relevant patterns. Syncs graph with codebase reality. Exports to DOT format.

## Tool Use Instructions

- Use **Read** to load the knowledge graph file
- Use **Grep/Glob** to find patterns referenced in the graph within the codebase
- Use **Write** to export the updated knowledge graph
- Use **Edit** to make targeted graph updates
- Use **Bash** to generate DOT visualizations

## Process Integration

- Used in `maestro-knowledge-graph.js` (All operations)
- Used in `maestro-orchestrator.js` (Post-merge update)
- Used in `maestro-development.js` (Story completion capture)
- Used in `maestro-hotfix.js` (Postmortem recording)
- Used in `maestro-maintenance.js` (Knowledge sync)
- Agent: Knowledge Curator
- Operations: capture, validate, query, sync, full-cycle