show-me

Giúp người dùng hiểu trực quan chủ đề hiện tại với các sơ đồ ngắn gọn, bản phác thảo cấu trúc mã và các tạo phẩm HTML trọng tâm.

npx skills add https://github.com/humanlayer/skills --skill show-me

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, write one focused HTML file — a diagram, an infographic, or a short slide deck, whichever fits the point. Match the product's colors, type, spacing, and components; use real labels and data; support desktop and mobile. Then open it for the user:
Bash(open path/to/show-me-{description}.html)

guidance

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 or the options to resolve the current discussion point.

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.

Skills liên quan

code-review
clickhouse
Xem xét các thay đổi trong clickhouse-java về tính đúng đắn, khả năng tương thích, độ ổn định API và các bài kiểm tra còn thiếu. Sử dụng khi xem xét pull requests, commits, diffs, patches,…
clinical-knowledge
nvidia
Dạy các tác nhân về phạm vi tham chiếu lâm sàng, mã tình trạng bệnh, định nghĩa thước đo chất lượng, phân loại thuốc và bối cảnh quy định để họ có thể đánh dấu các bất thường…
audio-mixing
google-gemini
Trộn âm thanh giọng nói và nhạc nền thành một tệp chương trình radio hoàn chỉnh.
writing-database-queries
bitwarden
Bitwarden database architecture, migrations, and dual-ORM strategy. Use when working with `.sql` files, stored procedures, EF migrations, or database schema…
configuring-experiment-rollout
posthog
Cấu hình hình dạng triển khai của một thí nghiệm PostHog — tỷ lệ phân chia biến thể (50/50, 80/20, tỷ lệ A/B/C), tỷ lệ phần trăm triển khai tổng thể kiểm soát số lượng người dùng…
acul-screen-generator
auth0
Tạo ra các triển khai màn hình Auth0 Advanced Custom Universal Login (ACUL) hoàn chỉnh, có thương hiệu bằng cách sử dụng React hoặc Vanilla JS SDK. Sử dụng khi nhà phát triển yêu cầu…
flaky-smoke-tests
microsoft
Chẩn đoán các lỗi thất bại không liên tục trong bài kiểm tra khói VS Code Electron từ pipeline Azure DevOps Flaky Smoke Tests (định nghĩa 700). Bao gồm việc tìm các lần lặp thất bại,…
azure-ai-contentsafety-java
microsoft
Xây dựng ứng dụng kiểm duyệt nội dung với Azure AI Content Safety SDK cho Java. Sử dụng khi triển khai phân tích văn bản/hình ảnh, quản lý danh sách chặn, hoặc xử lý nội dung độc hại…