How congyuemao/university-xueba-notes works
This repository packages a Codex skill and local Python tools for turning course material into Chinese-language university study-note PDFs. The main workflow is: a learner provides course material and edition requirements, the skill guides chapter-content preparation, and the PDF filler overlays that content onto print or digital masters, optionally producing a foldout reference. Other documented capabilities include reusable joke/quotation selection, paragraph-specific highlights, and font preparation. Edges reflect README statements or the supplied source index; unsampled skill guidance and resource wiring are not inferred.
Main entry points: fill_template.py PDF Filler · statistics-chapter.json Chapter Content · SKILL.md Notes Skill · templates PDF Masters
Components 14
Content Authoring
- Notes Skill
skills/artifact-template-university-xueba-notes/SKILL.md
PDF Rendering
- PDF Filler
skills/artifact-template-university-xueba-notes/scripts/fill_template.py - Layout Metrics
skills/artifact-template-university-xueba-notes/scripts/pdf_template_layout.py - Highlight Mapping
skills/artifact-template-university-xueba-notes/scripts/context_highlights.py
Content Resources
- Chapter Content
skills/artifact-template-university-xueba-notes/Resources/content/statistics-chapter.json - Fun Catalog
skills/artifact-template-university-xueba-notes/Resources/fun-content/items.jsonl - PDF Masters
skills/artifact-template-university-xueba-notes/Resources/templates - Illustrations
skills/artifact-template-university-xueba-notes/Resources/illustrations
Supporting Tools
- Fun Selector
skills/artifact-template-university-xueba-notes/scripts/pick_fun_content.py - Font Preparation
skills/artifact-template-university-xueba-notes/scripts/prepare_fonts.py - Plan Validator
skills/artifact-template-university-xueba-notes/scripts/validate_book_plan.py
Other components
- Learner
- Notes PDF
- Prepared Fonts
Connections 15
- Learner → Notes Skill: requests notes
README.md - Notes Skill → Chapter Content: prepares chapter
README.md - Learner → Chapter Content: provides course material
README.md - Chapter Content → PDF Filler: supplies content
README.md - PDF Masters → PDF Filler: provides masters
README.md - Illustrations → PDF Filler: provides assets
README.md - PDF Filler → Notes PDF: generates PDF
README.md - PDF Filler → Layout Metrics: uses layout metrics
skills/artifact-template-university-xueba-notes/scripts/fill_template.py - PDF Filler → Highlight Mapping: maps highlights
skills/artifact-template-university-xueba-notes/scripts/fill_template.py - PDF Filler → Fun Selector: selects footer text
skills/artifact-template-university-xueba-notes/scripts/fill_template.py - Fun Catalog → Fun Selector: supplies entries
README.md - PDF Filler → PDF Masters: renders editions
README.md - Learner → Font Preparation: prepares fonts
README.md - Font Preparation → Prepared Fonts: produces fonts
skills/artifact-template-university-xueba-notes/scripts/prepare_fonts.py - Learner → Plan Validator: validates plan