How this skill is triggered — by the user, by Claude, or both
Slash command
/git-toolbox:create-draft-prThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Automate Pull Request creation through Git change analysis for an efficient PR workflow.
Automate Pull Request creation through Git change analysis for an efficient PR workflow.
$ARGUMENTS contains --ja: Write PR title and description in Japanese# Verify current branch (must not be develop/main)
git branch --show-current
# Check for uncommitted changes
git status
# Follow naming convention: {type}/{subject}
git switch develop && git pull
git switch -c feat/feature-name
# List commits
git log --oneline develop..HEAD
# Review changes
git diff develop...HEAD --stat
git diff develop...HEAD
.github/PULL_REQUEST_TEMPLATE.md exists<!-- ... -->) as-is# Create Draft PR using GitHub CLI
# Pass --body via HEREDOC to preserve HTML comments
gh pr create --draft --base develop --title "Title" --body "$(cat <<'EOF'
PR body
EOF
)"
gh pr ready after CI passes<!-- ... --> intact--- and other structural elements{type}/{subject}
Types:
- feat/ ... New feature
- fix/ ... Bug fix
- refactor/ ... Refactoring (no functionality change)
- chore/ ... Build, CI, dependencies, maintenance
Examples:
- feat/user-profile
- fix/login-error
- refactor/api-client
- chore/update-dependencies
How to determine the prefix:
release/, prefer fix/{type}: {description}
Examples:
- feat: implement user authentication API
- fix: resolve login error
- docs: update README
.github/PULL_REQUEST_TEMPLATE.md if it existsGitHub CLI (gh pr edit) may auto-escape HTML comments. Countermeasures:
--body contentnpx claudepluginhub b4tchkn/claude-code-plugins --plugin git-toolboxCreates draft pull requests via GitHub CLI: gathers git context with status/logs/diffs, generates conventional commit titles, formats markdown bodies. Triggers on PR creation phrases.
Creates GitHub pull requests from branch changes using git analysis and gh CLI, with conventional commit titles and standardized templated descriptions including summary, changes, testing, and checklists.
Creates GitHub pull requests from the current branch, analyzes diffs, applies PR templates, and prompts for effort and testing details.