Skip to content
プロジェクト

概要

Agent skill: the design of one change as one interactive page — zoomable map, your decisions as controls, lock it. For Claude Code, Codex & co.

開発ツール

この数値の測り方

できること

  • Zoomable map of the target design. One overview diagram; click a box to zoom in (map → zoom → detail), with input, inside, output, and one real example at each level.
  • Only your decisions, as controls. Each open decision has its context, one-line options with the recommendation first, and a panel per option (how, gains, costs, effort, reversible). Nothing is preselected.
  • Send and Lock. One button returns every pick, struck row, and comment as a single markdown message. The Lock button appears only when no decision is open and nothing is written.
  • Plain words, linted. Prose follows ASD-STE100 Simplified Technical English, and the pack checks it, along with "no code in the plan", retired terms; it also reports the page's size and its change since the last pack, and warns when the page grows while the design does not, so a brief does not bloat across edit rounds.

計測したスター増加

24時間
0
7日間
+2
15日間
+15
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

visual-plan

The design of one change, on one interactive page. See it, answer it, lock it.

Agent Skill Claude Code Codex Node.js License

⭐ If it saves you from one 10-page plan, star it on GitHub.

Features • Installation • Usage • How it works • Example

A visual plan: the overview map, a zoom into one box, and the open decisions

Coding agents got good at building. Now they write 10-page plans, and the two decisions that are actually yours are buried on page 7. visual-plan is an agent skill that writes the design for one change as a single self-contained HTML page: a map of the target design you can click into, your open decisions as controls on the part they change, and a lock. The implementation plan (tasks, files, tests) comes after the lock, as a separate document.

Features

  • Zoomable map of the target design. One overview diagram; click a box to zoom in (map → zoom → detail), with input, inside, output, and one real example at each level.
  • Only your decisions, as controls. Each open decision has its context, one-line options with the recommendation first, and a panel per option (how, gains, costs, effort, reversible). Nothing is preselected.
  • Send and Lock. One button returns every pick, struck row, and comment as a single markdown message. The Lock button appears only when no decision is open and nothing is written.
  • Plain words, linted. Prose follows ASD-STE100 Simplified Technical English, and the pack checks it, along with "no code in the plan", retired terms; it also reports the page's size and its change since the last pack, and warns when the page grows while the design does not, so a brief does not bloat across edit rounds.
  • Built in a subagent. The page builder writes, packs, and lints the page in its own context and returns only a path and the open decisions, so your main session stays clean.
  • One file. The output is one self-contained plan.html: no build, no framework, nothing fetched to show it. It works wherever it is opened.
  • Design, not tasks. Built around the target state. No task lists, no code sketches, no who-does-what.

Installation

With the skills CLI, for any supported agent:

npx skills add AlmogBaku/visual-plan

Or clone it into your agent's skills folder. For Claude Code:

git clone https://github.com/AlmogBaku/visual-plan ~/.claude/skills/visual-plan

For Codex and other agents, clone it wherever your agent loads skills from. The entry point is SKILL.md.

[!NOTE] The pack needs only Node.js. There is nothing to npm install: the one parser it uses (js-yaml) is vendored.

Usage

Ask your agent for it by name, in the session where you are designing a change:

/visual-plan for adding "send later" to the composer
make a visual plan for moving auth to the new gateway

The agent reads the code the change touches and settles what the page will say. Then a subagent (the page builder) writes plan.yaml, packs it, and fixes every lint error, and hands back only the path and the list of open decisions. The YAML, the HTML, and the lint rounds never enter your main session's context. You pick options and leave comments on the page, then send them to the agent from the page, or copy them from the page and paste the markdown into the chat; the agent answers there first, then updates the page. When nothing is open, you lock it, and only then does the implementation plan get written.

[!NOTE] On the bundled example, the page builder reads and writes about 15k tokens (references plus the content file) and returns about 0.2k. Runtimes without subagents build the page inline.

[!TIP] Planning skills can call it too. Any skill that wants an interactive brief can ask visual-plan for the page and name where the locked HTML is saved.

The pack

The agent writes data, never HTML. The pack lints the content file and composes it with the runtime:

node runtime/pack.mjs plan.yaml                  # → plan.html
node runtime/pack.mjs plan.yaml --out page.html  # choose the output file
node runtime/pack.mjs plan.yaml --strict         # warnings fail the build

It also accepts plan.json, or plan.js with window.PLAN = {...}.

How it works

A page tells one story, top to bottom. These blocks are always written, in this order:

Block Holds
opening What breaks and for whom, what this page is, and one "Done when" sentence
today How it works today, in one sentence; the parts the plan replaces, folded, with file references
map The overview diagram of the target design, as a node tree, with one real example followed step by step
decisions Open decisions as questions with options; settled decisions as a folded table
scope What is out

Every block has a title that says its point, so the titles alone tell the design. Extras are written only when a test is true for the plan, and then folded to one line: terms, traces, constraints, data models, risks and behaviour changes, reused parts. A design reference, a working mockup with one tab for each option, stays open.

A page has two states. Open: one or more decisions wait for you, and the page has no Lock button. Locked: every decision is settled and dated. A plan moves from open to locked by your answers, never by the agent's choice, and a change after the lock reopens it.

The full contract lives in the skill:

SKILL.md                  what the page is and is not, the steps, the two states
references/sections.md    each block: what it holds, and the mistake it exists to prevent
references/nodes.md       the node tree and its views: diagram, ports, calls, machine, table, options, section
references/words.md       the STE writing rules and the badge vocabulary
runtime/                  visualplan.css, visualplan.js, and pack.mjs (lint + compose)

Example

examples/ holds a full synthetic plan: Send later for a made-up mail app, PostBox, with two open decisions. Pack it and open it:

node runtime/pack.mjs examples/example.yaml
open examples/example.html      # xdg-open on Linux

The overview map of the example plan


Made by @AlmogBaku · from the talk FML. My Plan Slopped to 10 Pages: Visual Plans to the Rescue

関連プロジェクトを探す

読み込み中…