Skill Development

show-me-you-want

A skill that makes a coding agent draw its plan before it writes code. The agent writes a structured spec and builds a single-file HTML wireframe with numbered, colour-coded changes. You edit and annotate the wireframe, then paste the feedback back to the agent.

  • 105 GitHub stars
  • ⚖️ MIT

Last verified: write-up checked

git clone https://github.com/nishuzumi/show-me-you-want-skill.git
show-me-you-want — skill preview

What it is

smyw exists for one moment in agent coding: the gap between a request and the first edit. When a feature will touch a page, an interaction flow or the interface between frontend and backend, the agent reads the code and writes .smyw/<date>-<name>/spec.json. The spec is a single tree that describes the screen before and after, with a change mark on each node. scripts/build.mjs checks it and turns it into preview.html. The preview is a canvas you can pan and zoom. Each screen is drawn in its real layout, and unchanged modules are drawn as real modules, only collapsed. A list on the left matches the numbers on the canvas. A moved element appears twice, red where it left and green where it arrived. Popups, drawers and dropdowns sit to the right of the page, joined to their trigger buttons by curved lines. Toolbar switches show the function or endpoint behind each element and the code component behind each module. Feedback goes back as text. The Feedback tab gathers overall style notes, answers to the agent's questions, every comment and every edit you made, and "Copy feedback" produces Markdown with the full edited plan as JSON at the end. The agent saves it, runs apply-feedback.mjs, rebuilds, and writes code only after you press confirm. The repo ships two generated examples, helpdesk-ai (one full screen) and task-tags (several pages). We read the Chinese README and did not run the build.

Who it's for

  • Developers who want to approve UI and API changes before an agent touches the code
  • Product people who review a feature visually and cannot read a diff
  • Teams using Claude Code or any agent that supports SKILL.md

Requirements

Requirements

  • Node 18 or newer (no dependencies, no server)
  • An agent that supports SKILL.md, such as Claude Code
  • A browser to open preview.html
  • For development only: Google Chrome for the end-to-end tests

Setup

  1. Step 1

    bash
    git clone https://github.com/nishuzumi/show-me-you-want-skill.git
  2. Step 2

    bash
    cd show-me-you-want-skill
  3. Step 3

    bash
    ln -s "$PWD/skills/smyw" ~/.claude/skills/smyw
  4. Step 4

    bash
    Or for one project: copy skills/smyw into that project's .claude/skills/smyw

مهارة تجعل وكيل البرمجة يرسم خطته قبل أن يكتب أي كود. يكتب الوكيل مواصفة منظمة ويبني منها صفحة HTML واحدة فيها مخطط للواجهة مع تغييرات مرقّمة وملوّنة، فتعدّل عليها وتكتب ملاحظاتك ثم تلصق الرد في المحادثة.

Examples

Rebuild the bundled helpdesk example

bash
bash
node skills/smyw/scripts/build.mjs skills/smyw/examples/helpdesk-ai/spec.json

What it does: Regenerates preview.html after you edit the example spec.

Apply pasted feedback to make the next spec version

bash
bash
node skills/smyw/scripts/apply-feedback.mjs .smyw/<dir>/feedback-v1.md .smyw/<dir>/spec.json

What it does: Takes the full plan out of the feedback, backs up the old spec as spec-v<N>.json and writes version + 1.

What a spec node looks like

json
json
{
  "id": "reply", "type": "form", "label": "回复客户", "component": "<ReplyBox>",
  "change": "modified", "before": { "label": "回复" },
  "children": [
    { "id": "reply-quick", "type": "select", "text": "快捷回复", "change": "removed" },
    { "id": "reply-polish", "type": "button", "label": "AI 润色", "change": "added",
      "fn": "openDraftDrawer({ mode: \"polish\" })" }
  ]
}

What it does: One tree describes before and after; each node carries a change mark. The labels are Chinese in the source.

Pros & cons

Pros

  • Pro:You see every planned change as a numbered frame: yellow modified, green added, red removed
  • Pro:You can change the plan yourself: drag components, turn a card into a modal, drawer, dropdown or popover, with undo and redo
  • Pro:Covers flows (swimlanes) and backend changes (endpoints, functions, fields, config), not only screens
  • Pro:build.mjs catches common spec faults, such as duplicate ids or a modified node with no before
  • Pro:Single offline HTML file, no dependencies, MIT licence

Cons

  • Con:The README and the bundled examples are in Chinese
  • Con:The wireframe shows structure and triggers only; the README says it is not a visual design
  • Con:It adds a review round before any code is written, which is slower for small changes
  • Con:In a sandboxed preview the browser may block saving progress or automatic copy; the page then selects the feedback for manual copy