Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Scribe

A book-formatting skill that turns a messy manuscript into a clean, KDP-ready Word document — built for numbered law/principle-style books but adaptable to any repeating book structure, numbered or not.

What it does

  • Detects and fixes merged sections, duplicate/missing numbering, combined words, and inconsistent formatting
  • Builds a hyperlinked table of contents from body text automatically
  • Outputs standard KDP trim size (6x9), correct margins, and consistent styling throughout
  • Works on numbered books (Law 1, Law 2...) and non-numbered chapter/section books alike

How to use it

Read SKILL.md first — it walks through the full workflow. reference/formatting_library.py has the tested, reusable code. reference/known_bugs.md documents every real formatting bug this skill was built to catch, with root cause and fix for each.

Requirements

Works with any LLM that can read files and run Python (python-docx required).

About

"Formats non-fiction books into clean, print-ready Word documents, from numbered-principle books to straight prose like a memoir or self-help title. Works in any trim size, not just Amazon KDP. Detects and fixes merged sections, combined words, and duplicate numbering."

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages