book-fix
Installation
SKILL.md
Book Fix — Remediation Prompt Generator + Executor
Purpose
Take the findings from a /book-audit and convert them into a one-shot, end-to-end remediation prompt that another agent (or this one) can execute to bring the book to GREEN. Or, if the user prefers, execute the fix in place.
The output prompt MUST follow the structure established by fix-on-the-verge.md and fix-reframation.md:
- Header — RED/YELLOW status declared, rationale, what's distinctive about this book's defects.
- INPUTS — PDF path, target MD files, scratch dirs, archive dir.
- OPERATING PRINCIPLES — verbatim only, PDF is source of truth, no fabrication.
- ISSUES TO FIX — numbered, each with: file path, problem, current (wrong) text, PDF source (correct) text inlined, fix instructions, verification grep commands.
- EXECUTION ORDER — strict dependency-ordered sequence.
- ACCEPTANCE CRITERIA — checkbox list of every condition that must hold post-fix.
- DELIVERABLES — what the executing agent must return.
- OUT OF SCOPE — explicitly excluded items (summaries, vector store re-upload, translations).