agentleFS
VzlentinVzlentin/skills/skills/show-me/SKILL.md

show-me

Skill1 starsChanged 6 days agoMITView on GitHub

Help the user understand the current topic visually with concise diagrams, code-shape sketches, and focused pages. Also renders Mermaid to SVG with Pele, for diagrams in files such as PR bodies and pages.

  • Installs packages

100 other projects use a version of this, 74 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use in-your-own-words, make-pr-easy-to-review and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • jaydubya818Skill

    in-your-own-words

    Use when asked to restate the user's goal.

    Also in 9 projects that use this

  • jaydubya818Skill

    make-pr-easy-to-review

    Use when a correct pull request needs clearer history, description, or reviewer guidance.

    Also in 3 projects that use this

  • rohunvoraSkill

    reframe

    This skill should be used when the user is stuck, obvious solutions aren't working, constraints feel impossible, or they keep circling back to bad options. Use when designs keep getting rejected or the user is solving symptoms instead of root causes.

    Also in 5 projects that use this

  • shiwenbin1617Skill

    statechart

    Check a TLA+ model of a system that moves between states, such as a product flow, a protocol, or a service, and draw it as a Mermaid statechart. The report gives the shortest path to each state that breaks a rule. Use for /statechart, or to show a bug as a path through states.

    Also in 6 projects that use this

  • AnthropicSkill

    eli5

    Explain a topic like I'm a 5 year old. Use when the user types /eli5 <topic> or asks for a dead-simple picture explainer of how something works.

    Also in 11 projects that use this

  • MicrosoftSkill

    bro

    Re-explain the previous assistant message in a much simpler way, for when the reply made you go 'bro what'. Use /bro to get a simpler version of the last answer in Plain Language + Chicago Manual of Style, with diagrams where they help.

    Also in 13 projects that use this

  • +6 more from jaydubya818

The file

We split this skill into the rules it gives an agent

3 rules. 1 is common, 0 are distinctive, and 2 are very specific to this project.

  • 1

    Common

    Most of the 93 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use diff when the point is what changes and the surrounding shape already exists.

    line 60
  2. Common:

    Place each visual next to the short text it supports.

    line 121
  3. Very specific:

    Do not wrap parallel lanes that have cross-lane edges in subgraph blocks: Pele stacks subgraph blocks sequentially into one wide strip (LR) …

    line 134

“Common” is measured: kept by at least 6 in 10 of the 93 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

{baseDir} is the directory of this SKILL.md.

Help the user understand the current topic of conversation visually. Skip the preamble and keep prose brief. Pick the smallest view that makes the key point clear.

  • Show logic or an algorithm as pseudocode:
on(save)
  if content is unchanged
    return cached result
  write new content
  return fresh result
  • Show runtime control flow as a call tree:
submitForm
  createSession
    persistPrompt
    launchAgent
  navigateToSession
  • Show UI structure as a component tree, including state and module boundaries that matter:
<SessionPage> (apps/example/src/routes/session.tsx)
  useSessionEvents()
  <SessionToolbar>
    <RunSkillButton> (packages/ui)
  • Show file responsibility or a broad refactor as a shallow file tree:
src/
├── commands/       # parses user actions
├── sessions/       # owns session state
└── transport/      # sends API requests
  • Show component interaction, control flow, or data flow with Mermaid:
sequenceDiagram
    participant User
    participant UI
    participant Daemon
    User->>UI: choose command
    UI->>Daemon: send expanded prompt
    Daemon-->>UI: stream result
  • Use diff when the point is what changes and the surrounding shape already exists. Match the diff shape to the topic.

For a component change:

 <SessionPage>
   useSessionEvents()
   <SessionToolbar>
+    <RunSkillButton />
   <SessionTimeline>
+    <SkillResultCard />

For a file-layout change:

 src/
 ├── commands/
+│   └── show-me.ts       # expands the slash command
 ├── sessions/
-└── transport.ts
+└── transport/
+    ├── client.ts
+    └── stream.ts

For a call-tree or call-stack change:

 submitForm
   createSession
     persistPrompt
+    expandSkillMention
     launchAgent
-  navigateToSession
+  navigateToSession
+    subscribeToEvents

For a state or control-flow change:

 on(save)
-  write content
+  if content is unchanged
+    return cached result
+  write new content
+  invalidate cache
  • Show the whole block when most of it is new, when omitted context would hide ownership or order, or when the user needs a copyable target shape:
function expandSkill(command: string): string {
  const skillName = command.slice(1)
  return `use the ${skillName} skill`
}
  • For a visual UI, layout, state comparison, or concept too dense for Mermaid, make one focused page: a diagram, an infographic, or a short slide deck, whichever fits the point. Use real labels and data. Load the artifacts skill to build it, color it and open it.
  • Place each visual next to the short text it supports. Keep only the calls, files, props, states, and boundaries needed to answer the user's current question.

Diagrams in files

In the chat, Pi draws a ```mermaid block itself. A diagram for a file (a PR body, a page, an image) needs an SVG:

{baseDir}/mermaid.mjs /tmp/<name>.mmd /tmp/<name>.svg
{baseDir}/mermaid.mjs --large /tmp/<name>.mmd /tmp/<name>.svg   # for an artifacts page: larger text, the page gives the colors
  • Pele is in the global npm folder (npm root -g). If it is missing, ask the user, and suggest npm install -g pele. Do not install it in a project or with npx.
  • A parse error means the source is wrong. For example, call, end, class, style, click and graph cannot be node IDs.
  • Do not wrap parallel lanes that have cross-lane edges in subgraph blocks: Pele stacks subgraph blocks sequentially into one wide strip (LR) or tall tower (TB). Write parallel chains as plain nodes so they sit side by side.
  • Look at the SVG before you use it: add --png, and read the PNG path that it prints after the SVG path. The PNG is the whole SVG at twice its size. It needs Chrome, Chromium or Edge: set CHROME=<path> when it does not find one.
    • With no browser: qlmanage -t -s 1600 -o /tmp /tmp/<name>.svg on macOS, rsvg-convert -w 1600 /tmp/<name>.svg -o /tmp/<name>.png on Linux and WSL.
  • Scripts import renderMermaid(source, { large }) from {baseDir}/mermaid.mjs.

You may use one of these, you may use several, it is unlikely you will use all of them. Use your judgement and don't overwhelm the user.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.