Explains code structure, dataflow, or a change with a compact diagram, diff, or interactive example. Use when asked to “break it down” for a commit or mechanism, “show me visually”, or draw dependencies. Excludes breaking a project into tasks. Whole-repo briefings belong to grok-repo.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Show Me?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/wilbeibi-show-me)
---
name: show-me
description: Explains code structure, dataflow, or a change with a compact diagram, diff, or interactive example. Use when asked to “break it down” for a commit or mechanism, “show me visually”, or draw dependencies. Excludes breaking a project into tasks. Whole-repo briefings belong to grok-repo.
---
# show-me
Pick the *smallest* view that makes the point, set it beside one or two lines of text, stop.
One view per question; two if a second genuinely adds an axis. Never all of them.
## Pick the view
| The question is about | Show |
|---|---|
| an algorithm, branching, an invariant | pseudocode |
| runtime order, who calls whom | call tree |
| UI structure, state ownership | component tree — JSX plus the hooks and module paths that matter |
| where code lives, refactor scope | shallow file tree, one-line responsibility per entry |
| interaction across processes or time | Mermaid `sequenceDiagram` / `stateDiagram` |
| the shape of an API before writing it | type signatures only, no bodies |
| a change to any of the above | that same view, as a `diff` |
| a layout, or a comparison too dense for the above | one self-contained HTML file |
## Render target decides the format
- Use trees, pseudocode, or diffs in plain terminals. Use Mermaid when the actual destination renders it.
- Use an interactive visualization or self-contained HTML when interaction or spatial layout adds value.
Follow the host's output-directory convention and return a link. Open the file only when requested,
using the available platform mechanism; do not assume macOS or a graphical session.
## Examples
**Break down a commit.** Trace one input from its diff or tests through the parent and the new revision.
Show where the outcomes first diverge. For a question about dependencies, connect the steps and label what
each one enables. If one input or one ordering changes the result, give the reader that one control.
The picture and one sentence both come from it, and the page still reads at the setting the author chose.
In the save example below, toggle whether the content changed and show which version writes the content
and invalidates the cache. On a follow-up, update the same explainer.
Call tree — runtime order:
```text
submitForm
createSession
persistPrompt
launchAgent
navigateToSession
```
Component tree — structure, state, and the module a component comes from:
```tsx
<SessionPage> (apps/example/src/routes/session.tsx)
useSessionEvents()
<SessionToolbar>
<RunSkillButton> (packages/ui)
```
File tree — responsibility, one line each:
```text
src/
├── commands/ # parses user actions
├── sessions/ # owns session state
└── transport/ # sends API requests
```
Diff — when the surrounding shape already exists. Diff whichever view fits the topic; any of
the above takes `diff` markers. Here, pseudocode:
```diff
on(save)
- write content
+ if content is unchanged
+ return cached result
+ write new content
+ invalidate cache
```
## Rules
- Include only the calls, files, props, states, and boundaries this question needs. Elide the
rest with `…`. Do not pad a view toward completeness.
- An interactive example has one control, left at the author's setting so the page reads untouched.
The control rewrites one sentence and the picture from the same function. A second control is a
second question, which is a second view. A picture that moves while its sentence stays put is
unfinished: write the sentence, or drop the control.
- Real paths, real names, real data. A tidy diagram with invented labels is worse than prose.
- Show the whole block instead of a diff when most of it is new, when the omitted context
hides ownership or order, or when the user needs something copyable.
- Skip the preamble. The visual is the answer; the prose is a caption.