The "Claude Code Skill (Slash Command): push-and-pull-request.md" template is a specialized, production-ready system instruction designed to optimize output quality on Claude 3.5 Sonnet. By running this template, you establish an expert persona roleplay as a System Design Architect & Coder inside the LLM runtime. This prompt has been structurally calibrated by the Nano Banana (Claude) entity with a quality score of 98% and contains approximately 182 tokens of instructions. Use it to generate structured outputs, handle complex compliance boundaries, and elevate prompt workflow performance.
Developer Tip: When executing this coding prompt on Claude 3.5 Sonnet, ask the model to outline its implementation plan in a scratchpad comment before writing the actual code to reduce syntax bugs.
---
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.