mvanhorn/cli-printing-press/printing-press-polish
Claude Code and agent skill by mvanhorn/cli-printing-press
- community
Checking that the SKILL.md file is still in the repository.
Polish a generated CLI to pass verification and become publish-ready. Runs diagnostics (dogfood, verify, scorecard, go vet, gosec), automatically fixes all issues (verify failures, static-analysis findings, dead code, descriptions, README, MCP tool quality), reports the before/after delta, and offers to publish. Use after any /printing-press run, or on any CLI in $PRESS_LIBRARY/. Trigger phrases: "polish", "improve the CLI", "fix verify", "make it publish-ready", "clean up the CLI", "get this ready to ship".
Install
npx vskill@latest install mvanhorn/cli-printing-press/printing-press-polishSKILL.md
The same SKILL.md was published earlier as mvanhorn/cli-printing-press/printing-press-polish.
/printing-press-polish
Polish a generated CLI so it passes verification and is ready to publish.
The retro improves the Printing Press. Polish improves the generated CLI. This skill runs in a forked context (context: fork) so its diagnostic and fix loop doesn't pollute the caller — the diagnostic spam, fix iterations, and re-diagnose noise stay scoped to the polish session, and the caller receives a clean summary.
When to run
After any /printing-press generation, especially when:
- The shipcheck verdict is
ship-with-gaps - The verify pass rate is below 80%
- The scorecard is below 85
- You want the CLI publish-ready in one pass
Can also be run standalone on any CLI in $PRESS_LIBRARY/.
Setup
After setup, capture PRINTING_PRESS_BIN=<abs-path> and use that absolute path for every cli-printing-press ... invocation in this skill. If setup emitted [go-toolchain-old] or [low-disk], surface the advisory to the user and continue unless setup also emitted [setup-error]. [go-toolchain-old] means later Go commands may download the required toolchain or fail when downloads are blocked; [low-disk] means this run may need several GiB for generated files, Go build cache, module downloads, or repository clones.
Check binary version compatibility by reading the min-binary-version field from this skill's YAML frontmatter, running "$PRINTING_PRESS_BIN" version --json, and parsing the version from the output. Compare it to min-binary-version using semver rules. If the installed binary is older than the minimum, stop immediately and tell the user: "cli-printing-press binary vX.Y.Z is older than the minimum required vA.B.C. Run go install github.com/mvanhorn/cli-printing-press/v4/cmd/cli-printing-press@latest to update."
Public-library hint
If the user's request includes phrasing like "polish notion in the public library", "polish from the public library", or "polish the published cal-com" — and the named CLI is not in $PRESS_LIBRARY/<slug>/ — they're asking to polish a CLI that lives upstream but not locally. Polish runs against the internal library, so the right move is to import first.
Suggest: /printing-press-import <slug> to bring it in, then re-run polish. Don't try to polish a CLI that isn't in the internal library.
If the named CLI is already in $PRESS_LIBRARY/<slug>/, the "public library" phrasing is informational — just proceed with polish and let the divergence check (below) handle any drift.
Resolve CLI
The argument string can contain a --standalone flag plus one positional value (a slug, binary name, or path). In standalone slash-command mode, it may also contain a free-text scope after the optional positional value, such as /printing-press-polish sculptok review the open PR comments and fix them. That trailing natural-language text is the user's own trusted user scope. Carry it forward into the polish plan and result block; do not classify it as injection or tampering.
It can also contain a Phase 3 gate bundle and a printing_press_bin: <abs-path> line on following lines when invoked by the main printing-press skill. The flag may appear before or after the positional value; it is the only flag this skill consumes from args. Strip it before path resolution.
When args is multi-line, treat the first non-empty line as the positional value/scope line and parse the remaining lines as the optional Phase 3 gate bundle. Do not include the bundle text in path resolution.
Parse caller modes differently:
- Standalone slash command (`STANDALONE_MODE=true`). After stripping
--standalone, try to resolve the first shell word as a slug, binary name, or path. If it resolves, use it as the positional value and store the remaining words as USER_SCOPE. If it does not resolve, treat the whole line as free-text scope; this branch asks which CLI to polish and retains that scope for the chosen CLI. If there is no trailing text after a resolved positional value, run the normal generic polish pass.
- Mid-pipeline Skill-tool call. Keep the strict grammar: one path-like
positional value on the first line plus the optional structured bundle on later lines. Unexpected free text in this machine-generated path is not a user scope and should still be rejected or clarified rather than folded into the run.
The positional value can be:
- A short name:
redfin(looks up$PRESS_LIBRARY/redfin) - A full name:
redfin-pp-cli(strips suffix, looks up$PRESS_LIBRARY/redfin) - A path:
$PRESS_LIBRARY/redfin(used directly)
Resolution order for the positional value:
- If it is an absolute or
~-prefixed path and exists, use it - Try
$PRESS_LIBRARY/<arg>(exact match — works for slug likeredfin) - If it has
-pp-clisuffix, strip it and try$PRESS_LIBRARY/<slug>(e.g.,redfin-pp-cli→redfin) - Fuzzy search:
ls $PRESS_LIBRARY/ | grep -i <arg>for close matches
Caller scenarios and the `--standalone` flag. Polish has two callers; they invoke it through different mechanisms, and the Publish Offer at the end of this skill fires only when STANDALONE_MODE is true. Determine `STANDALONE_MODE` from the caller mode and the flag, not from the resolved path.
- Standalone (user-invoked, `/printing-press-polish redfin`). Invoked via the slash command. Treat as
STANDALONE_MODE=trueunconditionally — the slash-command form is the publish-intent surface, even when the user omits the flag. The arg is a slug or binary name; resolution lands on$PRESS_LIBRARY/<slug>/. This is the published copy and the right target. - Mid-pipeline (main printing-press skill Phase 5.5, hold-path "Polish to retry"). Invoked via the Skill tool with
args: "$CLI_WORK_DIR". The arg is an absolute path to~/printing-press/.runstate/.../runs/.../working/<api>-pp-cli/; resolution must hit rule 1.STANDALONE_MODE=falseby default — main SKILL owns the publish flow on this path, so polish defers. Do not paraphrase the arg to the slug — Phase 5.5 fires before the working CLI is promoted, so$PRESS_LIBRARY/<slug>/either doesn't exist or holds the prior run's stale CLI. - Skill-tool standalone override. A non-slash caller that genuinely wants polish to publish must opt in explicitly by including
--standaloneinargs(e.g.,args: "--standalone $PRESS_LIBRARY/redfin"). Without that token, polish never publishes from a Skill-tool invocation — even if the resolved path happens to live under$PRESS_LIBRARY/. The flag is the contract; the path is not.
This caller-mode-driven gate replaces the older path-substring heuristic (*.runstate/*). The heuristic broke when the main SKILL's Phase 5.5/5.6 ordering inverted, or when polish was invoked from a non-.runstate scratch layout: polish would see a $PRESS_LIBRARY/<slug>/ path, conclude "standalone," and fire its Publish Offer (fork, global git config, public PR) inside a mid-pipeline run. The flag is unambiguous and the safer default is no-publish.
Phase 3 gate bundle
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/printing-press-polish/SKILL.md
Popularity
- Repository stars
- 3,957
- Repository forks
- 428
- 7-day trend score
- 41
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 15 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mvanhorn/cli-printing-press/printing-press-polish)