本文へ移動
cccskills
無料GitHub で公開

release-please-setup

Scaffold or migrate a repository onto release-please. Generates release-please-config.json, .release-please-manifest.json, and a release-please.yml workflow, plus an opt-in menu of tag-keyed deploy/publish templates (Docker/ECR matrix, frontend host deploy, npm OIDC publish, GitHub Release asset, Fly.io deploy, generic). Supports monorepo (mutual exclude-paths matrix), single-package, and mixed-language (node/simple/python) repos. Use when user runs /release-please-setup, mentions "release please", "set up release please", "automate releases", "conventional-commit releases", "monorepo release automation", or "migrate to release-please".

インストール方法を見る

含まれるファイル(20)

  • SKILL.md4.4 KB
  • CONTRACT.md6.0 KB
  • EXAMPLES.md7.0 KB
  • scripts/discover_packages.py3.2 KB
  • scripts/generate_config.py2.1 KB
  • scripts/release_please_setup.py3.5 KB
  • scripts/seed_manifest.py908 B
  • scripts/tests/test_discover_packages.py3.0 KB
  • scripts/tests/test_generate_config.py2.4 KB
  • scripts/tests/test_orchestrator.py1.6 KB
  • scripts/tests/test_seed_manifest.py1.3 KB
  • templates/deploy-docker-matrix.yml2.8 KB
  • templates/deploy-fly.yml1.8 KB
  • templates/deploy-frontend-host.yml4.9 KB
  • templates/deploy-generic.yml1.0 KB
  • templates/publish-npm-oidc.yml2.0 KB
  • templates/release-asset.yml2.1 KB
  • templates/release-please.yml852 B
  • TROUBLESHOOTING.md6.8 KB
  • WORKFLOW.md6.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Release-Please Setup

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/.

Two modes

ModeWhen to use
Greenfield (default)New repo with no prior tags. All packages start at 0.0.0 (or --initial <ver>).
--migrateExisting repo with hand-maintained <component>-v* tags. Manifest is seeded from detected file versions; existing deploy workflows keep working unchanged.

Quick start

# 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:

  1. Copy templates/release-please.yml into .github/workflows/.
  2. Set the REPO_TOKEN secret — see CONTRACT.md. ⚠️ GITHUB_TOKEN-created tags do not trigger other workflows; a PAT is required for deploy templates to fire.
  3. Pick a deploy template (optional).

Deploy template menu

TemplateUse for
deploy-fly.ymlFly.io app deploy
publish-npm-oidc.ymlnpm Trusted Publishing (OIDC, no token)
release-asset.ymlBuild artifact → GitHub Release (e.g. .vsix, .zip)
deploy-docker-matrix.ymlDocker image → Amazon ECR / any registry
deploy-frontend-host.ymlGated frontend deploy (Amplify, Vercel, Netlify)
deploy-generic.ymlAny build + deploy command
NoneRelease-please only — add deploy later

Fill all __TOKEN__ placeholders before committing; see WORKFLOW.md for the complete placeholder reference table.

Output structure

<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>.

Common issues

  • Release PR not created — check commits follow Conventional Commits, you are on the default branch, and the workflow has contents: write + pull-requests: write permissions.
  • Deploy didn't fire — the REPO_TOKEN gotcha; see CONTRACT.md and TROUBLESHOOTING.md.
  • Wrong version after migration — discovery missed the version; edit .release-please-manifest.json manually.

References

  • WORKFLOW.md — Greenfield and migration runbooks + placeholder reference table
  • EXAMPLES.md — Three worked examples (acme monorepo, papia-studio migration, single-package)
  • CONTRACT.md — Tag format, REPO_TOKEN gotcha, job outputs, trigger variants
  • TROUBLESHOOTING.md — Error reference

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

adr

無料

Create, review, and manage Architecture Decision Records (ADRs) with auto-numbering, template detection, quality review, and index maintenance. Use when user mentions "ADR", "architecture decision", "document this decision", "create ADR", "review ADR", editing ADR files (docs/adr/, doc/adr/, .adr/), or discussing architectural choices and tradeoffs.

日本語の概要は準備中です。原文の説明を表示しています。

joaquimscosta/arkhe-claude-plugins212026年8月14日 更新

architect

無料

Analyze system architecture, module structure, API contracts, data models, and code patterns. Use when designing systems, reviewing module boundaries, evaluating API designs, analyzing data models, checking pattern conformance, tracing decisions, or reviewing frontend architecture. Triggers: "architecture", "module design", "API design", "data model", "boundaries", "patterns", "decisions", "frontend architecture".

日本語の概要は準備中です。原文の説明を表示しています。

joaquimscosta/arkhe-claude-plugins212026年8月14日 更新

Converts natural-language descriptions or UI spec files into optimized Google Stitch prompts. Use when creating, refining, or validating design directives for Google Stitch. Use when user says "create a Stitch prompt", "optimize this for Stitch", "convert this spec to a Stitch prompt", "write a UI prompt", or mentions Google Stitch prompt authoring. Follows Stitch best practices with short, directive prompts focused on screens, structure, and visual hierarchy.

日本語の概要は準備中です。原文の説明を表示しています。

joaquimscosta/arkhe-claude-plugins212026年8月14日 更新

Zero-dependency live-preview server providing an agent↔browser bidirectional companion. Watches a content directory, wraps HTML fragments in a frame template, broadcasts live-reload over WebSocket, and captures browser-side click events to a JSONL file. Use when an agent needs to show HTML to the user in a browser and react to clicks — mockups, design exploration, gallery browsing, multi-select choices, prototype iteration. Triggered by "live preview", "browser companion", "preview server", "browser mockup", "show in browser", "arkhe-preview", or any skill that wants to write HTML fragments and have the user see them reload in real time.

日本語の概要は準備中です。原文の説明を表示しています。

joaquimscosta/arkhe-claude-plugins212026年8月14日 更新

Deletes 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.

日本語の概要は準備中です。原文の説明を表示しています。

joaquimscosta/arkhe-claude-plugins212026年8月14日 更新

Interactive Claude Code environment setup wizard. Detects existing configuration, guides through best-practice setup for Global CLAUDE.md, project scaffolding, MCP servers, hooks, custom agents, keybindings, and settings. Use when user runs /devtools:code-env-setup, mentions "setup claude code", "configure claude", "claude code setup", "environment setup", or "initialize claude code".

日本語の概要は準備中です。原文の説明を表示しています。

joaquimscosta/arkhe-claude-plugins212026年8月14日 更新

joaquimscosta のスキルをすべて見る

このスキルの問題を報告する