show
Create and review inline visual explanations, diagrams, interactive widgets, mockups, charts, and illustrations. Triggers on "/show", "show me", "draw", "diagram this", "visualize", "map this out", "make it interactive", or a request for a mockup, chart, or illustration.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- show
- description
- Create and review inline visual explanations, diagrams, interactive widgets, mockups, charts, and illustrations. Triggers on "/show", "show me", "draw", "diagram this", "visualize", "map this out", "make it interactive", or a request for a mockup, chart, or illustration.
02 资源文件 33
- 参考文档references/accessibility.md461 B
- 参考文档references/art.md197 B
- 参考文档references/charts.md212 B
- 参考文档references/core-design.md1.3 KB
- 参考文档references/erds.md181 B
- 参考文档references/flowcharts.md248 B
- 参考文档references/host-and-html.md273 B
- 参考文档references/illustrative-diagrams.md919 B
- 参考文档references/interaction.md239 B
- 参考文档references/mockups.md174 B
- 参考文档references/quality-gates.md386 B
- 参考文档references/structural-diagrams.md204 B
- 参考文档references/subject-inventory.md590 B
- 参考文档references/svg-contract.md1.2 KB
- 参考文档routing.yaml1.2 KB
- 资产文件samples/pr1262-v2.svg19.4 KB
- 脚本scripts/README.md264 B
- 脚本scripts/validate-artifact.py4.7 KB
- 脚本scripts/validate-package.py770 B
- 参考文档templates/html-widget.html167 B
- 资产文件templates/svg-base.svg1006 B
- 资产文件tests/fixtures/css-var.svg383 B
- 资产文件tests/fixtures/dead-ref.svg418 B
- 资产文件tests/fixtures/filled-glyph.svg329 B
- 资产文件tests/fixtures/inherited-fill.svg925 B
- 资产文件tests/fixtures/invalid.svg70 B
- 资产文件tests/fixtures/large-canvas.svg1.2 KB
- 资产文件tests/fixtures/unfilled-connector.svg691 B
- 参考文档tests/fixtures/valid.html80 B
- 脚本tests/test_validate-artifact.py2.4 KB
- 脚本tests/test_validators.py2.2 KB
- 参考文档workflows/create-visual.md615 B
- 参考文档workflows/review-visual.md1.1 KB
03 SKILL.md 正文
Show
Use this skill when a user asks to show, draw, map, visualize, explain visually, or build an interactive visual.
Routes
Pick the row whose intent matches the request, then follow workflows/create-visual.md.
| Intent | Route |
|---|---|
| Steps, decisions, lifecycle, transformation | flowchart |
| Architecture, containment, hierarchy | structural |
| Mechanism, intuition, spatial metaphor | illustrative |
| Entity or class relationships | erd |
| Controls that change a visual explanation | interactive |
| UI surface, form, card, dashboard | mockup |
| Quantitative or geographic data | chart |
| Illustration or generative art | art |
Each route's references and template live in routing.yaml; the template sets the output type.
Invariants
- Design, palette, and color meaning follow
references/core-design.md. - SVG output follows
references/svg-contract.md; HTML output followsreferences/host-and-html.md. - Prefer multiple focused visuals over one dense canvas, and keep explanatory prose outside the visual.
- Keep one diagram family per visual.
- When the visual shows code, a diff, or a plan that lives in a repo, read the real lines and tie every arrow to a
path:linecitation before drawing. When the picture and the source disagree, the picture is wrong. samples/holds good examples the user has picked out. Read them on demand to study what works; the rules stay in the references.
Workflows
- New visual:
workflows/create-visual.md - Review or repair:
workflows/review-visual.md
Validation
Run from any working directory:
python <skill-root>/scripts/validate-package.py
python <skill-root>/scripts/validate-artifact.py <artifact>
The package is complete only when package checks, artifact checks, and rendered inspection all pass.
04 同仓库更多 Skills
update
Fast-forwards a local repository's main branch to a remote's main after confirming the repo path and source remote through AskUserQuestion. Use when the user says '/update', 'update main', 'fast-forward main', 'sync main from origin', 'pull latest main into <path>', or 'bring main up to date'.
source-command-sr-loop
Converging cleanup loop: repeat /simplify until clean, then repeat /code-review --fix until clean
skill-builder
Skill lifecycle: classify, scaffold, write via the skill-writer-agent, self-audit, compose sub-skills, polish description triggers, enforce deterministic scripts. Triggers: build a skill, new skill workflow, improve this skill, optimize skill description, skill development lifecycle, skill modularity, skill composition, description trigger catalog, deterministic skill scripts.
session-tidy
Audit, clean, and consolidate session logs in the Obsidian vault. Fixes format drift, resolves orphaned next-steps, updates stale statuses, and generates project rollup summaries. Use when session logs feel cluttered or before starting a new project milestone. Triggers on '/session-tidy', 'tidy sessions', 'clean up session logs', 'session audit'.
session-log
Logs a session report as an HTML page, tracks vault context, extracts decisions, and outputs a /rename command. Use for /session-log, 'journal this session', 'log this work', 'session report', 'summarize/log/record this session', 'save session', 'capture session', or 'document what we did'.
run-claude-dev-env
Build, install, run, and test the claude-dev-env installer. Use when asked to run claude-dev-env, install the Claude Code config into ~/.claude, drive the installer, smoke-test it against a sandbox, or run its test suite.