openpress-collaborate
Skill14 starsChanged 4 months agoMITView on GitHub
Use when analyzing, proposing, reviewing, or changing existing authored OpenPress MDX/TSX content.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- openpress-apply-commentsSkill
- openpress-create-pagesSkill
- openpress-create-slideSkill
- openpress-deploySkill
- openpress-pluginsSkill
- openpressSkill
- openpress-upgradeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 6 are distinctive, and 10 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.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Read current source, workspace instructions, relevant writing/format skills, and related pending @openpress-comment markers.
- Very specific: line 24
Do not edit authored press/ source.
- Very specific: line 42
Write only path, before, after, and note.
- Very specific: line 48
Read the current handoff before replacing it.
- Distinctive: line 54
Read the handoff and every target file fresh.
- Very specific: line 55
If any Proposal has reject or more-info, refresh or answer instead.
- Very specific: line 56
Before changing any file, verify every before occurs exactly once.
- Very specific: line 58
Remove only @openpress-comment markers actually satisfied by the applied change.
- Distinctive: line 59
Delete the handoff after all edits succeed.
- Very specific: line 60
Follow openpress → Review And Delivery Gate when visual or delivery readiness is part of the request.
- Distinctive: line 62
Never partially apply a Preview.
- Very specific: line 66
Follow the owning format skill and normal OpenPress source boundary.
- Distinctive: line 68
When editing prose with semantic figure/table references:
- Distinctive: line 72
When adding, removing, moving, or renaming a captioned target, inspect and update all matching mentions in the same proposal or direct edit.
- Distinctive: line 74
After applying the change, build the Press so missing, duplicate, malformed, or cross-kind targets fail before delivery, then click a …
- Very specific: line 81
Never publish; route publishing to openpress-deploy.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
OpenPress Collaborate
This skill selects how an agent and user review authored-content changes. The Agent GUI carries instructions; Workbench renders Current and Proposed pages and collects Proposal feedback.
Choose A Mode
| Mode | Trigger | Source mutation |
| Answer | analysis or review without a requested change | none |
| Propose | non-trivial edit, preview, or writing judgment | review handoff only |
| Apply | explicit request to apply the current Preview | exact reviewed replacements |
| Direct | explicit review bypass, or a small mechanical edit | direct source edit |
Initial creation belongs to the format skill because new files have no useful before text. Use Propose for later revision.
Propose
- Read current source, workspace instructions, relevant writing/format skills, and related pending
@openpress-commentmarkers. - Do not edit authored
press/source. - Replace
.openpress/review/current.jsonwith the complete current proposal set:
{
"proposals": [
{
"path": "press/book/chapters/intro.mdx",
"before": "Exact current source text.",
"after": "Exact replacement text.",
"note": "Short reason for this change"
}
]
}Each Proposal must target authored .mdx or .tsx under press/, use a non-empty exact unique before, contain the complete after replacement, and include one plain-language note. For insertion, include stable neighboring text in both values. Use an empty after for deletion. Order by path and source position.
Write only path, before, after, and note; Workbench may add feedback. Replace the whole handoff each pass—do not preserve ids, history, hashes, or superseded feedback.
Tell the user to open Changes in Workbench. Current and Proposed markers share the same note and feedback. Stop before editing source.
Refresh From Feedback
Read the current handoff before replacing it. Treat accept, reject, more-info, and free-text feedback as input, re-read current source, reconsider the complete change set, then write a fresh proposal file without copying old feedback.
Apply
Apply only after an explicit instruction such as「套用目前 Preview」or「開始修改」.
- Read the handoff and every target file fresh.
- If any Proposal has
rejectormore-info, refresh or answer instead. - Before changing any file, verify every
beforeoccurs exactly once. If any is missing or ambiguous, change nothing. - Apply every replacement exactly; add no unreviewed wording.
- Remove only
@openpress-commentmarkers actually satisfied by the applied change. - Delete the handoff after all edits succeed.
- Follow
openpress→ Review And Delivery Gate when visual or delivery readiness is part of the request.
Never partially apply a Preview.
Direct
Follow the owning format skill and normal OpenPress source boundary. For comment markers, use openpress-apply-comments. Use the shared review gate when the result must be visually verified or delivered.
When editing prose with semantic figure/table references:
- Preserve existing
fig-*andtbl-*target IDs unless the requested change requires renaming the target. - Cite targets with
@fig-stable-nameand@tbl-stable-name; never rewrite resolved labels such as圖 2or表 3into source. - When adding, removing, moving, or renaming a captioned target, inspect and update all matching mentions in the same proposal or direct edit.
- For React figures, verify the stable ID reaches the root
<figure>; for Markdown tables, keep it on the immediately preceding<TableCaption id="tbl-...">. - After applying the change, build the Press so missing, duplicate, malformed, or cross-kind targets fail before delivery, then click a representative cross-page reference in Workbench.
Safety
openpressowns CLI lifecycle and source/generated boundaries.- Format and writing skills own content judgment.
openpress-apply-commentsowns marker mechanics.- Never publish; route publishing to
openpress-deploy.
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.

