From git
Generate a GitHub Actions workflow that auto-approves and auto-merges PRs with the `claude-auto` label using a GitHub App token. Use this skill when the user wants to set up auto-merge for Claude-created PRs, add automatic PR merging, configure auto-merge workflows, or says things like "auto-mergeを設定して", "自動マージのワークフローを追加", "claude-autoラベルで自動マージしたい", "PRを自動でマージする仕組みがほしい".
npx claudepluginhub tqer39/claude-code-marketplace --plugin gitThis skill uses the workspace's default tool permissions.
`claude-auto` ラベルが付いた PR を GitHub App トークンで自動承認・自動マージする GitHub Actions ワークフローを生成する。
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
claude-auto ラベルが付いた PR を GitHub App トークンで自動承認・自動マージする GitHub Actions ワークフローを生成する。
以下をユーザーに確認すること。満たしていない場合は設定方法を案内する。
contents: write と pull-requests: write 権限を持つ GitHub App が必要。GHA_APP_ID — GitHub App の App IDGHA_APP_PRIVATE_KEY — GitHub App の秘密鍵ls .github/workflows/auto-merge.yml 2>/dev/null
ファイルが存在する場合はユーザーに上書きするか確認する。
mkdir -p .github/workflows
references/workflow-template.yml の内容を .github/workflows/auto-merge.yml として書き出す。
claude-auto ラベルの作成リポジトリに claude-auto ラベルが存在するか確認し、なければ作成する。
gh label list --search "claude-auto" --json name --jq '.[].name' | grep -q "^claude-auto$" \
|| gh label create "claude-auto" --description "Claude による自動マージ対象" --color "6f42c1"
以下を表示する:
GHA_APP_ID, GHA_APP_PRIVATE_KEY)が設定済みか確認するよう案内claude-auto ラベルを付けると自動で approve → squash merge されるデフォルトは --squash を使用する。ユーザーが別のマージ戦略(--merge, --rebase)を希望した場合はテンプレートを変更して対応する。
GITHUB_TOKEN を approve に使用しない(PR 作成者と同一のため approve できない)--force や --admin フラグでブランチ保護を迂回しない