How kwchodev/project-templates works
This repository provides Markdown templates and Claude Code guidance for two project-memory workflows: maintaining durable knowledge in pjt-docs and session-level progress/history in .baton. Its runtime pieces are the baton lifecycle hook and the generated documentation consistency checker; setup and adoption procedures are documented capabilities, but their implementation files were not sampled. The graph reflects README-described flows and sampled source calls; unsampled procedure links are omitted.
Main entry points: baton-hook.mjs Baton Hook · pjt-docs Durable Knowledge · check-docs.py Docs Checker · template Project Templates
Components 15
Project Knowledge
- Durable Knowledge
template/pjt-docs - Design Decisions
template/pjt-docs/decisions - Private Notes
template/pjt-docs/local
Work Tracking
- Session Records
- Owner Setting
Runtime Checks
- Baton Hook
skills/baton-init/templates/baton-hook.mjs - Docs Checker
template/scripts/check-docs.py
Adoption Guidance
- Project Templates
template - Structure Standard
STRUCTURE.md - Adoption Procedure
adopt.md - Update Procedure
update.md - Baton Init Skill
skills/baton-init/SKILL.md
Other components
- Developer / AI
- Claude Code
- Git
Connections 18
- Developer / AI → Session Records: updates progress
README.md - Developer / AI → Durable Knowledge: curates knowledge
README.md - Session Records → Durable Knowledge: promotes knowledge
README.md - Developer / AI → Design Decisions: records decisions
README.md - Developer / AI → Private Notes: stores private notes
README.md - Claude Code → Baton Hook: invokes hooks
skills/baton-init/templates/baton-hook.mjs - Baton Hook → Session Records: reads status
skills/baton-init/templates/baton-hook.mjs - Baton Hook → Owner Setting: reads owner
skills/baton-init/templates/baton-hook.mjs - Baton Hook → Git: checks changes
skills/baton-init/templates/baton-hook.mjs - Claude Code → Docs Checker: runs check
README.md - Docs Checker → Durable Knowledge: validates documents
template/scripts/check-docs.py - Developer / AI → Project Templates: adopts files
README.md - Developer / AI → Adoption Procedure: follows procedure
README.md - Developer / AI → Update Procedure: requests refresh
README.md - Developer / AI → Baton Init Skill: requests baton setup
README.md - Structure Standard → Project Templates: defines standard
- Durable Knowledge → Git: versions with code
README.md - Session Records → Git: versions history
README.md