Loading...
Loading...
Commit changes and create a GitHub Pull Request. Used for requests such as "Commit and create a PR", "Commit my current work and create a pull request", "Push changes and create a PR". Handles a series of workflows including staging, commit message generation, branch creation, pushing, and PR creation. The PR body is written in Japanese.
npx skill4agent add nimiusrd/agent-skills commit-and-prgit status # Check untracked and changed files
git diff HEAD # Check all differences
git log --oneline -5 # Understand recent commit styles
git branch -r # Check for existence of remote branchesmainmastermainmasterfeat/add-loginfix/null-pointergit checkout -b <branch-name>git add -A.gitignoregit add <file1> <file2> ...git add -Agit commit -m "$(cat <<'EOF'
<Summary line>
<Additional context (optional)>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
EOF
)"git push -u origin <branch-name>\ncat > /tmp/pr_body.md << 'EOF'
## Background/Motivation
<Context on why this change was necessary>
## Overview
- <Change 1>
- <Change 2>
## Review Points
- <Specific areas to review or concerns>
## Test Procedures
- [ ] <Only items that cannot be automatically checked by CI and require manual verification>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
gh pr create --title "<Concise title (within 70 characters)>" --body-file /tmp/pr_body.md--body "..."\n--body-filemainmaster--no-verifygit status