Agent Skillsvinta/awesome-python › preview-verdicts

preview-verdicts

GitHub

生成交互式 HTML 预览页面,供维护者在修改 README.md 前对条目进行 Keep/Drop 裁决。支持构建数据数组、替换模板占位符并打开页面,随后解析维护者反馈的 JSON 以应用变更。

.claude/skills/preview-verdicts/SKILL.md vinta/awesome-python

触发场景

需要人工审核条目保留或删除决策时 批量编辑或重组数据后需确认

安装

npx skills add vinta/awesome-python --skill preview-verdicts -g -y
更多选项

非标准路径

npx skills add https://github.com/vinta/awesome-python/tree/master/.claude/skills/preview-verdicts -g -y

不安装直接使用

npx skills use vinta/awesome-python@preview-verdicts

指定 Agent (Claude Code)

npx skills add vinta/awesome-python --skill preview-verdicts -a claude-code -g -y

安装 repo 全部 skill

npx skills add vinta/awesome-python --all -g -y

预览 repo 内 skill

npx skills add vinta/awesome-python --list

SKILL.md

Frontmatter
{
    "name": "preview-verdicts",
    "description": "Generate the interactive keep\/drop verdict preview (HTML page with per-row feedback controls) whenever a prune sweep, batch entry edit, or restructure needs maintainer review before touching README.md — and process the feedback JSON the maintainer pastes back."
}

Verdict preview

Maintainer review happens through an interactive HTML page: one row per entry with your seeded verdict and reason, a Keep/Drop toggle and a reason field for the maintainer, and a Copy feedback button that exports only changed or commented rows as JSON. Generate the page, wait for the pasted JSON, then apply it. Entry changes land in README.md only after the review — and only on an explicit go.

Generate the preview

  1. Build the DATA array. A group is [section, subcategory, rows]; a row is [entry, url, downloads, verdict, reason].
    • subcategory may carry a note after (rendered muted): use it for proposed splits, re-homes, or anything the maintainer should weigh for the whole group.
    • downloads is PyPI last-month as a comma-formatted string; use when no signal exists (e.g. agent skill packs), stdlib for standard-library modules, fetch failed when the lookup failed. State the fetch date in the sub-header.
    • verdict is keep or drop, seeded from the current adjudication or dry-run.
    • reason is plain language the maintainer reads cold — no invented shorthand. When fresh evidence contradicts the seeded verdict (a big download count on a drop, a dead repo on a keep), say so in that row's reason instead of silently changing the seed.
  2. Copy template.html (sibling of this file) and replace the placeholders: __TITLE__ (page title), __SUB__ (sub-header: scope, seed provenance, fetch date, and the standing instruction to flip/comment then Copy feedback), __KEY__ (localStorage key), __DATA__ (the array). __KEY__ must be unique per review — slug plus date, e.g. awesome-python-science-2026-09-01 — because saved state under a reused key bleeds a previous review's flips into rows with the same section and entry name.
  3. Write the page to tmp/awesome-python-<slug>-preview.html in the repo root (git-ignored; create the directory if needed), open it, and tell the maintainer the path and the return path: flip or comment rows (they highlight yellow), press Copy feedback, paste the JSON into the chat. Done when the page is open and the return path is stated.

Process the pasted feedback

Each JSON row is {section, subcategory, entry, my_verdict, your_verdict, reason}. The maintainer's verdict is final — apply it, never re-argue it. An empty reason means the verdict stands unexplained; that is enough.

Before executing, surface anything the flips imply that the maintainer has not decided: a use case pushed past its cap, an entry left homeless by a proposed split, a request that is already satisfied (a no-op). Ask, then execute on their go. Done when every pasted row is either applied or surfaced back — none silently dropped.

版本历史

  • d4fd148 当前 2026-08-20 20:29

同 Skill 集合

.claude/skills/audit-the-list/SKILL.md
.claude/skills/review-prs/SKILL.md

元信息

文件数
0
版本
46086cc
Hash
cd69d425
收录时间
2026-08-20 20:29

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-23 15:08
浙ICP备14020137号-1