# sachingulati/notekeeping architecture

> Architecture diagram of the GitHub repository sachingulati/notekeeping, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sachingulati/notekeeping
- Repository: https://github.com/sachingulati/notekeeping

## Overview

Notekeeping is a Claude Code plugin for keeping task records and durable knowledge in Markdown stores. The main workflow is work → save (record, promote, and drain) → clear → load; separate commands initialize and adopt stores, manage knowledge, and inspect or repair them. The repository tree contains skills and reference material but no sampled runtime source, so relationships below are limited to those explicitly documented in the README.

Main entry points: [`README.md`](https://github.com/sachingulati/notekeeping/blob/main/README.md) (Markdown store), [`skills/save/SKILL.md`](https://github.com/sachingulati/notekeeping/blob/main/skills/save/SKILL.md) (Save checkpoint), [`skills/review/SKILL.md`](https://github.com/sachingulati/notekeeping/blob/main/skills/review/SKILL.md) (Review knowledge), [`skills/work/SKILL.md`](https://github.com/sachingulati/notekeeping/blob/main/skills/work/SKILL.md) (Start work)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_lifecycle["Work lifecycle"]
  node_work["Start work<br/>[SKILL.md]"]
  node_save["Save checkpoint<br/>[SKILL.md]"]
  node_load["Resume work<br/>[SKILL.md]"]
  node_plan["Plan artifact<br/>[SKILL.md]"]
  node_test["Test artifact<br/>[SKILL.md]"]
  node_summary["Summary artifact<br/>[SKILL.md]"]
end

subgraph group_knowledge["Knowledge management"]
  node_project["Project digest<br/>[SKILL.md]"]
  node_review["Review knowledge<br/>[SKILL.md]"]
end

subgraph group_store["Store operations"]
  node_storedata[("Markdown store<br/>[README.md]")]
  node_init["Initialize store<br/>[SKILL.md]"]
  node_adopt["Adopt existing notes<br/>[SKILL.md]"]
  node_index["Work index<br/>[SKILL.md]"]
  node_upgrade["Schema upgrade<br/>[SKILL.md]"]
end

subgraph group_inspection["Inspection and guidance"]
  node_doctor["Store diagnostics<br/>[SKILL.md]"]
  node_config["Configure store<br/>[SKILL.md]"]
  node_budget["Budget report<br/>[SKILL.md]"]
  node_help["Command help<br/>[SKILL.md]"]
end

node_user(("User"))

node_user -->|"starts item"| node_work
node_user -->|"requests checkpoint"| node_save
node_work -->|"creates work record"| node_storedata
node_save -->|"updates record"| node_storedata
node_save -->|"promotes knowledge"| node_storedata
node_save -->|"drains memory"| node_storedata
node_user -->|"requests resume"| node_load
node_load -->|"reads work record"| node_storedata
node_plan -->|"writes artifact"| node_storedata
node_test -->|"writes artifact"| node_storedata
node_summary -->|"writes artifact"| node_storedata
node_user -->|"creates store"| node_init
node_init -->|"creates structure"| node_storedata
node_user -->|"requests adoption"| node_adopt
node_adopt -->|"proposes store content"| node_storedata
node_user -->|"requests digest"| node_project
node_project -->|"rebuilds overview"| node_storedata
node_user -->|"requests review"| node_review
node_review -->|"reads content"| node_storedata
node_review -->|"saves proposal"| node_storedata
node_user -->|"requests diagnosis"| node_doctor
node_doctor -->|"checks store"| node_storedata
node_user -->|"requests upgrade"| node_upgrade
node_upgrade -->|"proposes migration"| node_storedata
node_user -->|"requests rebuild"| node_index
node_index -->|"rebuilds resolver"| node_storedata
node_user -->|"requests settings"| node_config
node_config -->|"reads or changes settings"| node_storedata
node_user -->|"requests report"| node_budget
node_budget -->|"reads note costs"| node_storedata
node_user -->|"requests guidance"| node_help

click node_work "https://github.com/sachingulati/notekeeping/blob/main/skills/work/SKILL.md"
click node_save "https://github.com/sachingulati/notekeeping/blob/main/skills/save/SKILL.md"
click node_load "https://github.com/sachingulati/notekeeping/blob/main/skills/load/SKILL.md"
click node_plan "https://github.com/sachingulati/notekeeping/blob/main/skills/plan/SKILL.md"
click node_test "https://github.com/sachingulati/notekeeping/blob/main/skills/test/SKILL.md"
click node_summary "https://github.com/sachingulati/notekeeping/blob/main/skills/summary/SKILL.md"
click node_storedata "https://github.com/sachingulati/notekeeping/blob/main/README.md"
click node_init "https://github.com/sachingulati/notekeeping/blob/main/skills/init/SKILL.md"
click node_adopt "https://github.com/sachingulati/notekeeping/blob/main/skills/adopt/SKILL.md"
click node_index "https://github.com/sachingulati/notekeeping/blob/main/skills/index/SKILL.md"
click node_project "https://github.com/sachingulati/notekeeping/blob/main/skills/project/SKILL.md"
click node_review "https://github.com/sachingulati/notekeeping/blob/main/skills/review/SKILL.md"
click node_doctor "https://github.com/sachingulati/notekeeping/blob/main/skills/doctor/SKILL.md"
click node_upgrade "https://github.com/sachingulati/notekeeping/blob/main/skills/upgrade/SKILL.md"
click node_config "https://github.com/sachingulati/notekeeping/blob/main/skills/config/SKILL.md"
click node_budget "https://github.com/sachingulati/notekeeping/blob/main/skills/budget/SKILL.md"
click node_help "https://github.com/sachingulati/notekeeping/blob/main/skills/help/SKILL.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_work,node_save,node_load,node_plan,node_test,node_summary,node_user toneBlue
class node_project,node_review toneAmber
class node_storedata,node_init,node_adopt,node_index,node_upgrade toneMint
class node_doctor,node_config,node_budget,node_help toneRose
```

## Components

### Work lifecycle

- [Start work](https://github.com/sachingulati/notekeeping/blob/main/skills/work/SKILL.md): `skills/work/SKILL.md`
- [Save checkpoint](https://github.com/sachingulati/notekeeping/blob/main/skills/save/SKILL.md): `skills/save/SKILL.md`
- [Resume work](https://github.com/sachingulati/notekeeping/blob/main/skills/load/SKILL.md): `skills/load/SKILL.md`
- [Plan artifact](https://github.com/sachingulati/notekeeping/blob/main/skills/plan/SKILL.md): `skills/plan/SKILL.md`
- [Test artifact](https://github.com/sachingulati/notekeeping/blob/main/skills/test/SKILL.md): `skills/test/SKILL.md`
- [Summary artifact](https://github.com/sachingulati/notekeeping/blob/main/skills/summary/SKILL.md): `skills/summary/SKILL.md`

### Knowledge management

- [Project digest](https://github.com/sachingulati/notekeeping/blob/main/skills/project/SKILL.md): `skills/project/SKILL.md`
- [Review knowledge](https://github.com/sachingulati/notekeeping/blob/main/skills/review/SKILL.md): `skills/review/SKILL.md`

### Store operations

- [Markdown store](https://github.com/sachingulati/notekeeping/blob/main/README.md): `README.md`
- [Initialize store](https://github.com/sachingulati/notekeeping/blob/main/skills/init/SKILL.md): `skills/init/SKILL.md`
- [Adopt existing notes](https://github.com/sachingulati/notekeeping/blob/main/skills/adopt/SKILL.md): `skills/adopt/SKILL.md`
- [Work index](https://github.com/sachingulati/notekeeping/blob/main/skills/index/SKILL.md): `skills/index/SKILL.md`
- [Schema upgrade](https://github.com/sachingulati/notekeeping/blob/main/skills/upgrade/SKILL.md): `skills/upgrade/SKILL.md`

### Inspection and guidance

- [Store diagnostics](https://github.com/sachingulati/notekeeping/blob/main/skills/doctor/SKILL.md): `skills/doctor/SKILL.md`
- [Configure store](https://github.com/sachingulati/notekeeping/blob/main/skills/config/SKILL.md): `skills/config/SKILL.md`
- [Budget report](https://github.com/sachingulati/notekeeping/blob/main/skills/budget/SKILL.md): `skills/budget/SKILL.md`
- [Command help](https://github.com/sachingulati/notekeeping/blob/main/skills/help/SKILL.md): `skills/help/SKILL.md`

### Other components

- **User**

## Connections

- User → Start work: starts item (evidence: `README.md`)
- User → Save checkpoint: requests checkpoint (evidence: `README.md`)
- Start work → Markdown store: creates work record (evidence: `README.md`)
- Save checkpoint → Markdown store: updates record (evidence: `README.md`)
- Save checkpoint → Markdown store: promotes knowledge (evidence: `README.md`)
- Save checkpoint → Markdown store: drains memory (evidence: `README.md`)
- User → Resume work: requests resume (evidence: `README.md`)
- Resume work → Markdown store: reads work record (evidence: `README.md`)
- Plan artifact → Markdown store: writes artifact (evidence: `README.md`)
- Test artifact → Markdown store: writes artifact (evidence: `README.md`)
- Summary artifact → Markdown store: writes artifact (evidence: `README.md`)
- User → Initialize store: creates store (evidence: `README.md`)
- Initialize store → Markdown store: creates structure (evidence: `README.md`)
- User → Adopt existing notes: requests adoption (evidence: `README.md`)
- Adopt existing notes → Markdown store: proposes store content (evidence: `README.md`)
- User → Project digest: requests digest (evidence: `README.md`)
- Project digest → Markdown store: rebuilds overview (evidence: `README.md`)
- User → Review knowledge: requests review (evidence: `README.md`)
- Review knowledge → Markdown store: reads content (evidence: `README.md`)
- Review knowledge → Markdown store: saves proposal (evidence: `README.md`)
- User → Store diagnostics: requests diagnosis (evidence: `README.md`)
- Store diagnostics → Markdown store: checks store (evidence: `README.md`)
- User → Schema upgrade: requests upgrade (evidence: `README.md`)
- Schema upgrade → Markdown store: proposes migration (evidence: `README.md`)
- User → Work index: requests rebuild (evidence: `README.md`)
- Work index → Markdown store: rebuilds resolver (evidence: `README.md`)
- User → Configure store: requests settings (evidence: `README.md`)
- Configure store → Markdown store: reads or changes settings (evidence: `README.md`)
- User → Budget report: requests report (evidence: `README.md`)
- Budget report → Markdown store: reads note costs (evidence: `README.md`)
- User → Command help: requests guidance (evidence: `README.md`)
