skills/draft-review-loop/SKILL.md
Run the local-first authoring plus Draft review handoff loop for workspace markdown files. Use this skill when the user asks to write or revise a document and explicitly wants human review in Draft, or when the task is to apply Draft comments back to a local file. DO NOT use this skill for pure Draft command questions (use draft-cli) or generic writing tasks with no Draft review intent. Keep local workspace markdown as source of truth and use Draft GUI as the human review surface. Requires the draft-cli skill and @innosage/draft-cli (Node.js >= 18).
npx skillsauth add innosage-llc/draft-skills draft-review-loopInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to run a human-agent review loop where authorship stays in local markdown and Draft is the review surface.
Trigger this skill when the user intent matches collaboration workflow requests such as:
Do not trigger this skill when:
draft status, draft page ls, draft page patch, etc.)draft-cli skill.Follow this sequence unless the user explicitly asks for a different flow.
draft-cli connection-first pattern (draft status --json and recovery if needed).draft open <path> --json
draft workspace comments <path> --json
Use direct handoff language after draft open <path> --json, for example:
<path> locally and opened it in Draft for your review."Copy and adapt these phrases when handing off review:
<path> locally (source of truth) and opened it in Draft for your review."<path> and applied the accepted changes to the workspace file."Use these compact patterns to keep trigger intent and workflow behavior aligned.
Prompt shape:
Execution pattern:
# 1) Write local source artifact first
$EDITOR docs/proposals/q2-partner-plan.md
# 2) Ensure Draft connection
draft status --json
# 3) Open local file in Draft as review surface
draft open docs/proposals/q2-partner-plan.md --json
Handoff phrase:
docs/proposals/q2-partner-plan.md locally and opened it in Draft for your review."Prompt shape:
Execution pattern:
draft status --json
draft open docs/spec.md --json
draft workspace comments docs/spec.md --json
Handoff phrase:
docs/spec.md; I will apply accepted feedback to the local file."Prompt shape:
Execution pattern:
$EDITOR docs/releases/2026-04-12.md
draft status --json
draft open docs/releases/2026-04-12.md --json
Handoff phrase:
docs/releases/2026-04-12.md and ready for your Draft review."Prompt shape:
draft status --json?" -> draft-review-loop should decline; use draft-cli.docs/spec.md locally.draft status --json.draft open docs/spec.md --json.docs/spec.md locally and opened it in Draft for your review."draft workspace comments docs/spec.md --json.docs/spec.md with normal file-edit tools.docs/spec.md; local markdown remains the source of truth."When comments arrive, edit the local file by default. Do not default to mutating Draft page content directly unless the user explicitly requests page-first mutation.
tools
Retired compatibility alias for the former headless Draft page skill. Use `draft-cli` instead for all new `draft` and `draft page ...` work.
tools
Use the repo-local Draft CLI for development and testing with an isolated development port. Trigger this skill when working on `products/notion-editor/cli`, testing local Draft CLI changes, or avoiding collisions with an installed/global Draft CLI.
tools
Enforce a Human-in-the-Right-Loop (HITRL) lifecycle for remote agents. Use this skill when the user wants structured oversight over an agent task: plan approval before execution, evidence-logged execution, and result sign-off before closure. Trigger phrases: "work on this with my oversight", "check with me before you start", "use HITRL for this", "I want to review your plan first", "use draft-agent-loop". DO NOT use for tasks where the user simply asks to do something without requesting approval gates. Use draft-cli for raw Draft commands. This skill depends on the canonical draft-cli skill. It assumes headless page workflows, which fit remote OpenClaw-style isolated environments.
tools
Manage InnoSage Draft pages and hosted Secret Shares using the @innosage/draft-cli. Use this skill for `draft`, `draft page ...`, `draft secret ...`, and `draft auth ...`. Prefer JSON Workspace page operations anchored by workspace status/path metadata. Do not use this skill when "draft" is only a verb or when the task is a generic local-file writing task unrelated to Draft CLI.