Minimal agent docs kit for context injection, progressive disclosure, and reliable hand-off in a single worktree.
This repository is a template-first docs kit for projects that want a small, durable agent memory structure.
AGENTS.mdis the only always-injected index.docs/live/stores the current execution state.docs/reference/stores durable project context.templates/base/contains the generic starter files used to initialize a new project.
The base template generates this structure:
.
├── AGENTS.md
└── docs/
├── live/
│ ├── current-focus.md
│ ├── todo.md
│ └── progress.md
└── reference/
├── implementation.md
├── design.md
├── architecture.md
├── codemap.md
├── memory.md
└── lessons.md
This repository also includes:
README.mdto explain the kit itselftemplates/base/to hold the reusable scaffolddegit.jsonfor a narrow repo-level cleanup case when scaffolding from the repository root
Read only the smallest set of docs needed for the task:
- Start with
AGENTS.md. - Read
docs/live/current-focus.mdfor the active objective. - Read
docs/live/progress.mdfor continuity and latest verification. - Read
docs/live/todo.mdonly when choosing the next action. - Read
docs/reference/implementation.mdordocs/reference/design.mdonly when the work needs them.
The goal is to keep the default context small while still making deeper project knowledge retrievable on demand.
Primary and recommended path: scaffold from templates/base so the new project gets only the starter docs.
npx degit <owner>/<repo>/templates/base my-projectThen fill in:
AGENTS.mdwith your project-specific retrieval contractdocs/live/*with current execution statedocs/reference/*with durable implementation and product context
- The root
README.mdis repository documentation for this kit, not part of the recommended generated project. - If someone scaffolds from the repository root instead of
templates/base,degit.jsonkeeps that narrower flow from carrying the repo-levelREADME.mdinto the generated project.