prompts.chatprompts.chatprompts.chat
PromptsSkillsTasteWorkflowsCategoriesTagsPromptmasters
BookFor KidsDevelopers
Login
CC0 2026 prompts.chat
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub

Claude Code Skill (Slash Command): push-and-pull-request.md

A Claude Code skill (slash command) to open a PR after committing all outstanding changes and pushing them.

D
@d
4 days agoMarch 11, 2026 at 10:06 PM
Agent Skill

Content

1---
2allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*), Bash(git push:*), Bash(gh pr create:*)
3description: Commit and push everything then open a PR request to main
4---
5
6## Context
7
8- Current git status: !`git status`
9- Current git diff (staged and unstaged changes): !`git diff HEAD`
10- Current branch: !`git branch --show-current`
11- Recent commits: !`git log --oneline -10`
12
13## Your task
14
151. Review the existing changes and then create a git commit following the conventional commit format. If you think there are more than one distinct change you can create multiple commits. If there are no outstanding changes proceed to 2.
162. Push all commits.
173. Open a PR to main following the conventional formats.

Comments (0)