pub-pipeline
Unified publication pipeline: R packages (CRAN/JOSS/JSS), Python packages (PyPI), and books (Amazon KDP)
Resources & Distribution
pub-pipeline
A Claude Code plugin for automating publication workflows across multiple ecosystems:
- R packages: CRAN → JOSS → JSS
- Python packages: PyPI
- Books: Amazon KDP (technical + fiction/nonfiction)
Skills & Commands
R Package Publication
| Command | Skill | Purpose |
|---|---|---|
/cran-audit | cran-audit | Audit package against CRAN Repository Policy |
/joss-audit | joss-audit | Evaluate against JOSS reviewer checklist |
/joss-draft | joss-draft | Draft paper.md and paper.bib for JOSS |
/r-publish | r-pub-pipeline | Orchestrate the full CRAN → JOSS → JSS pipeline |
Python Package Publication
| Command | Skill | Purpose |
|---|---|---|
/pypi-publish | pypi-publish | Audit, build, test, and publish to PyPI |
Book Publication (Amazon KDP)
| Command | Skill | Purpose |
|---|---|---|
/kdp-audit | kdp-audit | Audit manuscript against KDP requirements |
/kdp-publish | kdp-publish | Guide the full KDP publishing workflow |
Auto-Detection
Say “publish my package” or “publication pipeline” and the top-level pub-pipeline skill will detect your project type (R, Python, or book) and route to the right workflow.
Configuration
Copy docs/user-config-template.md to .claude/pub-pipeline.local.md in your project and fill in your details:
author:
name: "Your Name"
orcid: "0000-0000-0000-0000"
email: "you@example.com"
affiliation: "Your Institution"
The config provides author metadata, competing package info, AI usage disclosure, and ecosystem-specific settings shared across all skills.
Installation
claude plugin add /path/to/pub-pipeline
Prerequisites
R packages: R with devtools, covr, testthat, urlchecker; gh CLI
Python packages: Python with build, twine, pytest
Books (KDP): Manuscript files (.docx, .epub, .tex, or .pdf); cover image
Reference Documents
The docs/ directory contains comprehensive reference material:
user-config-template.md— Shared user configuration templatecran-reference.md— CRAN Repository Policy and submission checklistjoss-reference.md— JOSS requirements and reviewer checklistjoss-exemplars.md— Real JOSS R package paper examplespypi-reference.md— PyPI publishing requirements and workflowkdp-reference.md— Amazon KDP formatting, pricing, and submission guide
License
MIT