mvanhorn/cli-printing-press/printing-press-reprint
Claude Code and agent skill by mvanhorn/cli-printing-press
- community
Checking that the SKILL.md file is still in the repository.
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".
Install
npx vskill@latest install mvanhorn/cli-printing-press/printing-press-reprintSKILL.md
The same SKILL.md was published earlier as mvanhorn/cli-printing-press/printing-press-reprint.
/printing-press-reprint
Regenerate an existing printed CLI under the current machine. The user gives a CLI name and (optionally) reasons for the reprint. This skill ensures the prior CLI is locally present, recommends whether to reuse or redo prior research, and hands off to /printing-press with the context the novel-features subagent needs to reconcile prior features against the current machine — keep, reframe, or drop with reasons, never silent.
When to run
- A significant Printing Press upgrade (new MCP surface, new auth modes, new
transport, scoring rubric changes) would lift this CLI more than manual polish.
- The published CLI ships with a known systemic gap a reprint would fix.
- The user wants prior novel features re-evaluated against the current
machine and current personas, not carried forward verbatim.
For one-off code-quality fixes, prefer /printing-press-polish — it doesn't redo research or rebuild the manuscript.
Setup
Phase A — Resolve and reconcile presence
Resolve the user's argument the same way /printing-press-import does: fetch the public library registry.json once, then exact → normalized → fuzzy match. The argument can be an API slug (notion), a brand name (cal.com), an old <api>-pp-cli form, or close enough.
Capture from the matched registry entry: API_SLUG (from .name) and LIB_PATH (from .path, e.g., library/productivity/cal-com). Phase B uses $LIB_PATH for the public patches fetch. For the "present | absent" never-published row, $LIB_PATH stays empty — Phase B's fetch short-circuits on that.
Then check what exists locally and reconcile against the public library by reading both provenance manifests' run_id and generated_at:
| Local | Public registry | Action | |
|---|---|---|---|
| absent | absent | STOP — nothing to reprint; suggest /printing-press <api> for a fresh print | |
| absent | present | invoke /printing-press-import <api>, then continue | |
| present | absent | continue — never-published local CLI; skip import | |
present, same run_id | present | continue without import | |
present, public newer generated_at | present | offer import via AskUserQuestion; user decides | |
present, local newer generated_at | present | STOP — local has unpublished work; tell user to publish or discard first |
When invoking /printing-press-import, let it own backup, overwrite, build-verify, and module-path-rewrite. Wait for it to return clean before continuing.
Phase B — Verify reconcilable prior context
Locate the two artifacts the writing pipeline should be aware of: research (drives novel-features Pass 2(d)) and patches (post-publish hand-fixes recorded by /printing-press-amend, e.g. live-discovered API quirks the spec didn't reveal).
Research absent
If neither research path exists, the published CLI predates research.json provenance. The subagent will treat the run as a first print and Pass 2(d) reprint reconciliation will not fire — there is nothing for it to read. Surface this and ask:
Published<api>was built beforeresearch.jsonprovenance landed.Without it, the novel-features subagent will treat this as a firstprint — there is nothing to reconcile against. Continue as a degradedreprint (essentially a fresh print with a kept binary name)?
If the user declines, exit. If they continue, record the absence so the hand-off prompt notes that this is a degraded reprint.
Patches discovery
Refresh the local patches index from public when reachable, then read locally so downstream references are durable. Amends may have landed against the public copy without triggering a regen, so the local copy can lag even when run_id matches; this step closes that gap.
The index ships in one of two shapes: the per-patch directory .printing-press-patches/ (current) or the legacy single-array .printing-press-patches.json (older CLIs not yet normalized). Always check both shapes when reachable. Prefer the directory when it contains patch files, but never let an absent legacy single-file index set PATCH_COUNT=0 until the directory fallback has been read.
If $PATCH_COUNT == 0 or no index is present (older CLI predating the patches contract), skip the rest of this subsection — no patches block in the hand-off.
If $PATCH_COUNT > 0, surface a one-liner to the user before continuing:
Public<api>has$PATCH_COUNTrecorded patch(es) against the priorprinted CLI. Carry them into the brief as a watch-list. Regen andpublish-validate now read the records and fail closed if a recordedfile or declared call site /pp:patchmarker is gone — do not treatthe index as a claim that the customization still shipped.
Hold $PATCHES_SOURCE and $PATCH_COUNT for Phase D.
Phase C — Recency recommendation
Pull researched_at from the most-recent prior research.json and printing_press_version + generated_at from .printing-press.json:
Compute the calendar age of the research with python3 so it stays portable across macOS/Linux and tolerates the microsecond precision that generated_at carries (BSD date -f rejects fractional seconds; python3 is on every supported platform):
Surface both signals to the user — research age and prior machine version. Age thresholds are rules of thumb, not gates:
- under 30 days → reuse looks safe
- 30–120 days → reuse plausible; the user should mention any known API
churn in their reprint reason so the subagent's Pass 2 picks it up
- over 120 days → redo recommended
Don't predict API churn from age alone — describe the signals and let the user override. The Phase 0 binary-version-bump revalidation in /printing-press handles the machine-delta side independently; don't duplicate it here.
Ask via AskUserQuestion:
- Reuse prior research — keep the prior brief; the subagent re-scores
prior novel features against current personas
- Redo research — re-run Phase 1 of
/printing-pressfrom scratch; the subagent still
ingests prior novel features as Pass 2(d) input
- Show me first — display the prior brief's headline + novel-features
list, then re-ask between options 1 and 2
Phase D — Hand off to /printing-press
Before invoking /printing-press, use the prior CLI's scorecard and manifest to decide whether the reprint should offer spec enrichment that the first print could not have used. Reprints have better evidence than fresh prints: they know which structural dimensions were weak, which Printing Press version produced the prior CLI, and what the user named as the reason for regenerating.
Find the most recent scorecard JSON from the prior manuscript run. If no scorecard artifact exists, run a fresh structural scorecard against the local library copy:
If SCORECARD_JSON is empty, continue without enrichment prompting and say the reprint is proceeding without prior score evidence. Do not invent a prompt from the reprint reason alone.
When SCORECARD_JSON is available, inspect only dimensions that map to a pre-generation spec edit and skip dimensions that already score 10/10:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 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-reprint/SKILL.md
Popularity
- Repository stars
- 3,957
- Repository forks
- 429
- 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-reprint)