hadyfayed/laravel-agent/git-pr

Claude Code and agent skill by hadyfayed/laravel-agent

Trust tier 3
  • community
Source check pending

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

Create a well-formed pull request (title/body/labels) from the current branch via gh; manual invoke only.

Install

npx vskill@latest install hadyfayed/laravel-agent/git-pr

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as hadyfayed/laravel-agent/git-pr.

Current branch state

!git branch --show-current !git log origin/..HEAD --oneline 2>/dev/null || git log --oneline -5 !git diff origin/HEAD...HEAD --stat 2>/dev/null || git diff HEAD~3...HEAD --stat

Task

Create a pull request from the current branch to the base branch (default: main).

Input

  • --base=branch: Target branch (default: main)
  • --draft: Create as draft PR (blocks merge until marked ready)

Validation

  1. Check current branch is not main/develop:

``bash current=$(git branch --show-current) if [[ "$current" == "main" || "$current" == "develop" ]]; then echo "Cannot create PR from $current" exit 1 fi ``

  1. Verify no uncommitted changes:

``bash if [ -n "$(git status --porcelain)" ]; then echo "Uncommitted changes detected. Commit or stash first." exit 1 fi ``

Steps

  1. Push branch to remote (if needed):

``bash if git rev-parse --verify origin/$(git branch --show-current) >/dev/null 2>&1; then git push else git push -u origin $(git branch --show-current) fi ``

  1. Gather commit messages for PR title/body:

``bash base_branch=${BASE:-main} commits=$(git log $base_branch..HEAD --pretty=format:"%s" --no-merges | head -1) ``

  1. Create PR via gh:

``bash gh pr create \ --base "$base_branch" \ --title "$commits" \ ${DRAFT:+--draft} ``

  1. Show final status:

``bash gh pr view --json url,title,state ``

PR template guidance

If gh prompts for body text, follow this format:

markdown
## Summary
<One-sentence description of what this PR does>
## Changes
-<Commit 1 summary>
-<Commit 2 summary>
## Testing
<How to test / verification steps>
## Related
Closes #<ticket> (if applicable)

Security checks (pre-submit)

Before confirming PR creation, verify staged files do NOT contain:

  • Hardcoded credentials, API keys, or secrets
  • Debug helpers (dd(, dump(, console.log)
  • TODO comments that block merge

If any found, pause and do NOT create PR until issues are resolved.

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
13
Repository forks
1
7-day trend score
13

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/hadyfayed/laravel-agent/git-pr/badge)](https://verified-skill.com/skills/hadyfayed/laravel-agent/git-pr)

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