From remargin
Process a single managed markdown file under its resolved system prompt. Reads pending comments, replies, acks, and edits the doc body as the prompt directs. Does NOT clear the file's sandbox marker (sandbox cleanup is the per-group command's job).
How this command is triggered — by the user, by Claude, or both
Slash command
/remargin:process-fileThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /remargin:process-file <path> Given a file path, process the file under its resolved system prompt. ## Steps 1. **Resolve the system prompt.** Call `mcp__remargin__prompt_resolve` with the given path. The result contains the prompt name and body. The resolver falls back to a locked Default body when the `.remargin.yaml` walk exhausts. 2. **Frame the work.** Read the prompt body and treat it as your current task definition. Everything below operates under that prompt. 3. **Process the file.** Read the file via `mcp__remargin__get`. Surface pending comments via `mcp__remargin__query` w...
Given a file path, process the file under its resolved system prompt.
Resolve the system prompt. Call mcp__remargin__prompt_resolve with the given path. The result contains the prompt name and body. The resolver falls back to a locked Default body when the .remargin.yaml walk exhausts.
Frame the work. Read the prompt body and treat it as your current task definition. Everything below operates under that prompt.
Process the file. Read the file via mcp__remargin__get. Surface pending comments via mcp__remargin__query with pending: true. Reply to each via mcp__remargin__batch (one batch op, one reply per comment, auto_ack where appropriate per the remargin skill rules). Edit the doc body via mcp__remargin__write partial-line writes where the prompt calls for it.
Do NOT remove the sandbox marker. Sandbox cleanup is the responsibility of the per-group command, not this one. Manual per-file invocation is non-destructive on sandbox state.
Return a structured summary. Files touched, comments replied to, comments acked, ops performed.
npx claudepluginhub tixena/remargin --plugin remargin