mvanhorn/printing-press

Génère une CLI prête à expédier pour une API avec une boucle allégée de recherche -> génération -> construction -> vérification d'expédition.

Qu'est-ce que printing-press ?

Ce skill transforme une API en une interface en ligne de commande (CLI) complète et prête à être déployée, en suivant un processus structuré mais léger : recherche, génération, construction et vérification d'expédition. Il est conçu pour les développeurs qui souhaitent accélérer la création d'outils CLI professionnels à partir d'une API existante, en réduisant les itérations manuelles. Le skill s'appuie sur des ressources comme les fichiers SKILL.md pour guider l'IA dans la compréhension de l'API cible, la génération du code client, la compilation et la validation finale. Il est compatible avec des plateformes d'agents AI comme Claude Code, Cursor ou Codex, et permet d'obtenir une CLI fonctionnelle avec un minimum d'effort. L'approche « ship-ready » garantit que la CLI est non seulement générée, mais aussi testée et prête à être publiée ou utilisée en production.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mvanhorn/cli-printing-press/tree/main/skills/printing-press

Installed? Explore more Recherche et analyse de données skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Que fait printing-press ?

Génère une CLI prête à expédier pour une API avec une boucle allégée de recherche -> génération -> construction -> vérification d'expédition.

Aperçu

Ce skill automatise la création d'une interface en ligne de commande (CLI) complète pour une API donnée. Il suit un cycle itératif efficace :

  1. Recherche : Analyse de l'API (documentation, endpoints, schémas) pour comprendre sa structure.
  2. Génération : Produit le code source de la CLI (par exemple, avec des bibliothèques comme click ou typer).
  3. Construction : Compile ou empaquette la CLI (via pip, npm, ou autre gestionnaire).
  4. Vérification d'expédition : Exécute des tests et des contrôles de qualité pour s'assurer que la CLI est prête à être déployée.

Pourquoi l'utiliser ?

  • Gagne du temps en évitant de coder manuellement une CLI.
  • Assure une cohérence avec l'API source.
  • Produit un résultat professionnel et testé.
  • S'intègre facilement dans un pipeline CI/CD.

Plateformes supportées

  • Claude Code
  • Cursor
  • Codex
  • Autres agents AI compatibles avec les fichiers SKILL.md

Comment ça fonctionne

  1. Entrée : Spécifiez l'API cible (URL, fichier OpenAPI/Swagger, ou documentation).
  2. Processus : Le skill orchestre chaque étape via des appels à l'agent AI.
  3. Sortie : Une CLI prête à l'emploi, livrée avec des instructions d'installation et d'utilisation.

Exemple de commande générée

# Après installation
ma-cli --help
ma-cli list-ressources
ma-cli creer-ressource --name "example"

Dépendances potentielles

  • Python 3.8+ (si la CLI est en Python)
  • Node.js 14+ (si la CLI est en JavaScript/TypeScript)
  • Un gestionnaire de paquets (pip, npm, etc.)

Notes

  • Le skill peut nécessiter l'accès à l'API pendant la phase de recherche.
  • Les tests de vérification d'expédition incluent des contrôles de syntaxe, d'intégration et de performance.
  • Personnalisez le nom et les commandes de la CLI via des paramètres facultatifs.

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

Skills associés