Send Plan to Monocle
Submits a plan file to Monocle so the reviewer can see it. Does NOT wait for feedback — use /review-plan-wait to block until the reviewer responds.
Important: This is for content that isn't already a tracked file change — plans, architecture docs, summaries, etc. You do NOT need to send regular code files; Monocle automatically picks up file changes in the workspace and shows them as diffs.
Steps
- Find the plan file — if the user provided a path via
$ARGUMENTS, use that. Otherwise, find the most recently modified plan file in the project.
- Read the plan file to confirm it exists and get its filename.
- Run
monocle review send-artifactwith:
--title: The first markdown heading from the plan, or the filename if no heading found--file: Absolute path to the plan file--id: The plan filename (e.g.my-plan.md) — ensures updates replace the previous version--type:md
- Confirm to the user that the plan was sent to Monocle.
If any command fails with a message that Monocle is not running, let the user know they need to start Monocle with monocle in the same directory as the project.