Document tree
Chapters are a navigable structure.
The source mirrors the table of contents: cover, chapters, appendix, assets, and config stay in predictable places.
OpenPress · document tree · rendered output · v0.3.0
Chapters live as MDX, design decisions live as tokens, and the same workspace renders fixed-layout A4 pages, PDF, and a public web reader.
$ npx skills add quan0715/open-press
Why OpenPress
Document tree
The source mirrors the table of contents: cover, chapters, appendix, assets, and config stay in predictable places.
Theme tokens
Typography, margins, accent color, and page rhythm live in tokens instead of being scattered across one-off CSS edits.
MDX content
A chapter file can mix prose, figures, callouts, and tables; preview shows exactly what changed before PDF export.
Init -> author -> publish
Copy the prompt for the stage you are in. The agent writes into the workspace; OpenPress keeps the result page-safe, reviewable, and ready to deploy.
Start from title, audience, language, and style pack. The init flow creates a real file structure instead of a blank canvas.
Using OpenPress, help me initialize a document workspace. Ask for title, audience, language, and style pack, then create the starter project with a first outline.
Work chapter by chapter. Ask for structure, examples, captions, comparison tables, and tone changes while preview remains the source of truth.
Use OpenPress writing and hierarchy skills. Turn the current outline into chapter 1, keep confirmed facts unchanged, and mark missing details as [TODO].
Validate the workspace, render the public reader, export the PDF, and deploy only after confirming the target Pages project.
Use OpenPress deploy flow. Run validation, render the web reader, export the PDF, and prepare a Cloudflare Pages deploy dry run before publishing.
openpress:validate openpress:render openpress:pdf openpress:deploy
Agent-readable workflow
The project installs skills that tell your agent where source lives, how chapters should be written, which visual layer owns layout, and what must pass before a document is published.
Source boundary
The agent sees that chapters, components, media, and theme files are source; PDF, render output, and deploy folders are build artifacts.
Writing rules
Audience, chapter hierarchy, table captions, figure placement, and factual TODOs are part of the workflow instead of repeated prompt instructions.
Design rules
Theme tokens, page surfaces, and document components give the agent safe places to adjust typography, rhythm, and PDF-safe visuals.
Release gate
OpenPress skills point the agent to validation, render, PDF export, and deploy confirmation steps, so publishing stays a deliberate action.
No project yet?
One command creates the workspace; your agent takes it from there.
$ npx @open-press/cli init my-doc --pack editorial-monograph