commit-push-pr
Commit current changes, push to remote, and create or update a pull request.
Skill by dyoshikawa
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/dyoshikawa-commit-push-pr
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/commit-push-pr
What's inside
- Skill name
commit-push-pr- Description
- Commit current changes, push to remote, and create or update a pull request. Use when the user wants to commit and create a PR, push changes and open a pull request, or ship their current work as a PR.
- License
- MIT
- Instructions
- 63 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Commit, Push, and PR Management ## Step 1: Check Current Branch Run `git branch --show-current` to get the current branch name. If the current branch is `main` or `master`: 1. Generate a descriptive branch name based on the staged/unstaged changes 2. Create and switch to the new branch: `git checkout -b <new-branch-name>` ## Step 2: Stage and Commit Changes 1. Run `git status` to check for changes 2. If there are unstaged changes, stage them: `git add .` 3. Analyze the changes and create a meaningful commit message 4. Commit with: `git commit -m "<commit-message>"` ## Step 3: Push to Remote Push the branch to remote with upstream tracking: ```bash git push -u origin <branch-name> ``` ## Step 4: Handle Pull Request Check if a PR already exists for this branch: ```bash gh pr view --json number,title,body 2>/dev/null ``` ### If PR does NOT exist: Create a new PR: ```bash gh pr create --title "<title>" --body "<description>" ``` The PR description should include: - Summary of changes - Test plan (if applicable) ### If PR already exists: 1. Compare the current PR title and description with the actual changes 2. If updates are needed (e.g., scope of changes has expanded), update the PR using GitHub API: ```bash gh api repos/<owner>/<repo>/pulls/<pr-number> -X PATCH -f title="<new-title>" -f body="<new-description>" ``` Note: Use `gh api` instead of `gh pr edit` to avoid GraphQL deprecation warnings. 3. If no updates are needed, skip this step ## Step 5: Report Result Output the PR URL and a summary of actions taken.
From dyoshikawa/skills, MIT.
More from dyoshikawa/skills
- 0.565score
garbage-collect-memory
dyoshikawa
Garbage-collect the git-managed memory files under memories/: delete knowledge that no longer holds or is no longer needed, and merge duplicated entries into…
SkillAFreshness: AClaude Code +9 - 0.561score
batch-all-scrap-issues
dyoshikawa
Resolve every open maintainer-scrap issue one at a time: fact-check each with web research, close the ones that need no action, and run the `goal-pr` skill to…
SkillAFreshness: AClaude Code +9 - 0.561score
batch-all-issues
dyoshikawa
Resolve every open issue one at a time: fact-check each with web research, close the ones that need no action, and run the `goal-pr` skill to fix, review, and…
SkillAFreshness: AClaude Code +9 - 0.524score
create-scrap-issue
dyoshikawa
Create a GitHub issue that consolidates passed content into a single scrap issue with background context and solution details, labeled as maintainer-scrap.
SkillBFreshness: BClaude Code +9 - 0.524score
git-worktree-runner
dyoshikawa
Manages git worktrees using git-worktree-runner (gtr).
SkillBFreshness: BClaude Code +9 - 0.524score
goal-pr
dyoshikawa
Drive a pull request to a clean state and merge it: run the `review-pr` skill, fix every mid-or-above finding, and repeat until no mid-or-above findings…
SkillBFreshness: BClaude Code +9 - 0.524score
goal-release
dyoshikawa
Cut a release end to end: use the `draft-release` skill to open the release PR and draft GitHub release, wait for CI to turn green, run the `merge-pr` skill…
SkillBFreshness: BClaude Code +9 - 0.524score
draft-issue-to-external-repository
dyoshikawa
Draft a GitHub issue targeting a third-party repository (outside this project's owner).
SkillBFreshness: BClaude Code +9 - 0.524score
babysit-dependabot-pr
dyoshikawa
Babysit a Dependabot dependency-bump PR all the way to merge: verify the author is the genuine Dependabot bot, diagnose and resolve any CI failure (excluding…
SkillBFreshness: BClaude Code +9 - 0.524score
batch-review-prs-awaiting-maintainer
dyoshikawa
Batch-triage open pull requests: list PRs with prs-awaiting-maintainer, review each with review-pr, then post-review-comments when there are merge-blocker…
SkillBFreshness: BClaude Code +9 - 0.521score
create-issue-with-websearch
dyoshikawa
Create a GitHub issue from a vague idea by thoroughly researching the topic on the web to sharpen the specification before filing
SkillBFreshness: BClaude Code +9 - 0.518score
create-issue
dyoshikawa
Create a GitHub issue with detailed description, purpose, and appropriate labels
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Aug 23, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/dyoshikawa/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from dyoshikawa
- 0.565score
garbage-collect-memory
dyoshikawa
Garbage-collect the git-managed memory files under memories/: delete knowledge that no longer holds or is no longer needed, and merge duplicated entries into…
SkillAFreshness: AClaude Code +9 - 0.561score
batch-all-scrap-issues
dyoshikawa
Resolve every open maintainer-scrap issue one at a time: fact-check each with web research, close the ones that need no action, and run the `goal-pr` skill to…
SkillAFreshness: AClaude Code +9 - 0.561score
batch-all-issues
dyoshikawa
Resolve every open issue one at a time: fact-check each with web research, close the ones that need no action, and run the `goal-pr` skill to fix, review, and…
SkillAFreshness: AClaude Code +9 - 0.524score
git-worktree-runner
dyoshikawa
Manages git worktrees using git-worktree-runner (gtr).
SkillBFreshness: BClaude Code +9 - 0.524score
create-scrap-issue
dyoshikawa
Create a GitHub issue that consolidates passed content into a single scrap issue with background context and solution details, labeled as maintainer-scrap.
SkillBFreshness: BClaude Code +9 - 0.524score
goal-pr
dyoshikawa
Drive a pull request to a clean state and merge it: run the `review-pr` skill, fix every mid-or-above finding, and repeat until no mid-or-above findings…
SkillBFreshness: BClaude Code +9
Cite this page
commit-push-pr skill. Agent Mart. https://agentmart.dev/skills/dyoshikawa-commit-push-pr (last updated 2026-10-24)