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

openpress-collaborate

Skill14 starsChanged 4 months agoMITView on GitHub

Use when analyzing, proposing, reviewing, or changing existing authored OpenPress MDX/TSX content.

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
  1. Very specific:

    Read current source, workspace instructions, relevant writing/format skills, and related pending @openpress-comment markers.

    line 23
  2. Very specific:

    Do not edit authored press/ source.

    line 24
  3. Very specific:

    Write only path, before, after, and note.

    line 42
  4. Very specific:

    Read the current handoff before replacing it.

    line 48
  5. Distinctive:

    Read the handoff and every target file fresh.

    line 54
  6. Very specific:

    If any Proposal has reject or more-info, refresh or answer instead.

    line 55
  7. Very specific:

    Before changing any file, verify every before occurs exactly once.

    line 56
  8. Very specific:

    Remove only @openpress-comment markers actually satisfied by the applied change.

    line 58
  9. Distinctive:

    Delete the handoff after all edits succeed.

    line 59
  10. Very specific:

    Follow openpress → Review And Delivery Gate when visual or delivery readiness is part of the request.

    line 60
  11. Distinctive:

    Never partially apply a Preview.

    line 62
  12. Very specific:

    Follow the owning format skill and normal OpenPress source boundary.

    line 66
  13. Distinctive:

    When editing prose with semantic figure/table references:

    line 68
  14. Distinctive:

    When adding, removing, moving, or renaming a captioned target, inspect and update all matching mentions in the same proposal or direct edit.

    line 72
  15. Distinctive:

    After applying the change, build the Press so missing, duplicate, malformed, or cross-kind targets fail before delivery, then click a …

    line 74
  16. Very specific:

    Never publish; route publishing to openpress-deploy.

    line 81

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

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

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

ModeTriggerSource mutation
Answeranalysis or review without a requested changenone
Proposenon-trivial edit, preview, or writing judgmentreview handoff only
Applyexplicit request to apply the current Previewexact reviewed replacements
Directexplicit review bypass, or a small mechanical editdirect source edit

Initial creation belongs to the format skill because new files have no useful before text. Use Propose for later revision.

Propose

  1. Read current source, workspace instructions, relevant writing/format skills, and related pending @openpress-comment markers.
  2. Do not edit authored press/ source.
  3. Replace .openpress/review/current.json with 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「開始修改」.

  1. Read the handoff and every target file fresh.
  2. If any Proposal has reject or more-info, refresh or answer instead.
  3. Before changing any file, verify every before occurs exactly once. If any is missing or ambiguous, change nothing.
  4. Apply every replacement exactly; add no unreviewed wording.
  5. Remove only @openpress-comment markers actually satisfied by the applied change.
  6. Delete the handoff after all edits succeed.
  7. 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-* and tbl-* target IDs unless the requested change requires renaming the target.
  • Cite targets with @fig-stable-name and @tbl-stable-name; never rewrite resolved labels such as 圖 2 or 表 3 into 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

  • openpress owns CLI lifecycle and source/generated boundaries.
  • Format and writing skills own content judgment.
  • openpress-apply-comments owns marker mechanics.
  • Never publish; route publishing to openpress-deploy.

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.