active library

pub-pipeline

Unified publication pipeline: R packages (CRAN/JOSS/JSS), Python packages (PyPI), and books (Amazon KDP)

Started 2026

Resources & Distribution

Source Code

Package Registries

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

CommandSkillPurpose
/cran-auditcran-auditAudit package against CRAN Repository Policy
/joss-auditjoss-auditEvaluate against JOSS reviewer checklist
/joss-draftjoss-draftDraft paper.md and paper.bib for JOSS
/r-publishr-pub-pipelineOrchestrate the full CRAN → JOSS → JSS pipeline

Python Package Publication

CommandSkillPurpose
/pypi-publishpypi-publishAudit, build, test, and publish to PyPI

Book Publication (Amazon KDP)

CommandSkillPurpose
/kdp-auditkdp-auditAudit manuscript against KDP requirements
/kdp-publishkdp-publishGuide 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 template
  • cran-reference.md — CRAN Repository Policy and submission checklist
  • joss-reference.md — JOSS requirements and reviewer checklist
  • joss-exemplars.md — Real JOSS R package paper examples
  • pypi-reference.md — PyPI publishing requirements and workflow
  • kdp-reference.md — Amazon KDP formatting, pricing, and submission guide

License

MIT

Discussion