plan-canvas
यह क्या करती है
यह टूल किसी प्लान या डिज़ाइन को सीधे उनके वेब ब्राउज़र में रिव्यू के लिए दिखाने देता है। सामने वाला व्यक्ति ठीक-ठीक बता सकता है कि उसे क्या बदलना है, सवाल पूछ सकता है, और मंज़ूरी दे सकता है या बदलाव माँग सकता है, और इसके लिए उसे पेज छोड़ना नहीं पड़ता।
कब इस्तेमाल करें
- ✓जब आपको किसी से प्लान या डिज़ाइन को मंज़ूरी दिलवानी हो।
- ✓जब टेक्स्ट में बताने से आसान हो कि क्या बदलना है, उस पर उँगली रखकर बताना।
- ✓जब आप किसी लोकल फाइल (जैसे .md या .html) पर फीडबैक लेना चाहते हों।
Skill का लिंक
https://github.com/affaan-m/ECC/blob/main/skills/plan-canvas/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“'my_plan.md' फाइल को रिव्यू के लिए ब्राउज़र में खोलो और फीडबैक का इंतज़ार करो।”
हर हफ़्ते 5 नई skills, 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.mdfrom/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/.htmlartifact. - 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 pendinglists feedback queued with no listener. Check it whenever you are unsure whether you missed something.- The
stop:plan-canvas-pendinghook 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.snippetshow what they pointed at;anchor.textRange.textwhen they highlighted a passage).kind: "verdict"—approvemeans the plan is CONFIRMED: stop polling, end the session, and start implementing.request-changesmeans 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
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
accessibility
280kयह आपके एजेंट को ऐसे इंटरफ़ेस बनाने में मदद करता है जिन्हें हर कोई इस्तेमाल कर सके। यह पक्का करता है कि वेबसाइट और ऐप दिव्यांग लोगों के लिए भी अच्छे से काम करें, जैसे नेत्रहीन या जिन्हें चलने-फिरने में दिक्कत होती है।
agent-architecture-audit
280kयह आपके एजेंट को जाँचने देता है कि सब कुछ सही से चल रहा है। यह AI सिस्टम में समस्याएँ ढूँढकर ठीक करता है, ताकि वे उम्मीद के मुताबिक काम करें।
agent-eval
280kयह आपके एजेंट को अलग-अलग AI coding tools की तुलना करने में मदद करता है। यह मापता है कि किसी खास काम के लिए कौन सा टूल ज़्यादा तेज़, सस्ता और भरोसेमंद है।
agent-harness-construction
280kयह आपके एजेंट को काम कैसे करना है, यह बेहतर समझने में मदद करता है। यह उन tools और instructions को बेहतर बनाता है जिनका एजेंट इस्तेमाल करता है, ताकि उसकी सफलता की संभावना बढ़े।
मिलती-जुलती skills
knowledge-capture
394kयह आपके एजेंट को ज़रूरी फ़ैसले, पसंद और मुख्य तथ्य स्रोत के उल्लेख के साथ Knowledge vault में छोटे नोट्स के रूप में सेव करना सिखाती है।
knowledge-claim-consolidation
394kयह आपके एजेंट को डुप्लिकेट claims मिलाकर, उन्हें सही विषय पेज पर ले जाकर और पुराने claims हटाकर Knowledge vault को व्यवस्थित करने देती है।
knowledge-correct
394kयह आपके एजेंट को आपके कहने पर सेव किए गए Knowledge claim या पेज को सुधारने या वापस लेने देती है, और बदलाव का रिकॉर्ड रखती है।