agentleFS
quan0715quan0715/open-press/skills/openpress/SKILL.md

openpress

Skill14 starsChanged 4 months agoMITView on GitHub

Use when an OpenPress task involves CLI lifecycle, workspace inspection, generated output, PDF/image/Word export, source boundaries, or routing to another OpenPress skill.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill first for OpenPress CLI and delivery work.

    line 8
  2. Very specific:

    If memory/AGENTS.md exists, read it first.

    line 39
  3. Distinctive:

    After content, layout, component, Press Tree, or pagination-sensitive theme changes:

    line 43
  4. Very specific:

    Prefer package scripts. Downstream commands without a wrapper use open-press.

    line 71
  5. Very specific:

    Read references/cli-commands.md only for commands not shown above, source search/replace, inspect, or nonstandard verification depth.

    line 72
  6. Very specific:

    Read references/local-review.md whenever the review gate applies or Workbench controls are needed.

    line 73
  7. Very specific:

    Read references/render-boundary.md only for framework work that changes the Press Tree/runtime contract, not ordinary workspace authoring.

    line 74

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

OpenPress

Use this skill first for OpenPress CLI and delivery work.

Route

NeedSkill
Page artifact creationopenpress-create-pages
Slide creation or editingopenpress-create-slide
Authored-content analysis, proposal, or revisionopenpress-collaborate
Pending @openpress-comment markersopenpress-apply-comments
External plugins (diagrams, visual tools, writing helpers)openpress-plugins
Package upgrade or migrationopenpress-upgrade
Deploy or publishopenpress-deploy

Load portable language or genre skills only when the content requires them.

Source Boundary

LayerPathsRule
Workspace sourcepress/*/press.tsx, registered MDX/TSX sources, press/<slug>/{components,theme,media}/, optional press/shared/, press/design.md, openpress/settings.jsoneditable
Skill sourceskills/, .agents/skills/, .claude/skills/editable for skill work
Framework sourcepackages/core/, packages/cli/, apps/web/, root config/docs/testsframework work only
Review handoff.openpress/review/current.jsonopenpress-collaborate may replace or delete; never deliver or commit
Installed frameworknode_modules/@open-press/{core,cli}/read-only; fix upstream
Generated/cachepublic/openpress/, dist-react/, .deploy/, other .openpress/, .turbo/cache/never hand-edit

openpress/settings.json owns workspace Appearance, page defaults, caption numbering, PDF filename, and deploy configuration. Press visual design remains in press/design.md and each Press theme.

If memory/AGENTS.md exists, read it first; it identifies a downstream workspace and its project rules.

Local Review Gate

After content, layout, component, Press Tree, or pagination-sensitive theme changes:

npm run build
npm run dev              # downstream workspace
# npm run dev:workspace  # framework dogfood repo

Open Vite's /workspace and inspect the affected Press for page count, overflow/cropping, pagination, typography/media, and pending comments. Fix source and repeat when needed.

Export only a requested delivery format, after local Workbench review:

npm run openpress:pdf
npm run openpress:image
npm run openpress:word

PDF/image/Word export does not replace Workbench review.

Refresh Boundary

Vite HMR does not regenerate public/openpress/<slug>/document.json. After MDX, Press Tree, component, metadata, or pagination-sensitive theme edits, run npm run build before reviewing. For a faster inner loop, run open-press export . and refresh the browser. Pure CSS edits that do not move content may use HMR alone.

CLI And References

  • Prefer package scripts. Downstream commands without a wrapper use open-press; the framework repo uses node packages/core/engine/cli.mjs because its binary is not built locally.
  • Read references/cli-commands.md only for commands not shown above, source search/replace, inspect, or nonstandard verification depth.
  • Read references/local-review.md whenever the review gate applies or Workbench controls are needed.
  • Read references/render-boundary.md only for framework work that changes the Press Tree/runtime contract, not ordinary workspace authoring.
  • New artifacts are owned by openpress-create-pages or openpress-create-slide; do not use create commands as upgrade tools.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.