How kidow/brain works
Purpose and Entry Points
This is a Git-backed personal knowledge base and GitHub Pages site. Its primary control loop is external AI skills—place-me → teach-me → review-me—which assess, write knowledge, and update mastery. Browser entry points are rendered notes, cheat sheets, drills, vocabulary pages, and search. Core roots: README.md, levels.md, _config.yml.
Learning-State Backbone
levels.md is the shared per-topic state keyed to note filenames; it stores Blank/Glimpsed/Grounded/Fluent plus prose context. External kidow/skills agents read it to calibrate teaching or choose weak topics, then write it after assessment/review. Notes are durable Git content; review-session state is intentionally ephemeral and excluded from the tree. Paths: levels.md, notes/영어/영어_문장_구조.md, notes/화학/화학.md.
Knowledge Content and Publishing
Markdown notes are the canonical long-form learning artifacts, organized by domain/language. Jekyll converts them into the published static site, using shared layouts and ordered metadata. Static HTML cheat sheets are separately authored/served reference material rather than derived note output. Paths: notes/, _layouts/note.html, _data/notes_order.yml, sheets/영어/영어_문장_구조_심화_치트시트.html.
Static-Site Presentation and Discovery
Jekyll configuration and layouts provide site-level rendering; custom head markup and client-side scripts add search, vocabulary interactions, and link copying. Search has a dedicated page/layout and JavaScript runtime; no server-side application or database is represented. Paths: _config.yml, _layouts/search.html, search.md, assets/js/search.js.
Interactive Drill Subsystem
Each drill is a static HTML application paired with a JSON content dataset. It implements vocabulary SM-2 review or character handwriting/stroke-order practice in the browser; learner progress stays in browser localStorage, creating a hard boundary from repository learning state and cross-device sync. Paths: drills/일본어_히라가나.html, drills/일본어_히라가나.json, drills/중국어_한자_쓰기.html.
Cross-Language Vocabulary and Audio
Vocabulary is category-centric: matching HTML and JSON files present concepts across eight languages. Client code drives vocabulary behavior, while audio/manifest.json maps available pronunciation assets; MP3s are organized language/category/word. Audio generation is a separate local pipeline that batches source scripts and produces assets/manifest updates. Paths: vocab/색깔.html, vocab/색깔.json, assets/js/vocab.js, audio/manifest.json, scripts/build_vocab_audio.py.
Generation, Runtime, and External Boundaries
The repository is predominantly static: Jekyll/GitHub Pages serves the site at the configured custom domain, and browsers run vanilla JavaScript and retain drill progress locally. Python scripts generate handwriting stroke data and vocabulary audio from repository inputs. AI learning orchestration is supplied externally through npx skills@latest and kidow/skills, not implemented here. Paths: scripts/build_hanzi_strokes.py, scripts/build_stroke_data.py, scripts/split_audio_script.py, CNAME.
Main entry points: CNAME GitHub Pages · 일본어_히라가나.html Vocabulary and handwriting drills · 색깔.html Vocabulary categories · levels.md Topic mastery state
Components 23
Learning control loop
- External AI skills · place-me, teach-me, and review-me orchestration lives outside this repository.
- Topic mastery state · Per-note Blank/Glimpsed/Grounded/Fluent state and teaching context.
levels.md
Knowledge content
- Learning notes · Durable long-form knowledge organized by domain and language.
- English sentence structure
notes/영어/영어_문장_구조.md - Chemistry note
notes/화학/화학.md - English cheat sheet · Separately authored reference material, not generated from notes.
sheets/영어/영어_문장_구조_심화_치트시트.html
Static site
- Note layout
_layouts/note.html - Note ordering
_data/notes_order.yml - Site configuration
_config.yml - Jekyll build · Converts repository content and layouts into the published site.
- GitHub Pages · Serves the generated site at the custom domain.
CNAME
Browser interactions
- Search page
search.md - Search runtime
assets/js/search.js - Vocabulary and handwriting drills · SM-2 vocabulary review and character stroke-order practice.
drills/일본어_히라가나.html - Drill datasets
drills/일본어_히라가나.json - Hanzi handwriting drill
drills/중국어_한자_쓰기.html - Browser progress · Ephemeral per-browser drill progress is isolated from Git learning state.
- Vocabulary categories · Category-centric concepts presented across eight languages.
vocab/색깔.html - Vocabulary dataset
vocab/색깔.json - Vocabulary runtime
assets/js/vocab.js
Local generation
- Pronunciation manifest · Maps available language/category/word MP3 assets.
audio/manifest.json - Vocabulary audio builder · Batches source scripts into pronunciation assets and manifest updates.
scripts/build_vocab_audio.py - Stroke-data builders · Generate handwriting stroke data from repository inputs.
scripts/build_hanzi_strokes.py
Connections 23
- External AI skills → Topic mastery state: reads and updates
- External AI skills → Learning notes: assesses and writes
- Topic mastery state → Learning notes: keyed by note filename
- English sentence structure → Learning notes: belongs to
- Chemistry note → Learning notes: belongs to
- Learning notes → Jekyll build: renders
- Note layout → Jekyll build: templates notes
- Note ordering → Jekyll build: orders content
- Site configuration → Jekyll build: configures
- Jekyll build → GitHub Pages: publishes
- English cheat sheet → GitHub Pages: served as static reference
- Search page → Jekyll build: renders
- Search runtime → Search page: powers search
- Drill datasets → Vocabulary and handwriting drills: supplies review content
- Vocabulary and handwriting drills → Browser progress: stores progress
- Hanzi handwriting drill → Browser progress: stores practice progress
- Vocabulary dataset → Vocabulary categories: supplies category content
- Vocabulary runtime → Vocabulary categories: adds interactions
- Pronunciation manifest → Vocabulary runtime: resolves pronunciation assets
- Vocabulary audio builder → Pronunciation manifest: updates
- Stroke-data builders → Hanzi handwriting drill: generates stroke data for
- Vocabulary and handwriting drills → GitHub Pages: served statically
- Vocabulary categories → GitHub Pages: served statically