Community程式設計與開發github.com

mvanhorn/printing-press-amend

修改已發布的命令列工具:可從主動 Claude Code 工作階段記錄中挖掘摩擦點,或直接接受使用者提供的需求,自動修復、清理 PII 並建立 PR。

printing-press-amend 是什麼?

此技能用於修改已發布的命令列工具(CLI),支援兩種輸入來源:(1) 主動模式 (dogfood mode) 會分析當前 Claude Code 工作階段的記錄,找出摩擦點(例如遺漏的旗標、手動建構的 API 有效載荷、無聲的空值回傳);(2) 直接輸入模式 (direct-input mode) 接受使用者直接提出的修改需求(例如重新命名指令、新增指令或資料源、修復特定錯誤,並可選擇性地掃描源站點以發現新端點)。技能會先與使用者確認修改範圍,然後自動規劃並執行修復、清除個人識別資訊 (PII),最後在 mvanhorn/printing-press-library 倉庫中開啟一個 Pull Request (PR)。整個流程包含兩個使用者回饋檢查點:在捕捉到修改範圍後確認範圍,以及在 PR 草稿完成後確認是否正式開啟。支援多種觸發短語,例如「amend the CLI」、「submit a patch」、「fix what I just dogfooded」等。

相容平台✓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 是做什麼的?

修改已發布的命令列工具,支援兩種輸入來源:(1) 主動模式 (dogfood mode) 會分析當前 Claude Code 工作階段的記錄,找出摩擦點(例如遺漏的旗標、手動建構的 API 有效載荷、無聲的空值回傳);(2) 直接輸入模式 (direct-input mode) 接受使用者直接提出的修改需求(重新命名指令、新增指令或資料源、修復特定錯誤,並可選擇性地掃描源站點以發現新端點)。技能會先與使用者確認修改範圍,然後自動規劃並執行修復、清除個人識別資訊 (PII),最後在 mvanhorn/printing-press-library 倉庫中開啟一個 Pull Request (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

相關技能