home/claude/skills/pr-create/SKILL.md
Create a pull request with title and body based on commits
npx skillsauth add lambdalisue/dotfiles pr-createInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This command MUST only use these tools:
subagent_type: "pr-create") — all git/gh operations are delegated to the agentNEVER use Bash directly. All git operations (including read-only ones) are handled by the pr-create agent. This command is purely an orchestrator.
ABSOLUTELY NEVER run git push or any git write command — not directly, not through Bash, not under any circumstances.
Analyze — Use the Task tool (subagent_type: "pr-create") to analyze commits and draft PR content.
Approve — Present the PR draft to the user exactly as returned by the agent. Use AskUserQuestion to ask for approval with options: "Approve", "Edit" (let user modify), "Cancel".
Create — If approved, use the Task tool (subagent_type: "pr-create") to create the PR with the approved content. The prompt MUST include: "The branch is already pushed. Do NOT run git push." Present the PR URL to the user.
tools
Update the title and body of an existing pull request WITHOUT asking for approval
tools
Create a pull request with title and body based on commits WITHOUT asking for approval
tools
Create a Conventional Commit from already staged changes WITHOUT asking for approval
tools
Map staged changes to existing commits and create fixup commits for autosquash WITHOUT asking for approval