Index of every page on this site: llms.txt
All skills
botkitsdev avatar

/botkits-show-me

@c282a38
by botkitsdevbotkitsdev/botkits10 stars
3
Run it yourself

use this when opening or rewriting a pull request description, or when the user needs a visual explanation of code shape, flow, or structure. Keep PR bodies easy to scan with the smallest clear diagram

  • 1 file
  • 3.9 KB
  • Updated 5 days ago
  • GitHub
Use this Skill: https://skilld.dev/gh/botkitsdev/botkits/botkits-show-me

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈55 tokens for metadata: the name and description. ≈936 when used: this file.

Description uses 2.7% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈219 characters, or 2.7%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

botkits-show-me

Explain a change or a piece of code with the smallest picture that makes it click. Short prose, then a visual next to the sentence it supports. Default home for these visuals is the PR body.

PR bodies

  1. First line: one complete sentence saying what the PR does. It should make sense in a list of 50 other PRs.
  2. Why: the problem and why this fix, in two or three sentences. Link the issue.
  3. Shape: one or two visuals from the menu below, picked for what changed.
  4. How to verify: exact commands, URLs, or clicks. Attach real proof (screenshot, test output) when you have it.

Use the repo's PR template if it has one, and slot the visuals into it.

Pick the view

Match the view to the question the reviewer will ask:

Reviewer asks Show
"What does it do step by step?" Pseudocode
"What calls what at runtime?" Call tree
"Where does this sit in the UI?" Component tree with the state that matters
"Which files own what?" Shallow file tree with one-line roles
"Who talks to whom, in what order?" Mermaid sequence diagram
"What exactly moved?" Any of the above as a diff block

Examples, kept tiny:

fetchInvoice(id)
  cache.get(id)            # hit: return
  api.getInvoice(id)
    retry x3 on 5xx
  cache.set(id, ttl=60s)
 checkout/
 ├── cart.ts
-├── payment.ts
+├── payment/
+│   ├── stripe.ts        # card flow only
+│   └── refunds.ts       # moved out of cart.ts
 └── receipt.ts
sequenceDiagram
    Browser->>API: POST /refunds
    API->>Stripe: create refund
    Stripe-->>API: refund.id
    API-->>Browser: 202 Accepted

Use a diff when the surrounding shape already exists and the point is the change. Paste the full block instead when the change is mostly additions, or when trimming would hide ordering or who owns what.

Rules

  • Every path, symbol, and arrow must exist in the real diff. Check before posting.
  • One or two views. A collage of every format hides the point.
  • Keep only the nodes the current question needs.
  • Redact secrets, tokens, internal hostnames, and customer data.
  • GitHub renders Mermaid in PR bodies and comments; prefer it over images that go stale.
  • For layouts, visual UI states, or anything too dense for text, write one focused HTML file (a diagram or short slide) styled like the product, and attach or link it.

Inspired by

  • HumanLayer, show-me (MIT). Does well: a toolbox of tiny text visuals (pseudocode, call trees, component trees, file trees, Mermaid, diffs) and "pick the smallest view". Missing: nothing on PR descriptions, no rule that visuals must match the real diff, and no redaction guidance. Its launch article credits Dillon Mulroy and Matt Pocock as influences.
  • Google engineering practices, Writing good CL descriptions (CC BY 3.0). Does well: a first line that stands alone, and a body that explains the problem and why this solution. Missing: text only, no visuals.
  • GitHub Docs, Creating diagrams. Does well: shows Mermaid and other diagram blocks render natively in Markdown. Missing: no advice on which diagram to draw.

What this version adds

  • A PR body structure (first line, why, shape, verify) built around the visuals.
  • A "reviewer asks / show" table for choosing the view.
  • Accuracy and redaction rules, plus new examples written for this repo.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at c282a38. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 5 days ago

README badge

README badge for botkitsdev/botkits/botkits-show-me