local-data-review
БесплатноБез исполняемых скриптовНе проверенRender every VS Code extension webview headlessly over the LOCAL session data on this machine (not the synthetic fixtures), then review the screenshots…
от rajbos★ 127 звёзд на GitHubОб этом скилле
Local Data Review Skill
Renders the extension's real webview bundles over this machine's own session history and hands you the result to review: one screenshot and one text dump per view and tab, plus a comparison of the harnesses (editors, CLIs, desktop apps) the history contains.
visual-view-diff answers "what changed visually?" over fixed synthetic fixtures.
This skill answers a different question: "is what we show true, readable and
useful on real data?" Synthetic fixtures have five models and tidy numbers; a real
history has thirty models, sessions that span days, editors that report tokens
differently, and gaps. That is where views break down.
Privacy: read this first
Everything this skill writes is derived from private session data: session titles, repository and workspace names, file paths, prompts-derived labels.
- The output directory (
local-review-output/, git-ignored) must never be committed, uploaded, attached to an issue or PR, or published as an artifact. - Do not paste screenshots, text dumps or payload excerpts into issues, PRs or commit messages. Describe a defect with aggregate numbers only ("four views show 405, 492, 759 and 911 sessions for the same window"), never with titles, repository names or paths.
comparison.mdholds numbers plus editor, model and skill names. Skill names can be private (a company-internal skill); leave them out of anything public.- Run it only on a machine whose owner asked for it. There is no CI workflow and there must not be one.
Usage
From the repo root. Needs the built webviews, cli/ dependencies and Playwright
(found the same way as for visual-view-diff, see its lib/browser.js):
cd vscode-extension && pnpm install && node esbuild.js && cd ..
cd cli && pnpm install && cd ..
node .github/skills/local-data-review/local-review.js
| Option | Meaning |
|---|---|
--reuse-payloads |
Skip the payload build and re-render from <out>/payloads. Use it while iterating on a view. |
--view <id>[,<id>] |
Only render these views (ids from visual-view-diff/views.config.json). |
--theme dark|light |
Default dark. |
--window <id> |
Window of the comparison report, an Efficiency › Compare window: last30, prev30, last90, thisMonth, lastMonth. Default last90. |
--compare-only |
Only rewrite comparison.md/comparison.json from the previous run's payloads/efficiency.json (seconds). |
--workspace <dir> |
Folder whose MCP/skill customization the usage view reads. Default: the repo root. |
--out <dir> |
Default local-review-output/. Another directory must be empty or a previous output of this skill. |
The payload build parses the whole history three times (details, daily stats, usage
analysis) and took about 12 minutes for 7,800 session files. Start it in the
background and use --reuse-payloads afterwards. Rendering takes under a minute.
No editor or IDE window is opened (see "Never Launch a Real Editor/IDE Instance" in
AGENTS.md).
Output
local-review-output/
├── report.md start here: status of every render
├── comparison.md per kind, per editor, same model in two harnesses, skills per harness
├── comparison.json the same, for scripting
├── render-report.json
├── shots/<view>[--<state>].<theme>.png
├── text/<view>[--<state>].txt the rendered text, to read numbers without the image
└── payloads/<view>.json what each view was rendered from
How it works
- Payloads.
build-payloads.tsis bundled with esbuild and run under plain Node against the real home directory. It calls the desktop app's panel builder (desktop/src/panelPage.ts), which uses the same sharedsrc/andcli/srcfunctions as the extension, and reads each panel's payload back out of the page it built. Nothing is re-implemented, so a wrong number in a screenshot is a wrong number in the product. - Render.
local-review.jswraps each payload in thevisual-view-diffpage shell (lib/harness.js) with the real bundle and renders it in headless Chromium with the network blocked. It renders the initial state plus everystatedeclared inviews.config.json, except states thatposta synthetic host message. The clock is not frozen: local payloads are relative to today. - Compare.
compare-harnesses.tsis bundled the same way and runs the sharedcompareHarnesses()(Efficiency › Compare) for the per-editor and per-kind tables andcompareModelAcrossHarnesses()(Efficiency › Models, "harnesses" mode) for the same-model tables, so the report cannot disagree with the product. It adds only the pair selection, top skill names and the Markdown.
What it cannot show
- It renders what the CLI/desktop host path computes. Fields only the VS Code extension host fills (GitHub-authenticated tabs, VS Code state, debug-log TTFT, sub-agent session counts) appear empty or signed-out. An
Установить local-data-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл local-data-review?
Render every VS Code extension webview headlessly over the LOCAL session data on this machine (not the synthetic fixtures), then review the screenshots, rendered text and a cross-harness comparison to find wrong numbers, views that break down on real data, and insights the product does not surface yet. Use when asked to validate the views with real data, review how the product looks on this environment, compare editors/CLIs/harnesses on efficiency, or look for new views worth building. Runs locally on demand only; its output is private and never leaves the machine.
Как установить скилл local-data-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл local-data-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic