Menu

1 / 2

A knowledge base for your repo and your AI agent

DEV Community: dart·Noa Tubić·9 days ago
#BD2epWRm
#devtodart#devto#dev#knowledge_base#docs
Long article (1091 words) — no AI summary yet.
Reading 0:00
15s threshold

The code tells you what a system does. It doesn't tell you why totals are rounded per line, why a declined card is never retried, or that someone already compared three payment SDKs last spring.

That knowledge usually lives in a wiki nobody reviews, or in one person's head. My AI coding agent has it even worse: every session starts from zero, so it happily suggests the approach we rejected a month ago. I wanted the reasons in the repo, where both people and agents read them, and a check that tells me when they stop being true. So I wrote knowledge_base .

What it gives you

A fixed place for decisions, feature docs, research notes, and a glossary, all plain Markdown in docs/

One index per folder, one line per doc, so a reader opens only what matters

A block in CLAUDE.md or AGENTS.md that tells your agent to read the indexes before it works

A /capture skill that proposes what to keep when a task is done

A checker with thirteen checks, made for CI

It works with any language and any repo.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.