openpress-deploy
Skill14 starsChanged 4 months agoMITView on GitHub
Use when preparing, configuring, checking, staging, or publishing an open-press document to public hosting, especially Cloudflare Pages, deploy setup, deploy buttons, deploy status, public release checks, or safe deployment workflow.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- openpress-apply-commentsSkill
- openpress-collaborateSkill
- openpress-create-pagesSkill
- openpress-create-slideSkill
- openpress-pluginsSkill
- openpressSkill
- openpress-upgradeSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Check target adapter, staging source, project name, and confirmation settings.
- Distinctive: line 14
Run deploy preflight and dry runs.
- Distinctive: line 15
Keep secrets out of source files.
- Distinctive: line 28
Never publish without a clear confirmation that names the target project.
- Distinctive: line 39
Before real deploy, run the commands that prove the output is ready:
- Distinctive: line 63
If the user wants to check the PDF size first:
- Very specific: line 70
If the PDF is over 25 MB and the user still wants it publicly hosted, recommend a separate host (Cloudflare R2, S3, etc.).
- Very specific: line 89
Remove --no-pdf only when the user explicitly includes the PDF in the confirmed publication target.
- Very specific: line 94
Read references/cloudflare-pages.md when creating or repairing Cloudflare Pages config, project setup, Wrangler auth expectations, or UI …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
open-press Deploy
open-press deploy owns the public-release gate. Use it only when the user asks to configure, inspect, dry-run, or publish an open-press document.
Responsibilities
- Inspect deploy config in
openpress/settings.jsonunder the"deploy"field. - Check target adapter, staging source, project name, and confirmation settings.
- Run deploy preflight and dry runs.
- Keep secrets out of source files.
- Require explicit confirmation before publishing.
- Report the public URL and, when included, the PDF URL after successful deploy.
Boundaries
openpressowns generic CLI usage, non-deploy validation, local review, and the source/generated boundary.openpress-create-pagesowns page artifact content and visual readiness.openpress-create-slideowns slide deck content and visual readiness.- This skill owns public target confirmation and deploy execution.
Public Deploy Rule
Never publish without a clear confirmation that names the target project.
Good confirmation shape:
This will publish the current open-press build to Cloudflare Pages project `<projectName>` from `<deploy.source>`.
Do you want me to deploy now?Preflight
Before real deploy, run the commands that prove the output is ready:
npm run build # validates + renders dist-react/Also scan public-facing source for unfinished markers:
rg "\\[TODO:|\\[FIX:|\\[DRAFT:" "press/*/chapters" press/design.mdPDF Size Limit
Cloudflare Pages rejects any single file larger than 25 MB. A multi-press or image-heavy PDF commonly exceeds this limit.
Unless the user explicitly asks to publish the PDF, deploy without it:
npm run openpress:deploy -- --confirm --no-pdf--no-pdf skips PDF generation and excludes it from the deploy source entirely.
If the user wants to check the PDF size first:
npm run openpress:pdf
du -sh .deploy/**/*.pdf 2>/dev/nullIf the PDF is over 25 MB and the user still wants it publicly hosted, recommend
a separate host (Cloudflare R2, S3, etc.). OpenPress does not currently expose
an authored external-PDF URL field, so do not invent one in
openpress/settings.json; report the separate URL in the delivery handoff.
Deploy Commands
Dry run:
npm run openpress:deploy:dry-run -- --no-pdfPublish after explicit confirmation:
npm run openpress:deploy -- --confirm --no-pdfRemove --no-pdf only when the user explicitly includes the PDF in the
confirmed publication target.
When To Read References
- Read
references/cloudflare-pages.mdwhen creating or repairing Cloudflare Pages config, project setup, Wrangler auth expectations, or UI deploy-button behavior.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

