Handles the end-to-end pull request process from creation to merge, including CI and quality checks.
Install
mkdir -p .claude/skills/ship-paloaltonetworks && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17347" && unzip -o skill.zip -d .claude/skills/ship-paloaltonetworks && rm skill.zipInstalls to .claude/skills/ship-paloaltonetworks
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Ship current branch — CI, SonarCloud, code review, security review, fix all issues, merge. Assumes code is already committed and pushed.Key capabilities
- →Create a pull request for the current branch
- →Monitor CI workflow runs for success or failure
- →Check SonarCloud quality gates and issues
- →Perform code reviews and fix identified issues
- →Perform security reviews and fix identified issues
- →Merge the `dev` branch into the current branch
How it works
The skill automates the process of creating a pull request, monitoring CI and SonarCloud, and performing code and security reviews.
Inputs & outputs
When to use ship
- →Create and merge a PR
- →Monitor CI workflow success
- →Verify SonarCloud quality gate
About this skill
Ship Current Branch
Assumes code is already committed and pushed. Handles: PR creation, CI monitoring, SonarCloud, code review, security review, fixing all issues, and merging.
IMPORTANT: NEVER include Co-Authored-By trailers, agent marketing footers, or any Claude/AI branding in commit messages, PR descriptions, or any other artifacts.
Phase 1: Create PR
- Determine the current branch:
git branch --show-current - Check if a PR already exists:
gh pr list --head <branch> --json number,url - If no PR exists, create one:
gh pr create --base dev --title "<concise title>" --body "<description>" - Note the PR number.
Phase 2: CI Monitor
- Find the latest workflow run:
gh run list --branch <branch> --limit 1 --json status,conclusion,databaseId - If the run is in progress, watch it:
gh run watch <id> - If it failed:
- Get failed logs:
gh run view <id> --log-failed - Diagnose and fix the issue.
git add,git commit,git push.- Go back to step 1.
- Get failed logs:
- If it succeeded, proceed.
Phase 3: SonarCloud Check
- Wait 60 seconds for SonarCloud analysis to propagate.
- Use
get_project_quality_gate_statuswith project keyKeplerOps_Ground-Controlto check the quality gate. - Use
search_sonar_issues_in_projectsto find new issues on the current branch. - If issues found:
- Fix them.
git add,git commit,git push.- Re-run Phase 2.
- If clean, proceed.
Phase 4: Code Review
CRITICAL: You MUST use the Skill tool to invoke the built-in review skill.
- Merge dev into the current branch:
git fetch origin dev && git merge origin/dev - If there are merge conflicts, resolve them, commit, and push.
- Call the Skill tool with
skill="review"to invoke the real built-in code review. - After the review completes, fix ALL issues it identified.
- Do NOT defer ANY issues.
- Do NOT categorize issues as "low priority" to avoid work.
- You are an LLM. You have no time constraints. Fix everything.
- The ONLY reason to stop and escalate to the user is if a fix requires a significant architectural change touching 5+ files outside the current feature scope.
- After fixing, re-read all findings and confirm each one was addressed.
Phase 5: Security Review
CRITICAL: You MUST use the Skill tool to invoke the built-in security-review skill.
- Call the Skill tool with
skill="security-review"to invoke the real built-in security review. - After the review completes, fix ALL issues it identified.
- Same rules as Phase 4: fix everything, defer nothing.
- After fixing, confirm all findings were addressed.
Phase 6: Final Commit & CI
If ANY fixes were made in Phases 4-5:
git addall changed files.git commit -m "Fix code review and security review findings"git push- Re-run Phase 2 (CI Monitor).
- Re-run Phase 3 (SonarCloud).
Phase 7: Report (DO NOT MERGE)
You MUST NOT merge the PR. You MUST NOT run gh pr merge. The user reviews and merges.
- Summary of all changes made during the ship process
- Review findings and what was fixed
- Security review findings and what was fixed
- Confirmation: CI green, SonarCloud passed, PR ready for user review
- PR URL
When not to use it
- →When the code is not yet committed and pushed
- →When the user wants to merge the PR themselves
Limitations
- →The skill assumes code is already committed and pushed
- →The skill does not merge the pull request; the user must review and merge
How it compares
This skill automates the entire PR preparation workflow, including reviews and issue fixing, unlike manually performing each step.
Compared to similar skills
ship side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| ship (this skill) | 0 | 23d | No flags | Intermediate |
| fix-pr | 1 | 4mo | Review | Intermediate |
| resolve-checks | 1 | 5mo | Review | Intermediate |
| agent-github-pr-manager | 1 | 5mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
fix-pr
AztecProtocol
Fix a failing PR by analyzing CI logs and fixing errors. Autonomous workflow that identifies failures, rebases, fixes issues, and pushes.
resolve-checks
flowglad
Resolve all failing CI checks and address PR review feedback on the current branch's PR. Runs tests locally, fixes failures, incorporates valid review comments, and resolves addressed feedback. Use when CI is red, after receiving PR feedback, or before merging.
agent-github-pr-manager
ruvnet
Agent skill for github-pr-manager - invoke with $agent-github-pr-manager
agent-github-modes
ruvnet
Agent skill for github-modes - invoke with $agent-github-modes
agent-pr-manager
ruvnet
Agent skill for pr-manager - invoke with $agent-pr-manager
git-pr-workflows-git-workflow
sickn33
Orchestrate a comprehensive git workflow from code review through PR creation, leveraging specialized agents for quality assurance, testing, and deployment readiness. This workflow implements modern g