/slop-review:slop-review runs instead · from slop-review
Opens a native Monaco diff review window for PR-style code review. Lets users leave inline/file-level/overall comments on changes, then addresses each comment.
This skill never runs in Claude Code
It ships in slop-review at skills/, but /slop-review:slop-review (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Open the native diff review window, wait for the user to submit feedback, then address each comment they wrote.
@slop-reviewIf the user has not made any changes yet, say so and skip this skill.
The plugin ships a self-contained dispatcher script. Invoke it via your shell tool with this exact command (substituting the user's intent for <args>):
if [ -n "${CLAUDE_PLUGIN_ROOT:-}" ] && [ -x "${CLAUDE_PLUGIN_ROOT}/bin/plugin-run.sh" ]; then
bash "${CLAUDE_PLUGIN_ROOT}/bin/plugin-run.sh" <args>
elif [ -n "${CODEX_PLUGIN_ROOT:-}" ] && [ -x "${CODEX_PLUGIN_ROOT}/bin/plugin-run.sh" ]; then
bash "${CODEX_PLUGIN_ROOT}/bin/plugin-run.sh" <args>
elif command -v slop-review >/dev/null 2>&1; then
slop-review <args>
else
echo "slop-review is not available. Install the plugin via your agent's plugin/marketplace command, or run: npm install -g slop-review" >&2
exit 1
fi
Agent plugin hosts expose the plugin checkout through an environment variable such as ${CLAUDE_PLUGIN_ROOT} or ${CODEX_PLUGIN_ROOT}. The shell block above checks both names, then falls back to a globally installed slop-review binary. On first invocation the dispatcher does a one-time npm install inside the plugin checkout to pull glimpseui and build its native helper, then exec's the CLI.
<args> is one of:
| User intent | Pass |
|---|---|
| Default / "review my changes" / "PR-style review" | (no args) |
| "review my last commit" | last-commit |
| "review only what's uncommitted" / "review my working tree" | uncommitted |
| Override the auto-detected base branch | --base <ref> |
| Just browse the working tree (debug) | all |
A native window will open. The shell call will block until the user clicks Submit feedback or closes the window — this can take minutes. Do not run other tool calls in parallel; just wait.
The dispatcher writes a single line of stdout. Status / progress messages are on stderr; ignore those for parsing.
| stdout | What to do |
|---|---|
FEEDBACK_FILE: <absolute path> | Read that file with your file-reading tool. The contents are numbered review comments, optionally with an "Overall" comment block. Address each numbered item carefully (edit code, run tests, etc.). When done, give the user a brief summary item-by-item. |
REVIEW_CANCELLED | Reply with a single short line confirming the review was cancelled. Do nothing else. |
| Anything else (e.g. an error) | Surface the error verbatim and stop. |
$TMPDIR/slop-review-<timestamp>.md. It's a regular file you can cat, wc, etc.glimpseui's native helper failed to build, follow the exact remediation it prints (usually: install Xcode Command Line Tools on macOS, then re-run).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub dbachelder/slop-review --plugin slop-reviewOther plugins' skills for the same job