Skip to content
Back to skills

Lat Md Knowledge Graph

ASecurity

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.

  • 583 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 28, 2026
ai-agents

Works with

  • mcp

Security analysis

A100/100

Scanned May 28, 2026

npx -y skills add stevesolun/ctx --skill lat-md-knowledge-graph --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lat Md Knowledge Graph?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lat Md Knowledge Graph
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/stevesolun-lat-md-knowledge-graph/badge)](https://www.skillsdirectory.com/skills/stevesolun-lat-md-knowledge-graph)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: lat-md-knowledge-graph
description: >
  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.
---

# 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

- One root instruction file is too large or hides domain decisions.
- Agents repeatedly rediscover the same architecture or business rules.
- Test intent needs explicit specs linked to test code.
- A custom harness needs persistent memory outside conversation history.

## 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.
3. Link concepts with `[[wiki links]]`.
4. Link knowledge pages to source symbols or files.
5. Add code backlinks such as comments or metadata where the code implements a
   documented rule.
6. 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

- Page titles and section anchors are stable.
- Links resolve both ways where needed.
- Code backlinks are narrow and reviewable.
- Checks run in CI before merge.
- Sensitive facts stay out unless the repo already allows them.
- The graph explains current behavior, not a speculative roadmap.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.