ushironoko/dotfiles/create-pr

Claude Code and agent skill by ushironoko/dotfiles

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Create a pull request from current changes. Use when the user requests PR creation, pushing changes for review, or submitting work for code review.

Install

npx vskill@latest install ushironoko/dotfiles/create-pr

SKILL.md

Execution Flow

Phase 1: Assess Current State

Run in parallel:

bash
git status -u
git diff
git diff --cached
git log --oneline -5
git branch --show-current

If on main or master, create a feature branch first:

bash
git checkout -b <descriptive-branch-name>
Phase 2: Stage and Commit
  1. Stage relevant files by name (avoid git add -A to prevent accidental inclusion of sensitive files like .env):
bash
git add <file1> <file2> ...
  1. Analyze changes and create commit:
  • Follow the repository's existing commit message style
  • Focus on "why" not "what"
  • NEVER include private repo names, org names, client names, or internal tool names
Phase 3: Safety Verification

Before pushing, verify the target repository:

bash
gh repo view --json nameWithOwner,isFork,parent

Present to the user via AskUserQuestion:

  • Target repository: <owner/repo>
  • Branch: <source> → <target>
  • If fork: confirm PR targets the user's own repo, NOT upstream

Wait for explicit user approval before proceeding.

Phase 4: Push and Create PR
bash
git push -u origin <branch-name>

For forks, use -R <owner/repo> explicitly:

bash
gh pr create --title "<title>" --body "<body>"
  • Title: under 70 characters
  • Body: derive from diff context and commit history — adapt format to the nature of the changes
  • NEVER include private information in title or body
Phase 5: Report

Return the PR URL to the user.

Error Handling

SituationResponse
No changes to commitInform user, skip commit
On main/masterCreate feature branch first
Push rejectedCheck remote, suggest pull or ask user about force-push
Fork detectedUse gh pr create -R <owner/repo> to target user's repo
gh auth failureGuide user to run gh auth login

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
12
7-day trend score
18

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ushironoko/dotfiles/create-pr/badge)](https://verified-skill.com/skills/ushironoko/dotfiles/create-pr)

Something wrong with this skill or its page? Tell us.