Community编程与开发github.com

mvanhorn/printing-press-amend

修改已发布的 CLI:从两种输入源(内测模式挖掘当前 Claude Code 会话中的摩擦点,或直接输入模式接受用户指定的请求)进行自动修复,确认范围后自主计划执行、清除 PII,并打开 PR。

printing-press-amend 是什么?

该技能用于修改已发布的 CLI 工具。它支持两种工作模式:(1)内测模式(dogfood mode),自动挖掘当前 Claude Code 会话转录中的摩擦点,例如缺失的标志、手写的 API 负载或静默返回 null 的情况;(2)直接输入模式(direct-input mode),接受用户明确提出的请求,如重命名命令、添加命令/数据源、修复已知 bug,并可选地嗅探源网站以发现新的 API 端点。技能会先与用户确认修改范围,然后自主制定计划并执行修复,自动清除敏感信息(PII),最后向 `mvanhorn/printing-press-library` 仓库提交 Pull Request。在整个流程中设置了两个用户参与检查点:范围确认后和 PR 草稿打开前。支持的触发短语包括“amend the CLI”、“submit a patch”、“fix what I just dogfooded”等。该技能运行在 Claude Code 平台上,旨在大幅减少开发者对 CLI 进行迭代修改时的重复劳动和认知负担。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mvanhorn/cli-printing-press/tree/main/skills/printing-press-amend

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

printing-press-amend 是做什么的?

从两种输入源之一修改已发布的 CLI:(1)内测模式挖掘当前 Claude Code 会话转录中的摩擦点(缺失的标志、手写的 API 负载、静默返回 null);(2)直接输入模式接受用户提供的请求(重命名命令、添加命令或数据源、修复指定 bug,可选地嗅探源网站以发现新端点)。在捕获后与用户确认范围,自主计划并执行修复,清除 PII,并向 mvanhorn/printing-press-library 打开一个 PR。设置两个用户参与检查点:捕获后确认范围,打开 PR 草稿前确认。触发短语:"amend the CLI"、"submit a patch"、"fix what I just dogfooded"、"open a PR for this CLI"、"patch this CLI"、"add features to my CLI"、"rename this command"、"add these feeds to "、"sniff for new APIs in "、"amend with these ideas"、"use printing-press-amend"、"run printing-press-amend"。

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

mvanhorn/printing-press

Generate a ship-ready CLI for an API with a lean research -> generate -> build -> shipcheck loop.

mvanhorn/printing-press-catalog

Browse and install pre-built Go CLIs for popular APIs from the catalog

mvanhorn/printing-press-import

Bring a published CLI from the public library into the internal library so it's identical to a freshly-generated copy — module path reverted, manuscripts placed alongside, ready for /printing-press-polish or /printing-press-emboss. Use when the public library has a CLI you don't have locally, or to recover from a broken/lost internal copy. Trigger phrases: "import the CLI", "bring it into my library", "fetch from public library", "I don't have it locally yet".

mvanhorn/printing-press-output-review

Internal sub-skill: agentic review of a printed CLI's sampled command output for plausibility issues that rule-based checks can't encode (substring-match relevance, format bugs, silent source drops, ranking failures). Invoked via the Skill tool by main printing-press SKILL.md (Phase 4.85) and printing-press-polish SKILL.md during the diagnostic loop. Not for direct user invocation — its actionable wrappers are /printing-press and /printing-press-polish.

mvanhorn/printing-press-polish

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".

mvanhorn/printing-press-publish

Publish a generated CLI to the printing-press-library repo

mvanhorn/printing-press-reprint

Regenerate an existing printed CLI from scratch under the current Printing Press, with prior research, prior novel features, and prior patches (post-publish hand-fixes) carried into the writing pipeline as reconciliation context rather than dropped on the floor. Pulls the CLI from the public library if it isn't local, recommends reuse-vs-redo of prior research based on age, then hands off to /printing-press with the right context. Use when a machine upgrade would benefit a published CLI more than manual polish. Trigger phrases: "reprint <api>", "regenerate <api>", "redo the <api> CLI", "rebuild <api> from scratch", "this CLI would benefit from a reprint".

mvanhorn/printing-press-retro

Run a retrospective after generating a CLI. Identifies systemic improvements to the Printing Press — templates, Go binary, skill instructions, catalog — so the next CLI comes out better. Creates a GitHub issue with actionable findings when there are Printing Press fixes to make. Use after any /printing-press run. Trigger phrases: "retro", "retrospective", "what went wrong", "improve the press", "post-mortem", "lessons learned", "what can we improve", "file a retro", "submit findings".

mvanhorn/printing-press-score

Score a generated CLI against the Steinberger bar, compare two CLIs side-by-side

相关技能