Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates a GitHub PR description from the current branch's changes against the default branch using the gh CLI.
28% 44%+16 ptsof test cases passed
Passed 11 of 25 test cases with the skill, and 7 of 25 without it.
3 of 3 safety checks passed
Not used yet
which gh 2>/dev/null || echo "not installed"If the gh CLI is not found:
git branch --show-current 2>/dev/null || echo unknowngit symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null || echo unknowngit log origin/HEAD..HEAD --oneline 2>/dev/null || echo unknowngit diff origin/HEAD...HEAD --stat 2>/dev/null || echo unknowngit diff origin/HEAD...HEAD 2>/dev/null || echo unknownbash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh" 2>/dev/null || echo "$HOME/.claude"cat .han/config.md 2>/dev/null || echo ""As your first action, use the Read tool on .han/config.md inside the personal config directory path above. A read
that returns no file is no personal configuration: continue silently. When that file or the project .han/config.md
probe supplies content, apply it per config-rule.md, which governs precedence
between the two files, relative-path resolution, and what to do with a file that reads but cannot be used.
Before generating a PR description, verify the branch has content to describe:
If default branch is empty or unknown — origin/HEAD is not set. Use AskUserQuestion to ask the user for
the default branch name (e.g., main, master, develop). Use that branch as the base for all git commands in
subsequent steps, and recompute branch summary, branch stats, and branch changes against it — their Project
Context values may read unknown because they were derived from the unset origin/HEAD.
If branch summary is empty — there are no commits on this branch relative to the default branch. Inform the
user and stop.
If branch stats is empty — there are no file changes despite having commits (e.g., empty commits or fully
reverted changes). Inform the user and stop.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.