Community研究与数据分析github.com

mvanhorn/printing-press

通过精简的研究 -> 生成 -> 构建 -> 发布检查循环,为API生成可上线的CLI工具。

printing-press 是什么?

该技能旨在帮助开发者快速为任何API生成一个功能完整、可直接发布的CLI(命令行界面)工具。它遵循一个精简的“研究 -> 生成 -> 构建 -> 发布检查”循环,自动化了从API规范到命令行工具的整个流程。首先,它会研究目标API的接口文档和功能;然后,基于研究结果生成对应的CLI代码;接着,自动构建并测试该工具;最后,进行发布前的检查,确保其符合发布标准。此技能适用于多种AI代理平台,如Claude Code、Cursor和Codex,能够显著减少手动开发CLI工具的时间和出错概率,尤其适合需要为内部或公开API快速创建配套命令行工具的开发者。通过将API端点、参数和认证方式等抽象为直观的命令和选项,该技能使得终端用户能通过简单的CLI命令与复杂的API进行交互。

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

Installed? Explore more 研究与数据分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

在你喜欢的 AI 中提问

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

文档

printing-press 是做什么的?

通过精简的研究 -> 生成 -> 构建 -> 发布检查循环,为API生成可上线的CLI工具。

Individual skills in this repo

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

mvanhorn/printing-press-amend

Amend a published CLI from one of two input sources: (1) dogfood mode mines the active Claude Code session transcript for friction (missing flags, hand- rolled API payloads, silent-null returns); (2) direct-input mode accepts user-supplied asks (rename a command, add commands or feeds, fix a named bug, optionally sniff the source site for new endpoints). Confirms scope with the user, plans + executes the fix autonomously, scrubs PII, and opens a PR against mvanhorn/printing-press-library. Two user-in-loop checkpoints: scope after capture, PR draft before open. Trigger phrases: "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 <cli>", "sniff for new APIs in <cli>", "amend with these ideas", "use printing-press-amend", "run printing-press-amend".

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

相关技能