Automated summary
Orchestrates an already pushed branch into a review-ready pull request: creates the PR, monitors CI, checks SonarCloud, runs code and security reviews, fixes the findings, then reports.
Strengths
- Lays out seven explicit phases from PR creation to final CI verification
- Automatically re-runs CI and SonarCloud after each round of fixes
- Requires every review finding to be fixed rather than deferred
- Explicitly forbids merging so the user keeps the final decision
Limitations
- Assumes code is already committed and pushed, and that the base branch is dev
- Heavily tied to GitHub tooling (gh), the built-in review and security-review skills, and one specific SonarCloud project
- Hardcodes a SonarCloud project key (KeplerOps_Ground-Control) that must be adapted
Use it when a branch is already pushed and you want it driven through CI, SonarCloud, code review and security review up to a verified PR.
Avoid it on repositories without GitHub Actions, SonarCloud, or the built-in review and security-review skills, or when you expect the agent to merge the PR itself.
Security analysis
CautionThe skill orchestrates a legitimate development workflow using git, GitHub CLI, and CI monitoring. It does not include destructive commands, data exfiltration, or obfuscated payloads, but it does perform powerful repository-mutating actions (push, merge) automatically, so caution is warranted.
- •Uses git and gh CLI to create PRs, push commits, and merge branches, which can modify remote repositories.
- •Automatically commits and pushes fixes without explicit user confirmation, though this is within a standard CI/fix workflow.
Examples
Ship the current branch: open a PR against dev, watch CI, fix any SonarCloud issues, run the code and security reviews, fix everything they find, and report the PR URL — do not merge.Run the ship workflow on my current branch. If CI fails, read the failed logs, fix the problem, push and re-run until it is green, then proceed with the reviews.Use the ship skill to get this branch ready for review: green CI, passing SonarCloud quality gate, and all code review and security review findings fixed.name: ship description: Ship current branch — CI, SonarCloud, code review, security review, fix all issues, merge. Assumes code is already committed and pushed. disable-model-invocation: true
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
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/ship-current-branch-mrwak9ce/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/ship-current-branch-mrwak9ce' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/ship-current-branch-mrwak9ce/download' --output '.skill-downloads/ship-current-branch-mrwak9ce/SKILL.md.part' && mv '.skill-downloads/ship-current-branch-mrwak9ce/SKILL.md.part' '.skill-downloads/ship-current-branch-mrwak9ce/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/ship-current-branch-mrwak9ce/SKILL.md' && test -s '.skill-downloads/ship-current-branch-mrwak9ce/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/ship' && cp -R '.skill-downloads/ship-current-branch-mrwak9ce' '.claude/skills/ship'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/ship-current-branch-mrwak9ce'openskills read 'ship-current-branch-mrwak9ce'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/ship-current-branch-mrwak9ce/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Configure a Chat Channel with SecretRefs
DevOps
Set up chat channels using non-interactive commands, with secrets only as SecretRefs. Covers gather, mutate, repair, and prove steps for reliable delivery.
Investigate ClickHouse CI Failures
DevOps
Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL. Fetches failed tests, classifies flaky vs real regression, and checks for existing issues/fixes.
Ansible PR Review
DevOps
Reviews an Ansible PR following the project's standardized process, including changelog checks, test coverage validation, and feedback tracking.