pocketpolyglot-bookmaker
Installation
SKILL.md
PocketPolyglot Bookmaker
Use this skill for multilingual learning books where one language is the main text and one or more languages are aligned comments. The goal is a readable pocket-size PDF, not a raw translation dump.
Core Rules
- Preserve completeness first: every chapter, paragraph, sentence, and chunk must be accounted for.
- Use source translations directly when available. Generate missing language only when no reliable source exists.
- Keep data and rendering separate. Generate durable JSON first; compile PDFs from JSON without regenerating text.
- For each language pair, compile both directions when renderers exist, and produce color and black-white variants.
- Do not trust page count alone. Validate manifest coverage, stale chunks, TOC, line overflow, ruby placement, and sample pages.
- For final LinguaLeaf/PocketPolyglot PDFs, default to the larger Shiji AgInTi-style font profile for readability. Name this neutrally as
large-font/大字版; do not use Shiji-specific wording in public artifact names unless the book is actually Shiji.
Data Model
Use resumable, chunk-level JSON. Prefer paragraph or small section chunks, not arbitrary huge blocks.
Required fields should include: