Claude Code Skill (Slash Command): push-and-pull-request.md Prompt
Join Our WhatsApp Channel for Latest UpdatesThis is a ready-to-use Claude Code Skill (Slash Command): push-and-pull-request.md Prompt for Claude. Copy the prompt below, paste it into your AI tool and adjust it to your needs.
---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*), Bash(git push:*), Bash(gh pr create:*)
description: Commit and push everything then open a PR request to main
---
## Context
- Current git status: !`git status`
- Current git diff (staged and unstaged changes): !`git diff HEAD`
- Current branch: !`git branch --show-current`
- Recent commits: !`git log --oneline -10`
## Your task
1. 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.
2. Push all commits.
3. Open a PR to main following the conventional formats.How to use this prompt
- Copy the full prompt and paste it into a new chat.
- Add your own details after the prompt, if needed.
- Ask follow-up questions to refine the result.