con un clic
commit-push-pr
Commit changes, push to remote, and create a PR in a single workflow.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Commit changes, push to remote, and create a PR in a single workflow.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Load a GitHub Issue, create a branch, and develop an implementation plan.
Read hachimoku JSONL output and respond to review feedback.
Review and respond to PR review comments.
Create a new worktree for an Issue.
Wait for PR CI checks to complete, then execute merge.
Ensure complete compliance with code quality standards. Use before commit, before PR creation, or when quality issues are detected.
| name | commit-push-pr |
| description | Commit changes, push to remote, and create a PR in a single workflow. |
変更のコミット、プッシュ、PR作成を一連で実行する。
/commit-push-pr
When the user invokes /commit-push-pr, use the bundled pr-creator agent to execute the complete workflow.
Use the Task tool to launch the pr-creator agent from .claude/agents/pr-creator.md:
Task tool with subagent_type: "pr-creator"
The agent will handle:
The agent automatically detects the base branch using:
BASE_BRANCH=$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name')
git remote set-head origin "$BASE_BRANCH"
This queries the GitHub API for the actual default branch and syncs the local reference.
Before creating the PR, verify that quality checks pass according to workflow-config.json:
cat .claude/workflow-config.json
If workflow.quality_gate_required is true, run the quality checks defined in quality.all before committing.
✅ コミット、プッシュ、PR作成が完了しました
コミット: {COMMIT_HASH} {COMMIT_MESSAGE}
PR: #{PR_NUMBER} - {PR_TITLE}
URL: {PR_URL}
✅ コミット、プッシュが完了しました(PR作成スキップ)
コミット: {COMMIT_HASH} {COMMIT_MESSAGE}
プッシュ: {BRANCH_NAME}
既存PR: #{PR_NUMBER}
| エラー | 対応 |
|---|---|
| 変更なし | ℹ️ コミットする変更がありません |
| プッシュ失敗 | 原因を表示(認証、ネットワーク等) |
| PR既存 | ℹ️ PRが既に存在するためPR作成をスキップし、commit + pushのみ実行しました |
| PR作成失敗 | 原因を表示(権限等) |
| 品質チェック失敗 | 失敗したチェックを表示、修正を促す |