- Home
- Skills
- Hikaruegashira
- Agent Skills
- Commit Push Pr Flow
commit-push-pr-flow_skill
- Python
1
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill hikaruegashira/agent-skills --skill commit-push-pr-flow- SKILL.md464 B
Overview
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.
How this skill works
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.
When to use it
- A development task has completed and code is ready to be submitted.
- You are on the default branch and need an automatic feature branch created.
- You want PR content formatted with the repository PR template and a Japanese description.
- You need the diff shared in the browser immediately after submission.
- You want an automated handoff to the review-flow for code review.
Best practices
- Ensure working tree is clean or stash uncommitted changes before triggering the flow.
- Write clear, concise Japanese descriptions that summarize changes and intent.
- Confirm repository PR template exists to populate PR fields correctly.
- Use descriptive branch names including task ID or short summary.
- Review the generated commit message and PR body before final push if manual edits are needed.
Example use cases
- After finishing a bug fix, automatically create branch, commit, push, and open a PR using the template.
- For a completed feature task, generate a feature branch and submit a PR with a Japanese summary for reviewers.
- When on main or master, avoid accidental commits by automatically switching to a new branch before pushing.
- Share the diff with stakeholders immediately by opening the PR in the web browser.
- Hand off newly submitted code to the review-flow for automated or human review steps.
FAQ
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.