rkb keeps code and lesson data in two repos
DecisionVerified 2 Oct 2026Holds anywhere
Decision. The context, the choice, why, and the options that were turned down.
Context#
Designing where rkb's Rust CLI, rules skill and lesson data live.
Decision#
rkb keeps its Rust CLI and its rules skill in the code repo ~/Code/ray/rkb, and the lesson data in a separate private git repo ~/Personal/kb (path from RKB_HOME; rkb init creates it).
Why#
Rejected: putting the skill in the personal skills repo, because that repo is hand-curated while the KB grows by itself, and putting everything in one repo, because daily data commits bury real code changes, the code may go public while the data must stay private, and the skill documents the CLI's commands so it must version with the CLI. Lessons are data files, not skills, so only one skill description is always loaded.
Rejected options#
One combined repo; the skill inside the lessons repo.
Also found by searching
- where does rkb keep its CLI, skill and lesson data
- put lessons in the code repo or a separate one
- RKB_HOME separate private git repo for lessons
- one repo or two for a knowledge-base tool