Skip to main content

⚙️ shipit-skill

CI PyPI Downloads License: MIT

Take an existing developer tool from "it works" to "published + listed + marketable" — one pass.

shipit-skill is an Agent Skill that runs the full launch pipeline for AI/developer tools (MCP servers, CLIs, libraries): engineering baseline → publish → directory listings → promo material. It was distilled from shipping wheel-hub, zspace-cli and media-manager-skill — every gotcha below is one that actually bit during those releases.

Install

Two ways to use it — as a CLI tool or as an Agent Skill:

A. CLI (via pip) — for running the pipeline commands yourself:

pip install shipit-skill
shipit-skill init ./my-tool --server my-tool --pkg my-tool   # scaffold CI/Dockerfile/promo
shipit-skill check-promo --dir promo --version 0.1.1 --prs 13600=open

B. Agent Skill — copy this folder into your project (or your agent's skills dir):

cp -r shipit-skill/ ~/your-project/.opencode/skills/shipit-skill   # opencode
# cp -r shipit-skill/ ~/your-project/skills/shipit-skill            # Claude Code, Cursor, etc.

What it does

Phase Exit criterion CLI
0. Recon gap report (CI? Docker? Release? listed? promo?)
1. Baseline CI green, metadata right, Dockerfile present shipit-skill ci, shipit-skill init
2. Publish on registry + GitHub Release + clean-env verified shipit-skill publish
3. Listings Glama live + awesome PR open shipit-skill check-glama, shipit-skill awesome-pr
4. Promo promo docs match reality shipit-skill check-promo

See SKILL.md for the full agent instructions and the automation boundary (what the agent runs vs. what needs a human/credential).

Example

examples/mcp-server-launch.md walks all four phases against a toy hello-mcp server — reproduce it locally to learn the pipeline before applying it to a real project.

shipit-skill demo

Automate releases (GitHub Action)

shipit-skill release --execute bumps, builds, tags, pushes, opens a GitHub Release, and publishes to PyPI in one shot (token from PYPI_TOKEN env). Hook it up as a manual GitHub Actions job:

# .github/workflows/release.yml
name: Release
on:
  workflow_dispatch:
    inputs:
      how: {type: choice, options: [patch, minor, major], default: patch}
jobs:
  release:
    runs-on: ubuntu-latest
    permissions: {contents: write}
    steps:
      - uses: actions/checkout@v4
        with: {fetch-depth: 0}
      - uses: actions/setup-python@v5
        with: {python-version: "3.12"}
      - run: pip install -e ".[dev]" build twine
      - run: shipit-skill release --lang python --pkg your-tool \
             --how ${{ inputs.how }} --repo owner/your-tool --execute
        env:
          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

Other one-shot commands with --execute: publish (real PyPI/NPM upload), bump --commit (bump + git commit), and awesome-pr --execute (opens the PR via gh). Everything else stays print-only until you pass --execute.

Development

pip install -e ".[dev]"
pytest -q          # 80 tests, coverage ≥ 85%
ruff check .       # lint
pyright            # type check (strict)

The scars (why this exists)

  • mcp>=1.0 + a new SDK → fresh installs crash. Set dependency floors.
  • Python 3.9 can't install mcp>=2.0 — split the CI matrix.
  • YAML block scalar + inline heredoc = broken workflow. Use a script file.
  • Glama introspection needs stdin held open (sleep 1) in smoke tests.
  • PyPI tokens start pypi-; UUID-style strings are wrong and 403.
  • npm typosquatting blocks similar names — scoped names dodge it.
  • Glama builds take minutes to hours — poll, don't panic.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shipit_skill-0.6.0.tar.gz (35.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shipit_skill-0.6.0-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file shipit_skill-0.6.0.tar.gz.

File metadata

  • Download URL: shipit_skill-0.6.0.tar.gz
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for shipit_skill-0.6.0.tar.gz
Algorithm Hash digest
SHA256 9961ae3b92ad35d5864df4d85ed03a0b64d596b49195883b27d37b54a53ac82b
MD5 2504d3d7b9b88dc7aea6a1b7f6c8eb9b
BLAKE2b-256 e9f5bf0bfb30bc1eae003f3337584646102ae06b1cfeb19d7f9c68b54bdb7897

See more details on using hashes here.

File details

Details for the file shipit_skill-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: shipit_skill-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 30.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for shipit_skill-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 842747681013417257f9193eb9dd6770fec9f96b66b6f234d57620756e7a4843
MD5 9b8fd2bbcd20116f603232cacec4d2bd
BLAKE2b-256 b301eb82321346c3b43664834937ec33dc4caadf550ad90e8ed6cf711e0462b0

See more details on using hashes here.

Release history Release notifications | RSS feed

0.8.0

2 files

0.7.0

2 files

This release

0.6.0 This release

2 files

0.5.0

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page