Lat md knowledge graph

From stevesolun/ctx · View interactive version

Lat md knowledge graph is an AI agent skill from the GitHub repository stevesolun/ctx. Design or audit a repo-local markdown knowledge graph with wiki links, source-code backlinks, drift checks, and searchable sections. Use when AGENTS.md/CLAUDE.md is too flat for a large codebase or when a custom harness needs durable structured project memory.

How to use this skill

Skill file

lat.md Knowledge Graph

Purpose

Turn durable project knowledge into linked markdown files that agents can

search, cite, and keep synchronized with code.

When to Use

Design Pattern

  1. Create a repo-local knowledge directory such as lat.md/ or docs/knowledge/.
  2. Split pages by durable concepts: architecture, domain rules, workflows,

interfaces, test specs, and operational constraints.

  1. Link concepts with [[wiki links]].
  2. Link knowledge pages to source symbols or files.
  3. Add code backlinks such as comments or metadata where the code implements a

documented rule.

  1. Add a check that fails on broken links, missing backlinks, stale indexes, or

test specs without code mentions.

ctx Fit

Use this alongside ctx's LLM-wiki when a project needs its own local memory

graph. ctx recommends skills/MCPs/agents from its catalog; the repo-local graph

stores project-specific facts that should not live in the global catalog.

Quality Bar

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.