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
Step 1
bashgit clone https://github.com/nishuzumi/show-me-you-want-skill.gitStep 2
bashcd show-me-you-want-skillStep 3
bashln -s "$PWD/skills/smyw" ~/.claude/skills/smywStep 4
bashOr for one project: copy skills/smyw into that project's .claude/skills/smyw
مهارة تجعل وكيل البرمجة يرسم خطته قبل أن يكتب أي كود. يكتب الوكيل مواصفة منظمة ويبني منها صفحة HTML واحدة فيها مخطط للواجهة مع تغييرات مرقّمة وملوّنة، فتعدّل عليها وتكتب ملاحظاتك ثم تلصق الرد في المحادثة.
Examples
Rebuild the bundled helpdesk example
bashnode skills/smyw/scripts/build.mjs skills/smyw/examples/helpdesk-ai/spec.jsonWhat it does: Regenerates preview.html after you edit the example spec.
Apply pasted feedback to make the next spec version
bashnode skills/smyw/scripts/apply-feedback.mjs .smyw/<dir>/feedback-v1.md .smyw/<dir>/spec.jsonWhat 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{
"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