Updated: 2026-06-04
- Purpose: Route humans and agents to project skills for workflows and compact docs for reference.
- I/O: Question or task type -> skill for execution or document for design context.
Agents should execute core workflows from .claude/skills/, not by loading workflow docs:
| Task | Runtime contract |
|---|---|
| Initialize a clone/profile | .claude/skills/knowledgebase-initialize/SKILL.md |
| Write or fix wiki pages (evidence-derived) | .claude/skills/wiki-authoring/SKILL.md |
| Capture a first-party note (human, no source) | .claude/skills/wiki-note/SKILL.md |
| Promote/approve/reject wiki pages | .claude/skills/wiki-approval/SKILL.md |
| Configure usage reports | .claude/skills/usage-report-setup/SKILL.md |
| Daily/weekly/monthly memory build | .claude/skills/memory-report/SKILL.md |
| Write handoff documents | .claude/skills/handoff-document/SKILL.md |
For human onboarding, read:
CLAUDE.mddocs/architecture.md- The relevant skill or reference document if needed
| Path | Role |
|---|---|
docs/architecture.md |
System layout and data boundaries |
docs/reference/ |
Human-readable schemas, categories, commands, and lookup tables |
docs/db_informations/ |
Database and reporting references |
docs/db_informations/state-db-schema-reference.md |
Postgres state DB schema + psql read recipes (reads go direct to the DB) |
docs/db-canonical.md |
DB-as-source-of-truth memory architecture decision |
docs/workflows.md |
At-a-glance diagram map: nightly pipeline, review lifecycle (overview only — skills own execution) |
docs/CLAUDE.md |
Document authoring rules |
Use project skills for ordered execution steps. Use docs/reference/ for human-readable lookup material. Keep root docs/ limited to index, architecture, and authoring guidance.
| Need | Read |
|---|---|
| Understand the repo | docs/architecture.md |
| See the whole picture at a glance | docs/workflows.md |
| Run raw-to-wiki pipeline | .claude/skills/wiki-authoring/SKILL.md |
| Jot a first-party note (no source, from any repo) | .claude/skills/wiki-note/SKILL.md |
| Configure cron jobs | .claude/skills/knowledgebase-initialize/SKILL.md |
| Configure usage reports | .claude/skills/usage-report-setup/SKILL.md |
| Run daily/weekly/monthly memory build | .claude/skills/memory-report/SKILL.md |
| Handle handoff lifecycle | .claude/skills/handoff-document/SKILL.md |
| Write valid frontmatter | .claude/skills/wiki-authoring/SKILL.md; reference: docs/reference/frontmatter.md |
| Choose wiki category/path | .claude/skills/wiki-authoring/SKILL.md; reference: docs/reference/wiki-categories.md |
| Approve/reject wiki pages | .claude/skills/wiki-approval/SKILL.md |
| Run CLI commands | docs/reference/commands.md |
| Read the DB directly (queries) | docs/db_informations/state-db-schema-reference.md |
| Start review console (web UI) | README.md → "Review console" section; scripts/dev-web.sh |
| Back up / move the DB across machines | docs/db-canonical.md |
| Understand the DB-canonical migration | docs/db-canonical.md |
- 2026-06-04: Removed the legacy
data-syncskill anddocs/data-sync.md(git-based two-repo sync); DB-canonical replaces it. Dropped the sync flow fromdocs/workflows.mdand its document-map/routing rows here. - 2026-06-04: Postgres became the sole source of truth (SQLite removed); added
docs/db_informations/state-db-schema-reference.mdfor directpsqlreads. - 2026-06-04: Added
docs/db-canonical.mdto the document map and usage table. - 2026-06-02: Added the
wiki-noteskill (first-party human-authored pages,origin: authored) to runtime routing + usage tables; it is exposed globally likehandoff-document. - 2026-06-02: Added
docs/workflows.md— at-a-glance Mermaid map of the nightly pipeline, review lifecycle, and two-repo sync. - 2026-05-29: Updated data-sync sync entry to point at the
data-syncskill. - 2026-05-28: Added
docs/data-sync.mdfor private remote sync of the nesteddata/repo. - 2026-05-20: Removed
docs/workflows/; project skills are now the sole workflow surface. - 2026-05-20: Reframed docs as design/reference material and routed runtime workflows to
.claude/skills/. - 2026-05-20: Added review console (web UI) to usage table.
- 2026-05-19: Added wiki approval workflow to runtime routing and usage table.
- 2026-05-18: Added cron job workflow to memory build routing.
- 2026-05-18: Added usage report workflow for source-specific OpenCode/Hermes reports.
- 2026-05-18: Initial documentation index after workflow/reference split.