publish-review
БесплатноБез исполняемых скриптовНе проверенRun a pre-publish review of the Queuert library — release hygiene (changesets, TODOs, package metadata), API surface, docs accuracy, the Compare pages against…
Об этом скилле
Publish Readiness Review
Review the Queuert library before publishing. This complements the per-change reviews: review-code and review-docs check each diff (style, changeset per change, docs touched by the change, sibling-adapter consistency). This skill covers what per-diff reviews cannot see — drift accumulated across many changes, whole-library consistency, and release mechanics — so it does not re-check per-diff concerns like code style judgment.
Usage
/publish-review # scope to changes since the last release tag; schema/OTEL only if touched
/publish-review --full # run every agent over the whole library regardless of what changed
Step 1: Scope
BASE=$(git describe --tags --abbrev=0)
git diff --name-only $BASE..HEAD | wc -l
git diff --name-only $BASE..HEAD -- 'packages/*/src/state-adapter/**' 'packages-internal/typed-sql/**' | head -1
git diff --name-only $BASE..HEAD -- 'packages/otel/**' 'packages/core/src/observability-adapter/**' 'docs/src/content/docs/integrations/opentelemetry/**' | head -1
Determine the release version <VERSION> from the current packages/core/package.json version and the pending .changeset/*.md bumps, following the pre-1.0 rule in the release skill (any major or minor → 0.<minor+1>.0, patch-only → next patch). Pass it to the Comparison agent.
- Schema agent runs if state-adapter or typed-sql files changed (or
--full). - OTEL agent runs if OTEL/observability files changed (or
--full). - The other four agents always run.
Step 2: Start benchmarks
Run pnpm benchmarks > <scratchpad>/benchmarks.log 2>&1 with run_in_background: true. Each suite rewrites its benchmarks/<suite>/results.md, the numbers the docs/src/content/docs/benchmarks/ pages show; you read the git diff of those files yourself in Step 4 — no agent needed.
Step 3: Launch agents
Launch all selected agents in ONE message (parallel Agent calls, subagent_type: general-purpose), using this prompt template:
You are the <role> for the Queuert library's pre-publish review.
Read, in order:
1. .claude/agents/publish-review/accepted.md — never report these items.
2. .claude/agents/publish-review/<file> — your checks and output format.
The last release tag is <BASE>. <"Focus on what changed since <BASE> (git diff --name-only <BASE>..HEAD), and on how those changes interact with code that did not change." | for --full: "Review the whole library.">
<Comparison agent only: "The release version is <VERSION>.">
Report findings only — no inventories of things that are fine. Every finding needs a file:line and a concrete fix. Severity: CRITICAL = must fix before publish (docs lie about behavior, breaking change unflagged, data-integrity risk); WARNING = should fix; SUGGESTION = nice to have. Keep SUGGESTIONs to the 10 most valuable.
| Agent | File | Role | Model |
|---|---|---|---|
| Release hygiene | release-hygiene.md |
release hygiene auditor | sonnet |
| API surface | api-surface.md |
API surface reviewer | default |
| Docs accuracy | docs-accuracy.md |
documentation accuracy reviewer | default |
| Comparison | comparison.md |
comparison pages reviewer | default |
| Schema | schema-review.md |
database schema reviewer | default, conditional |
| OTEL | otel-conventions.md |
OTEL semantic conventions reviewer | default, conditional |
Step 4: Consolidate
- Drop anything matching
accepted.mdthat slipped through, and merge duplicates reported by more than one agent. - Spot-check every CRITICAL by reading the cited lines. Downgrade or drop the ones that do not hold up, and say so.
- Read the benchmarks log for failures, and
git diff benchmarks/*/results.mdfor regressions; weigh each against the load average on the file's run line. - Write
docs/publish-readiness-report.md:
# Queuert Publish Readiness Review
Generated: [date] · Scope: [BASE]..HEAD ([N] files) or full · Agents run: [list, and which were skipped as untouched]
## Summary
- Critical: [n] · Warnings: [n] · Suggestions: [n]
## Must Fix Before Publish
[CRITICAL items, each tagged with its area: hygiene / api / docs / comparison / schema / otel / benchmarks]
## Should Fix
[WARNING items, tagged]
## Consider for Future
[SUGGESTION items, tagged]
## Changesets
[The release-hygiene changeset table]
## Benchmarks
[Pass/fail and notable deltas]
- Show the summary and the Must Fix list in the conversation.
When an accepted item is reported as no longer matching the code, propose the edit to accepted.md instead of silently keeping or dropping it.
Установить publish-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл publish-review?
Run a pre-publish review of the Queuert library — release hygiene (changesets, TODOs, package metadata), API surface, docs accuracy, the Compare pages against the release and each neighbor's latest version, plus schema and OTEL reviews when those areas changed since the last release, and benchmarks. Use when preparing to publish or validating publish readiness.
Как установить скилл publish-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл publish-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic