/git:release-please-setup runs instead · from git
Scaffolds release-please automation for repos: generates config, manifest, and workflow files. Supports monorepo, single-package, and migration from existing tags. Includes opt-in deploy/publish templates for Docker, npm, Fly.io, frontend hosts, and more.
This skill never runs in Claude Code
It ships in git at skills/, but /git:release-please-setup (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Scaffold or migrate a repository onto release-please. The skill generates release-please-config.json and .release-please-manifest.json from a monorepo package scan, then guides you through wiring the release-please.yml workflow and optionally an opt-in deploy/publish template from the six provided in templates/.
| Mode | When to use |
|---|---|
| Greenfield (default) | New repo with no prior tags. All packages start at 0.0.0 (or --initial <ver>). |
--migrate | Existing repo with hand-maintained <component>-v* tags. Manifest is seeded from detected file versions; existing deploy workflows keep working unchanged. |
# SCRIPTS = absolute path to this skill's scripts/ directory
# Always dry-run first — no files are written
python3 SCRIPTS/release_please_setup.py --root . --dry-run # greenfield
python3 SCRIPTS/release_please_setup.py --root . --migrate --dry-run # migrate
python3 SCRIPTS/release_please_setup.py --root . --migrate # write files
CLI flags: --root (repo root), --globs (comma-separated package globs; default packages/*,backend/*,frontend/*), --migrate (migration mode), --single (force single-package config), --initial (starting version; default 0.0.0), --dry-run (print output, no writes), --out-dir (write location; default --root).
Then:
templates/release-please.yml into .github/workflows/.REPO_TOKEN secret — see CONTRACT.md. ⚠️ GITHUB_TOKEN-created tags do not trigger other workflows; a PAT is required for deploy templates to fire.| Template | Use for |
|---|---|
deploy-fly.yml | Fly.io app deploy |
publish-npm-oidc.yml | npm Trusted Publishing (OIDC, no token) |
release-asset.yml | Build artifact → GitHub Release (e.g. .vsix, .zip) |
deploy-docker-matrix.yml | Docker image → Amazon ECR / any registry |
deploy-frontend-host.yml | Gated frontend deploy (Amplify, Vercel, Netlify) |
deploy-generic.yml | Any build + deploy command |
| None | Release-please only — add deploy later |
Fill all __TOKEN__ placeholders before committing; see WORKFLOW.md for the complete placeholder reference table.
<repo-root>/
├── release-please-config.json ← written by the script
├── .release-please-manifest.json ← written by the script
└── .github/workflows/
├── release-please.yml ← copy from templates/
└── deploy-<component>.yml ← copy from templates/ (optional)
Monorepo: each package gets include-component-in-tag: true, tag-separator: "-", and a mutual exclude-paths matrix (tags like user-service-v1.2.0). Single-package: minimal config, tags are v<semver>.
contents: write + pull-requests: write permissions..release-please-manifest.json manually.CONTRACT.md (opens in a new tab)EXAMPLES.md (opens in a new tab)TROUBLESHOOTING.md (opens in a new tab)WORKFLOW.md (opens in a new tab)scripts/discover_packages.py (opens in a new tab)scripts/generate_config.py (opens in a new tab)scripts/release_please_setup.py (opens in a new tab)scripts/seed_manifest.py (opens in a new tab)scripts/tests/test_discover_packages.py (opens in a new tab)scripts/tests/test_generate_config.py (opens in a new tab)scripts/tests/test_orchestrator.py (opens in a new tab)scripts/tests/test_seed_manifest.py (opens in a new tab)templates/deploy-docker-matrix.yml (opens in a new tab)templates/deploy-fly.yml (opens in a new tab)templates/deploy-frontend-host.yml (opens in a new tab)templates/deploy-generic.yml (opens in a new tab)templates/publish-npm-oidc.yml (opens in a new tab)templates/release-asset.yml (opens in a new tab)templates/release-please.yml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 skills in this plugin
/cleaning-up-branchesDeletes merged git branches (local and remote) and flags stale unmerged branches for manual review. Use when user mentions "cleanup branches", "delete merged branches", "prune old branches", "remove stale branches", "branch cleanup", or runs /cleanup-branches command./creating-branchCreates feature branches with optimized short naming, auto-incrementing, and commit type detection (feat/fix/refactor). Supports manual descriptions and auto-generation from uncommitted git changes. Use when user requests to create branch, start new branch, make branch, checkout new branch, switch branch, new task, start working on, begin work on feature, begin feature, create feature branch, run /create-branch command, or mentions "branch", "feature", "new feature", "feat", "fix", or "checkout"./npx claudepluginhub joaquimscosta/arkhe-claude-plugins --plugin gitOther plugins' skills for the same job