Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

pre-publish-checklist预发布清单

Agent Skill

pre-publish-checklist 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

196

周安装

8

GitHub Stars

公开资料未说明

下载量

63
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pre-publish-checklist(预发布清单)
来源仓库:https://github.com/william-yeh/pre-publish-checklist
仓库路径:skills/pre-publish-checklist
安装命令:
npx skills add https://github.com/william-yeh/pre-publish-checklist --skill pre-publish-checklist
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/william-yeh/pre-publish-checklist --skill pre-publish-checklist

简介

pre-publish-checklist 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围和维护状态,注意可能触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Pre-Publish Checklist

Arguments

  • --skip <check> — skip a specific check by name. Can be repeated. Valid values: skill-lint, version-sync, code-review, tests, ci, docs

Process

Step 1 — Detect repo types

Scan the repo root for the following signals. Collect all matches — a repo can be multiple types simultaneously.

Signal (file at repo root)Repo Type
SKILL.mdAgent Skill
pyproject.toml / setup.py / setup.cfgPython program
package.jsonNode.js program
go.modGo program
Cargo.tomlRust program
pom.xml / build.gradleJava program
build.gradle.kts / settings.gradle.ktsKotlin program
project.clj / deps.edn / build.cljClojure program
*.sln / *.csproj (any at root)C# program
*.fsproj (any at root)F# program
CMakeLists.txt / meson.build / configure.acC/C++ program

If no signals match, report "unknown repo type — cannot determine which checks to run" and stop.

Step 2 — Run checks

Run every applicable check. Skip any whose name matches a --skip argument.

Agent Skill checks (when SKILL.md detected)

  1. Skill lint (--skip skill-lint to skip)

- Invoke the William-Yeh/agent-skill-linter skill: /skill-lint check - Linter errors → BLOCKING - Linter warnings only → WARNING

  1. Version sync (--skip version-sync to skip)

- Run: git tag --list to check if the repo has any existing git tags. - If no tags exist, skip this check (nothing to compare against). - If tags exist, get the latest tag: git describe --tags --abbrev=0 - Parse the version field from the SKILL.md frontmatter. - Strip any leading v prefix from the git tag before comparing (e.g. v0.1.00.1.0). - Compare SKILL.md version against the latest git tag: - If SKILL.md version == latest tag → BLOCKING: "Version not bumped — SKILL.md <version> matches existing tag <tag>. Increment the version before publishing." - If SKILL.md version < latest tag → BLOCKING: "SKILL.md version <version> is older than existing tag <tag>." - If SKILL.md version > latest tag → PASS

Program source code checks (when any language build manifest detected)

  1. Code review (--skip code-review to skip)

- Invoke the William-Yeh/common-code-reviewer skill: /common-code-reviewer - Reviewer verdict "REQUEST CHANGES" → BLOCKING - Reviewer verdict "APPROVE WITH COMMENTS" → WARNING - Reviewer verdict "APPROVE" → pass

  1. Local tests (--skip tests to skip)

- Run the test command for each detected language: Repo type Test command Python uv run pytest Node.js npm test Go go test./... Rust cargo test Java ./mvnw test or ./gradlew test Kotlin ./gradlew test Clojure lein test or clojure -T:build test C# / F# dotnet test C/C++ cmake --build. --target test or make test - Any test failure → BLOCKING

  1. CI status (--skip ci to skip)

- Run: gh run list --branch $(git branch --show-current) --limit 1 - Latest run status is not completed with success conclusion → BLOCKING

Step 3 — Report

Output a consolidated report:

## Pre-Publish Checklist

Detected types: <comma-separated list>

### <Type>
- [x] <check name>: PASSED
- [WARNING] <check name>: <reason>
- [BLOCKING] <check name>: <reason>

---

Verdict: BLOCKED — N blocking issue(s) must be resolved before publishing.

Blocking issues:
1. <description>

Warnings (non-blocking):
1. <description>

When all checks pass or only warnings remain, the verdict is:

Verdict: READY TO PUBLISH

Step 4 — Document rationale (when READY TO PUBLISH) (--skip docs to skip)

Skip this step entirely if there are blocking issues or if --skip docs was passed.

Gather context from all available sources:

  • The current coding-agent session dialog (decisions made, alternatives discussed, trade-offs considered)
  • git log and diff since the last tag or branch point
  • Issue/PR references mentioned in commit messages or the session

Then update or create the following documents as applicable.

4a — ADR (Architecture Decision Record)

  • First, check README.md for any project-specific documentation arrangement (e.g. the project may direct decision records to DESIGN.md, a wiki, or a custom path).
  • If no project-specific arrangement is documented, look for a docs/adr/ or adr/ directory; if neither exists, create docs/adr/.
  • Scan existing ADR files to determine the next sequential number (e.g. 0001, 0002).
  • Write a new ADR only if the change involves a design or architecture decision (new dependency, changed interface contract, security trade-off, algorithm choice). Skip for pure bug fixes or trivial patches.
  • Template: # ADR-<NNNN>: <Short decision title> Date: <YYYY-MM-DD> ## Status Accepted ## Context <Why this change was needed — problem statement, constraints, background.> ## Decision <What was decided and why this option was chosen over alternatives.> ## Consequences <Trade-offs, follow-up work, risks introduced or mitigated.>

4a-ii — ADR consolidation review

After writing any new ADR (or even if none was written), read all existing ADRs and assess whether consolidation is warranted:

  • Superseded decisions: if a new ADR reverses or significantly changes an older one, update the older ADR's ## Status to Superseded by ADR-<NNNN> and add a note explaining what changed.
  • Overlapping decisions: if two or more ADRs cover the same concern from different angles and have drifted out of sync, merge their content into the most recent one, mark the older ones as Merged into ADR-<NNNN>, and update cross-references.
  • Stale assumptions: if context or consequences described in an old ADR are now known to be incorrect (e.g. a dependency was replaced, a constraint was lifted), annotate that ADR with an ## Amendment section rather than editing history in place.

Skip this sub-step if there are fewer than two existing ADRs (nothing to consolidate).

Include consolidation actions in the documentation summary:

- [ADR] docs/adr/0001-choose-httpx.md — status updated to "Superseded by ADR-0004"
- [ADR] docs/adr/0002-retry-strategy.md — Amendment section added

4b — Usage / changelog notes

  • Look for CHANGELOG.md, USAGE.md, or README.md at the repo root.
  • Append or update the relevant section to reflect: what changed, how users invoke or benefit from it, and any breaking changes or migration steps.
  • Keep it concise — one to three bullet points per item.

4c — Other noteworthy items

  • If the session dialog or code reveals performance characteristics, known limitations, or operational notes future maintainers should know, add a short note to the appropriate place (e.g. NOTES.md, inline comment block, or an existing developer guide).

After completing documentation, output a summary:

## Documentation updates

- [ADR] docs/adr/0003-use-uv-for-dependency-management.md — created
- [CHANGELOG] Added entry under "Unreleased" for <feature>
- (none) — no architecture decisions or notable items to record

Step 5 — Handoff

  • No blocking issues: Offer to invoke commit-commands:commit-push-pr to complete the publish step.
  • Blocking issues remain: Display them clearly. Do not proceed.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.76%
按下载量换算24

Claude

27.02%
按下载量换算17

Cursor

19.58%
按下载量换算12

Gemini CLI

10.22%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills