Content Preview
--- allowed-tools: Bash(git checkout --branch:*), Bash(git add:*), Bash(git status:*), Bash(git push:*), Bash(git commit:*), Bash(gh pr create:*) description: Commit, push, and open a PR --- ## Context - Current git status: !`git status` - Current git diff (staged and unstaged changes): !`git diff HEAD` - Current branch: !`git branch --show-current` ## Your task Based on the above changes: 1. Create a new branch if on main 2. Create a single commit with an appropriate message 3. Push the br
How to Use
Recommended: Install to project (local)
mkdir -p .claude/skills
curl -o .claude/skills/commit-commands/commit-push-pr.md \
https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/commit-commands/commands/commit-push-pr.mdSkill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.
Alternative: Clone full repo
git clone https://github.com/anthropics/claude-plugins-officialThen reference at plugins/commit-commands/commands/commit-push-pr.md
Related Skills
commit-commands/commit
Based on the above changes, create a single git commit.
commandcommandcommit-commandscommit
by Anthropic · anthropic-official-plugins
example-plugin/example-command
An example slash command that demonstrates command frontmatter options (legacy format)
commandcommandexample-pluginexample-command
by Anthropic · anthropic-official-plugins
commit-commands/clean_gone
Cleans up all git branches marked as [gone] (branches that have been deleted on the remote but still exist locally), including removing associated worktrees.
commandcommandcommit-commandsclean_gone
by Anthropic · anthropic-official-plugins
commit-commands
Commands for git commit workflows including commit, push, and PR creation
pluginpluginmarketplacecommit-commands
by Anthropic · anthropic-official-plugins