repo-memory-graph

Builds and maintains a persistent knowledge graph of codebase architecture, conventions, bug history, ownership, and module relationships in .codebase/MEMORY.json.

20|3|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/DVNghiem/FlowDeck --skill repo-memory-graph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repo-memory-graph
Source: https://github.com/DVNghiem/FlowDeck/tree/main/src/skills/repo-memory-graph
Command: npx skills add https://github.com/DVNghiem/FlowDeck --skill repo-memory-graph

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Repo Memory Graph provides a long-term knowledge store for a codebase, capturing architecture, conventions, bug history, ownership, and module relationships to guide governance and onboarding.

Core Features & Use Cases

  • Persistently stores modules, dependencies, conventions, bug history, and ownership data.
  • Enables impact analysis and onboarding by mapping relationships and ownership across the repository.
  • Supports governance and maintenance workflows by providing a single source of truth about code structure.

Quick Start

Update the graph to reflect the current codebase by writing the modules, dependencies, and ownership into the memory store.

Frequently Asked Questions about repo-memory-graph

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I maintain a persistent map of my codebase architecture and dependencies?

You can maintain a persistent map of your codebase by storing modules, dependencies, conventions, bug history, and ownership in a JSON knowledge graph. This structure captures relationships from git metadata to provide reliable long-term context.

What is the best way to track codebase ownership and bug history for governance reviews?

Tracking codebase ownership and bug history for governance is done by capturing git metadata and storing it persistently. This creates a single source of truth about module relationships and historical patterns across the repository.

Can I use a persistent memory graph for codebase onboarding and impact analysis?

Yes, a persistent memory graph supports onboarding and impact analysis by mapping dependencies, ownership, and conventions across the repository. It provides a reliable knowledge store to guide new developers through complex module relationships.

How do I update the knowledge graph to reflect current codebase conventions and modules?

To update the knowledge graph, you write the current modules, dependencies, and ownership data into the memory store. This updates the persistent map to accurately reflect the repository's latest architecture and conventions.

Does the codebase memory graph require external dependencies to store repository metadata?

No, the codebase memory graph operates without external dependencies. It natively stores repository metadata, including bug history and conventions, in a local JSON file for reliable long-term context.

When should I not use a persistent knowledge graph for repository maintenance?

A persistent knowledge graph may not suit repository maintenance if your project lacks complex module relationships, git history, or governance needs. It is designed for long-term context rather than temporary or stateless codebase tasks.