ship

Automate PR preparation with pre-flight checks, test execution, and diff review.

15|5|Updated May 17, 2026
One-click install
npx skills add https://github.com/cropsgg/skills --skill ship-cropsgg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ship
Source: https://github.com/cropsgg/skills/tree/main/skills/engineering/ship
Command: npx skills add https://github.com/cropsgg/skills --skill ship-cropsgg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the end-to-end PR preparation workflow, ensuring that code changes are reviewable and ready for review by validating tests, diffs, and commit hygiene.

Core Features & Use Cases

  • Pre-flight checks and branch hygiene.
  • Sync base branch and resolve conflicts safely.
  • Verify tests, lint, and type checks before shipping.
  • Review diff to ensure scope and absence of secrets.
  • Push changes and open a PR with a clear summary and test plan.

Quick Start

Run the pre-flight, sync the base, verify tests, review the diff, commit changes, and push to open a PR.

Frequently Asked Questions about ship

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate pull request preparation and ensure my code is ready for review?

Automating pull request preparation involves running pre-flight checks, synchronizing the base branch, verifying tests, reviewing the diff, and cleaning commits before pushing. This ensures code changes are reviewable and confidently ready for review.

What steps are required to sync my feature branch and run tests before opening a PR?

To sync a feature branch and run tests before opening a PR, execute deterministic steps: check pre-flight status, sync the base branch to resolve conflicts, run test and lint execution, review the diff, and push changes.

How does commit hygiene and diff scoping prevent bad pull requests?

Commit hygiene and diff scoping prevent bad pull requests by reviewing diffs to ensure changes are properly scoped and free of secrets, while enforcing clean commits to avoid empty or disorganized history before PR creation.

Can I use this PR preflight workflow for bug fixes and small improvements in CI-enabled projects?

Yes, you can use this PR preflight workflow for bug fixes and small improvements across CI-enabled software projects. It guides users from pre-flight to PR creation, validating tests and diffs for any code change.

What safeguards are enforced during git push and commit operations?

Safeguards enforced during git push and commit operations include protections against force-pushes and empty commits. These deterministic steps ensure branch hygiene and prevent accidental history overwrites during PR preparation.