Write Ebook Workflow
Core Workflow
Use this skill to guide a book from idea to releasable manuscript. Prefer editing project files directly when the user asks to execute.
- Define the book:
- Title, subtitle, author, target reader, promise, scope, and expected output format.
- If the user already gave chapter titles, preserve them unless a continuity fix is needed.
- Build or refine the structure:
- Create a chapter list with a clear learning progression.
- Use one Markdown file per chapter when working in a repo.
- Keep appendices for checklists, commands, prompt templates, and error references.
- Draft chapters consistently:
- Use the chapter template from
references/chapter-template.md.
- Include goal, concepts, steps, examples, common mistakes, and summary.
- Keep technical examples executable and specific.
- Expand content:
- Add screenshots only when they clarify a real operation.
- Add command examples, checklists, tables, and troubleshooting cases where useful.
- Avoid placeholder text in final manuscript content.
- Edit for continuity:
- Check chapter order, repeated content, stale version numbers, unexplained jumps, and mismatched screenshots.
- Prefer concise patches over broad rewrites unless the chapter is structurally weak.
- Prepare release:
- Build EPUB/web preview when scripts exist.
- Run validation tools such as EPUBCheck.
- Commit local changes when requested or when the workflow has been completed locally.
Repo Patterns
For Markdown ebook repos, expect this shape:
manuscript/
metadata/
styles/
assets/images/
assets/cover/
tools/
docs/
dist/
output/
Use rg to locate chapter content and image references. Use existing build scripts before inventing new ones.
Quality Checks
Before saying a manuscript is ready, check:
- Every chapter has a purpose and flows from the previous chapter.
- Screenshots have captions or surrounding explanation.
- Tables render with readable borders if used.
- Commands match the project scripts and paths.
- EPUB metadata matches bookstore/listing copy.
- Generated or placeholder content has been removed from final-facing chapters.
For detailed templates and review prompts, read:
references/chapter-template.md
references/review-checklist.md
references/expansion-patterns.md
Final Response
Report what was changed, where it was changed, what validation ran, and any remaining publishing risks. Keep it practical and brief.
1---2name: write-ebook-workflow3description: Plan, draft, expand, edit, and release ebook projects. Use when asked to write a book, create chapter outlines, expand manuscript content, organize Markdown chapters, add screenshot plans, improve continuity, prepare EPUB-ready source files, manage book project structure, or turn an idea into a complete ebook workflow.4---56# Write Ebook Workflow78## Core Workflow910Use this skill to guide a book from idea to releasable manuscript. Prefer editing project files directly when the user asks to execute.11121. Define the book:13 - Title, subtitle, author, target reader, promise, scope, and expected output format.14 - If the user already gave chapter titles, preserve them unless a continuity fix is needed.152. Build or refine the structure:16 - Create a chapter list with a clear learning progression.17 - Use one Markdown file per chapter when working in a repo.18 - Keep appendices for checklists, commands, prompt templates, and error references.193. Draft chapters consistently:20 - Use the chapter template from `references/chapter-template.md`.21 - Include goal, concepts, steps, examples, common mistakes, and summary.22 - Keep technical examples executable and specific.234. Expand content:24 - Add screenshots only when they clarify a real operation.25 - Add command examples, checklists, tables, and troubleshooting cases where useful.26 - Avoid placeholder text in final manuscript content.275. Edit for continuity:28 - Check chapter order, repeated content, stale version numbers, unexplained jumps, and mismatched screenshots.29 - Prefer concise patches over broad rewrites unless the chapter is structurally weak.306. Prepare release:31 - Build EPUB/web preview when scripts exist.32 - Run validation tools such as EPUBCheck.33 - Commit local changes when requested or when the workflow has been completed locally.3435## Repo Patterns3637For Markdown ebook repos, expect this shape:3839```text40manuscript/41metadata/42styles/43assets/images/44assets/cover/45tools/46docs/47dist/48output/49```5051Use `rg` to locate chapter content and image references. Use existing build scripts before inventing new ones.5253## Quality Checks5455Before saying a manuscript is ready, check:5657- Every chapter has a purpose and flows from the previous chapter.58- Screenshots have captions or surrounding explanation.59- Tables render with readable borders if used.60- Commands match the project scripts and paths.61- EPUB metadata matches bookstore/listing copy.62- Generated or placeholder content has been removed from final-facing chapters.6364For detailed templates and review prompts, read:6566- `references/chapter-template.md`67- `references/review-checklist.md`68- `references/expansion-patterns.md`6970## Final Response7172Report what was changed, where it was changed, what validation ran, and any remaining publishing risks. Keep it practical and brief.