buildlisted
Install: claude install-skill RyanMKrol/claude-skills
# Build a JBP Anki lesson deck (content + audio)
Produce a `.apkg` for one lesson that the user imports and reviews. Work one lesson at a time, in
two phases: **(1) content** — extract text + images, build a silent deck, present the audit table
for review; **(2) audio** — after the user approves the content and picks a voice, generate a
clip per card with ElevenLabs TTS and repackage. Every card carries kana, romaji, English, an
optional usage hint, a cropped textbook image where the book has one, and (after phase 2) audio.
> ## 🔴 Two non-negotiable rules (do not violate)
> 1. **READ EVERY SINGLE PAGE / EVERY IMAGE of the lesson.** Never infer content from section
> headings or from a script's counts. Enumerate every image the chapter references, build
> labeled contact sheets, and actually **Read** them before deciding what goes on cards.
> Skipping a page is unacceptable — it has already caused a deck to ship missing content.
> 2. **NOTHING IS HARD-CODED.** The user provides the EPUB path and the lesson number. Never
> assume a textbook location, an audio folder, or a NAS mount. If you don't have the EPUB, ask
> for it.
>
> When you learn something new during a run (a romaji fix, a book quirk), **write it back**: to
> `$JBP_DECK_HOME` for per-user state, and — if it's broadly useful — into this SKILL.md and the
> bundled `defaults/`. The skill must accumulate every lesson learned.
## Inputs (all user-provided)
- **The textbook EPUB** — a path the user giv