Install
$ agentstack add skill-quan0715-open-press-openpress-apply-comments ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
open-press Apply Comments
This is the workflow skill for turning pending @openpress-comment markers into source edits. A comment is resolved only when the requested source change has been made and the marker has been removed.
Responsibilities
- List pending
@openpress-commentmarkers. - Read the decoded comment note, hint, source path, and nearby source.
- Apply the requested edit as a small source change.
- Remove the marker after the edit is complete.
- Leave ambiguous or failed comments in place.
- Verify before reporting completion.
Boundary
- Use
openpressfor the canonical source/generated path table when unsure. - Edit source, not generated output.
- Default to editing the source file that contains the marker.
- Route domain-heavy work to the owning skill:
openpress-create-pagesfor page prose, hierarchy, captions, claims, tone, narrative, page theme, and page components.openpress-create-slidefor deck narrative, slide density, slide-style templates, theme tokens, core Object API composition, Tailwind semantic styling, and reusable UI primitives.openpress-diagram-drawingfor diagram semantics.- Do not rewrite unrelated sections while resolving one comment.
Workflow
- Discover comments.
``bash rg "@openpress-comment" press -n ``
If decoded notes are needed and the framework helper exists, use it:
``bash node --input-type=module -e 'import { listCommentMarkers } from "./packages/core/engine/react/comment-marker.mjs"; console.log(JSON.stringify(await listCommentMarkers({ root: process.cwd() }), null, 2));' ``
- Pick the requested scope.
- If the user names one comment, resolve only that comment.
- If the user says apply comments without an id, process pending comments in source order.
- Handle comments one at a time; do not batch unrelated rewrites under one marker.
- Inspect the target.
- Read the source file that contains the marker.
- Inspect nearby lines before editing.
- Use the marker hint and rendered-object metadata when present, but verify against source.
- Apply the edit.
- Make the smallest source change that satisfies the comment.
- Preserve local style, component APIs, and MDX structure.
- If the request is ambiguous, ask for clarification and leave the marker in place.
- Remove the resolved marker.
- Delete the
@openpress-commentmarker only after the source edit is complete. - Do not clear a marker just because it was read.
- Clear a marker without applying only when the user explicitly asks.
- Verify.
``bash npm run build ``
build validates structure and renders the full output. When iterating fast on the inner steps:
``bash node engine/cli.mjs validate . # structural checks only, no render node engine/cli.mjs export . # rewrite document.json only, no Vite bundle ``
Completion Report
Report:
- which comment ids were resolved,
- which files changed,
- which comments remain because they were ambiguous or failed,
- which verification commands ran and whether they passed.
Common Mistakes
- Do not edit
public/openpress/,dist-react/,.deploy/, or.openpress/. - Do not remove unresolved comments.
- Do not rewrite broad sections unless the comment explicitly asks for that.
- Do not claim the browser changed until the source has been exported when export is required.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: quan0715
- Source: quan0715/open-press
- License: MIT
- Homepage: https://open-press.dev
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.