Skip to content

v0.4.0 — /cursor:adversarial-review + estimate-first reviews + composer-prompting skill

Latest

Choose a tag to compare

@freema freema released this 14 Jul 06:13
7402797

Ported from upstream openai/codex-plugin-cc, adapted to the Cursor CLI.

Added

  • /cursor:adversarial-review — a first-class steerable review command that challenges the chosen implementation and design (assumptions, tradeoffs, failure modes, whether a different approach would be simpler or safer), not just implementation defects. Reuses the existing review runtime (review.mjs --adversarial), so it supports --base <ref>, --scope, --model, --wait/--background, and free-form focus text, and is tracked as a normal job (/cursor:status, /cursor:result, /cursor:cancel). Promotes what used to be only the --adversarial flag on /cursor:review into a discoverable command with sharper framing.
  • composer-prompting skill — the Cursor/Composer prompt-shaping guidance (repo grounding, the five-section prompt anatomy + guardrails, chunking heuristics, model selection, resume-vs-fresh) now lives in plugins/cursor/skills/composer-prompting/SKILL.md. The cursor-runner subagent references it via a new skills: frontmatter entry instead of restating the mechanics inline.

Changed

  • /cursor:review and /cursor:adversarial-review estimate the diff before running. When neither --wait nor --background is passed, the command inspects git status / git diff --shortstat to gauge review size, then asks once (via AskUserQuestion) whether to wait or run in the background — recommending background for anything beyond a tiny 1–2 file change. Explicit --wait / --background skip the question. The commands moved from an auto-executing one-liner wrapper to a model-orchestrated flow; their allowed-tools now include Bash(git:*) and AskUserQuestion. Background runs still use the plugin's own detached worker (the script returns a job id immediately), not a Claude background task.
  • cursor-runner subagent slimmed — the prompt-anatomy, chunking, model, and resume/fresh sections were extracted into the composer-prompting skill; the agent now points at the skill and keeps only its operational spine (ground → invoke /cursor:delegate → return verbatim) and guardrails.

Notes

  • /cursor:review is now user-invoked only (disable-model-invocation: true, matching upstream).
  • Deliberately skipped this release: the stop-review-gate Stop hook and /transfer (the latter depends on a Codex-specific external-session importer that cursor-agent does not have).

Full changelog: https://github.com/freema/cursor-plugin-cc/blob/main/CHANGELOG.md