본문으로 건너뛰기
Skillpedia
작업 및 프로젝트280k · #379

plan-canvas

하는 일

이 도구는 계획이나 설계를 검토받기 위해 사람의 웹 브라우저에서 바로 보여 줄 수 있게 합니다. 그 사람은 바꾸고 싶은 부분을 정확히 가리키고, 질문하고, 승인하거나 수정을 요청할 수 있으며, 페이지를 떠나지 않아도 됩니다.

사용하는 경우

  • ✓누군가에게 계획이나 설계의 승인을 받아야 할 때.
  • ✓글로 설명하기보다 바꿀 부분을 가리키는 것이 쉬울 때.
  • ✓누군가가 .md나 .html 같은 로컬 파일을 검토하고 피드백을 주기를 원할 때.

스킬 링크

https://github.com/affaan-m/ECC/blob/main/skills/plan-canvas/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/affaan-m/ECC/blob/main/skills/plan-canvas/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“검토를 위해 'my_plan.md' 파일을 브라우저에서 열고 피드백을 기다려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 파일을 웹 페이지에 열고, 사람이 상호작용하기를 기다립니다. 승인하거나 수정을 요청하면 알려 주며, 그 사람이 어디를 가리켰는지 정확히 보여 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Plan Canvas

Review loop for plans and visual artifacts: you write the artifact, the human reviews it in the browser — annotating the exact element they mean, chatting, and delivering an Approve plan / Request changes verdict — while you block on a single CLI call that returns their feedback as JSON.

Inspired by lavish-axi; rebuilt ECC-native around the /plan confirmation gate, with zero dependencies.

When to Use

  • You just wrote a plan artifact (.claude/plans/*.plan.md from /plan) and need the CONFIRM/approve decision — the canvas verdict replaces a typed "yes/proceed".
  • The user should point at what to change: reviewing designs, comparisons, reports, or any local .md / .html artifact.
  • The user asks for /plan-canvas, a visual review, or "open it in the browser".

Do NOT use for: code review of diffs (/code-review), running web apps, or remote URLs. The canvas serves local artifact files only.

How It Works

Invoke the CLI as ecc-plan-canvas — the bin shipped by the ecc-universal package (on PATH after a global/plugin install; node "$CLAUDE_PLUGIN_ROOT/scripts/plan-canvas.js" also works for plugin installs). Run it from the project you are reviewing in; it works from any working directory. It manages a detached loopback server (127.0.0.1:4517) shared by all sessions, keyed by artifact path — no session ids to track.

The workflow is a plain CLI-plus-JSON loop, so it is model- and harness-agnostic: any agent that can run a shell command and read stdout drives it the same way (Claude Code, Codex, Cursor, Gemini, OpenCode, Copilot). Trigger it however your harness surfaces skills — e.g. /plan-canvas in Claude Code, $plan-canvas in Codex — or just run the ecc-plan-canvas commands directly.

# 1. Open the artifact in the user's browser (returns immediately)
ecc-plan-canvas open .claude/plans/feature.plan.md

# 2. Block until the human responds. Leave running; re-run if interrupted:
#    queued feedback is never lost.
ecc-plan-canvas await .claude/plans/feature.plan.md

Stay listening, or the human talks to an empty chair

Feedback only reaches you while an await is actually parked on the session. If your turn ends with nothing listening, the message sits in the queue and, from the human's side of the glass, sending appears to do nothing at all.

So run await as a background task when your harness supports one (in Claude Code, a Bash call with run_in_background: true). It exits the moment feedback arrives and the harness hands you the JSON, which keeps the loop alive across turns instead of dying with the foreground call. A foreground await works too, but only until the harness time-limits it.

Two backstops exist, and neither is an excuse to skip the above:

  • ecc-plan-canvas pending lists feedback queued with no listener. Check it whenever you are unsure whether you missed something.
  • The stop:plan-canvas-pending hook blocks your turn from ending while canvas feedback is undelivered, and hands you the messages. If you are reading feedback from that hook, you stopped listening too early.

await prints JSON when the human acts:

{
  "status": "feedback",
  "items": [
    { "kind": "annotation", "text": "Split this into two phases",
      "anchor": { "selector": "h2:nth-of-type(3)", "tag": "h2", "snippet": "Phase 2: Migration" } },
    { "kind": "verdict", "verdict": "request-changes" }
  ]
}
  • kind: "chat" — freeform message; answer in the canvas, not the terminal.
  • kind: "annotation" — feedback anchored to an element (anchor.selector, anchor.snippet show what they pointed at; anchor.textRange.text when they highlighted a passage).
  • kind: "verdict" — approve means the plan is CONFIRMED: stop polling, end the session, and start implementing. request-changes means revise the artifact (the canvas live-reloads it) and keep the loop going.

3. Always respond in the canvas, then keep listening. One command does both:

ecc-plan-canvas await <file> --reply "Split Phase 2 as requested. Take a look."

Every human message gets a reply in the canvas, even a one-liner like "On it, rewriting the risk table now." Silence in the chat panel is indistinguishable from a broken canvas, which is exactly the failure this loop exists to prevent. Answer there, not only in the terminal.

While you work, keep the chat honest with the activity indicator:

…

자주 묻는 질문

사람이 피드백을 주지 않으면 어떻게 되나요?

도구는 계속 기다립니다. 사용자가 듣고 있지 않더라도, 그 사람은 자신의 피드백이 대기 중인 것을 볼 수 있습니다.

이 도구로 코드를 검토할 수 있나요?

아니요. 이 도구는 계획과 설계를 위한 것이며, 코드 검토나 웹 애플리케이션 실행을 위한 것이 아닙니다.

사람은 바꾸고 싶은 부분을 어떻게 표시하나요?

페이지의 요소를 직접 클릭하거나, 텍스트의 일부를 선택해서 피드백을 남길 수 있습니다.

상세 정보

작성자의 원본 설명

Open plans and HTML artifacts in a local browser canvas where the human annotates elements, chats, and approves or requests changes without leaving the page. Use when presenting a plan for review, or when feedback like "move this, change that" is easier pointed at than typed.

repo: affaan-m/ECC

인기도

GitHub 스타
280k
순위
#379
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬