Get the FREE Ultimate OpenClaw Setup Guide →

knowledge-graph-management

npx machina-cli add skill a5c-ai/babysitter/knowledge-graph-management --openclaw
Files (1)
SKILL.md
1.1 KB

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

Source

git clone https://github.com/a5c-ai/babysitter/blob/main/plugins/babysitter/skills/babysit/process/methodologies/maestro/skills/knowledge-graph-management/SKILL.mdView on GitHub

Overview

Knowledge Graph Management captures architectural patterns and design decisions in the knowledge graph. It validates graph consistency, enables pattern queries, and syncs the graph with the codebase to reflect reality. Exports to DOT for easy visualization.

How This Skill Works

The skill uses the Maestro toolkit (Read, Write, Edit, Bash, Grep, Glob) to load and update the .maestro/knowledge.dot. It validates consistency, supports targeted updates via Edit, and syncs the graph with codebase reality, with DOT export handled via Bash for visualization.

When to Use It

  • After capturing a new architectural pattern or design decision
  • When the codebase reality diverges from the knowledge graph
  • Before feature releases to verify pattern selections
  • During post-merge updates or hotfix retrospectives
  • During maintenance to keep the knowledge graph in sync with code changes

Quick Start

  1. Step 1: Use Read to load the .maestro/knowledge.dot
  2. Step 2: Use Edit to update patterns and decisions, then Write
  3. Step 3: Use Bash to export a DOT visualization

Best Practices

  • Keep knowledge.dot modular by pattern family and scope
  • Validate graph consistency after each Edit with checks or tests
  • Link graph references with code using Grep/Glob searches
  • Export DOT regularly to share visualizations with the team
  • Document changes with descriptive commits and timestamps

Example Use Cases

  • Capture a microservices interaction pattern and reference it across services
  • Validate architecture decisions across modules to ensure consistency
  • Sync the graph after a major merge to reflect new patterns
  • Export DOT to share the current architecture with stakeholders
  • Record postmortems to capture lessons learned and updated patterns

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers