How this skill is triggered — by the user, by Claude, or both
Slash command
/git:create (none — operates on the current branch)(none — operates on the current branch)This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Open a pull request for the current branch with a Conventional Commit title and a short, non-developer-friendly changelog body.
Open a pull request for the current branch with a Conventional Commit title and a short, non-developer-friendly changelog body.
gh CLI installed and authenticated. If gh auth status fails, stop and tell the user to run gh auth login.Read CLAUDE.md and AGENTS.md at the repo root if they exist. Absorb naming, tone, and commit conventions before drafting anything.
gh repo view --json defaultBranchRef -q .defaultBranchRef.name
If the call fails, fall back to main. Store the result as <base>.
Run these together:
git branch --show-currentgit log <base>..HEAD --onelinegit diff <base>...HEAD --statgit status --porcelaingit status --porcelain is non-empty, warn about uncommitted changes and ask via AskUserQuestion:
git log <base>..HEAD is empty, stop with: No commits ahead of <base>; nothing to create a PR for.Infer from commit messages and the diff. See reference/type-scope-mapping.md for the full list. Quick map:
feat — new functionalityfix — bug fixrefactor — internal restructure without behavior changechore — tooling, CI, deps, version bumpsdocs — documentation onlytest — test-only changesstyle — formatting onlyDerive from the directory prefix of the changed files:
See reference/type-scope-mapping.md for worked examples.
Format: type(scope): description or type: description.
add, fix, update — not added, fixes)Fill in the skeleton in template.md; apply the wording rules in reference/pr-body-rules.md. The Summary is written for a non-developer audience:
Show the drafted title and body via AskUserQuestion. Options:
Push the current branch (never main, master, or <base>):
git push -u origin HEAD
Create the PR:
gh pr create --base <base> --title "<title>" --body "$(cat <<'EOF'
## Summary
- bullet 1
- bullet 2
EOF
)"
Output the resulting PR URL and title.
Co-authored-by lines.main, master, or the resolved default branch — push only the current feature branch.npx claudepluginhub shoto290/shoto --plugin gitGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.