home / skills / hikaruegashira / agent-skills / commit-push-pr-flow
This skill automates commit push and PR flow after task completion, creating a branch, opening a PR, and sharing diffs.
npx playbooks add skill hikaruegashira/agent-skills --skill commit-push-pr-flowReview the files below or copy the command above to add this skill to your agents.
---
name: commit-push-pr-flow
description: |
タスク完了後に自律的に実行する必要があるフロースキルです。
Trigger: task completed, ready to submit code
model: haiku
---
Commit, push, and open a pr
- create branch(if current branch in default) and pr
- following pr template
- description in japanese
- 提出後は gh pr view --web で差分を共有して完了してください
- 完了後 review-flow を呼び出します
This skill automates the final commit-push-PR workflow after a task is completed and code is ready to submit. It creates a branch when needed, populates the pull request using the repository template and a Japanese description, and triggers the next review flow once submission is done.
When a task reports completion, the skill checks the current branch and creates a new branch if you are on the default branch. It stages and commits changes, pushes the branch to the remote, and opens a pull request using the repository's PR template with a Japanese description. After creating the PR it opens the diff in the browser (gh pr view --web) and invokes the review-flow skill to continue the process.
What happens if I'm already on a feature branch?
The skill will use the current branch and proceed to commit, push, and open a PR without creating a new branch.
Is the PR description always written in Japanese?
Yes — this flow fills the PR description in Japanese per repository guidance, but you can edit it before finalizing the PR.
How is the diff shared after PR creation?
The skill runs gh pr view --web to open the PR diff in the default browser for immediate sharing.