Skip to content
Skills Library
Programming · Automation

ship

/ship

Open a NEW PR after local fix-loop. USE WHEN ready to commit working tree + open a first-time PR, or when /go composite reaches ship phase. Runs mise run ci loop (max 5 iterations), then opens PR via gh CLI. NOT FOR updating an existing PR with CI fixes (use /review instead).

Repository
mazarbul ↗
Licence
Apache-2.0
Last repository change
31.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 31.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Open a NEW PR after local fix-loop. USE WHEN ready to commit working tree + open a first-time PR, or when /go composite reaches ship phase. Runs mise run ci loop (max 5 iterations), then opens PR via gh CLI. NOT FOR updating an existing PR with CI fixes (use /review instead).

Arguments

/ship [--no-pr] [branch-description]
Original author description

Open a NEW PR after local fix-loop. USE WHEN ready to commit working tree + open a first-time PR, or when /go composite reaches ship phase. Runs mise run ci loop (max 5 iterations), then opens PR via gh CLI. NOT FOR updating an existing PR with CI fixes (use /review instead).

How it works

  1. Steps
  2. Gotchas
Original SKILL.md headings · 92 lines, 447 words
SKILL.md preview
---
name: ship
description: Open a NEW PR after local fix-loop. USE WHEN ready to commit working tree + open a first-time PR, or when /go composite reaches ship phase. Runs mise run ci loop (max 5 iterations), then opens PR via gh CLI. NOT FOR updating an existing PR with CI fixes (use /review instead).
allowed-tools: Bash, Read, Write, Edit, Grep, Glob
argument-hint: [--no-pr] [branch-description]
---

Run a fix loop on the current working tree until `mise run ci` passes (or 5 iterations), then open a PR.

## Steps

**1. Baseline check**

Run `mise run ci` (fmt + lint-fast + test-short) and capture all output:

```bash
mise run ci 2>&1
```

If it passes on the first try, skip directly to step 4.

**2. Fix loop (max 5 iterations)**

For each iteration:
- Analyse the failure output carefully. Group errors by file/type.
- Fix all errors you can in this iteration (don't fix one error per loop).
- Re-run `mise run ci` to verify.
- If it passes: proceed to step 3.
- If it fails again and you've reached iteration 5: report what remains unfixed and stop , do not open a PR.

Rules during fixing:
- Never skip checks with `--no-verify` or `// nolint` unless the suppression is genuinely correct.
- Proto changes require `` before `mise run ci`.
- Web-only changes: also run `# (no frontend currently)`.
- If a test is broken because the test itself is wrong, fix the test. If the production code is wrong, fix it.
- Use `make fix` first to auto-fix formatting/import issues before tackling manual fixes.

**3. Commit any uncommitted changes**

If there are staged or unstaged changes after the fix loop:

```bash
git diff --stat
git status --short
```

Stage and commit all changes made during the fix loop with a conventional commit message. Use `git add` on specific files (not `git add -A`). Follow the format: `fix: <what-was-broken>` or `chore: fix lint and type errors`.

**4. Validate final state**

Run once more to confirm:
```bash
mise run ci 2>&1
```

If this fails: do not open a PR. Report the failure.

**5. Open PR**

Check if a PR already exists for this branch:
```bash
gh pr view --json url,number 2>/dev/null
```

If no PR exists, create one:
```bash
gh pr create \
  --title "<conventional-commit-title>" \
  --body "$(cat <<'EOF'
## Summary
<bullet points describing what changed>

## Test plan
- [ ] `mise run ci` passes
- [ ] Manually verified: <describe what to test>
EOF
)"
```

If a PR already exists, just report its URL , don't create a duplicate.

**6. Report**

Print:
- Number of fix iterations needed
- Final `mise run ci` result
- PR URL

---

**Do not push to `main` directly. Do not use `--no-verify`. Stop at iteration 5 if not converged.**

## Gotchas

Concrete pitfalls encountered when using this skill. Add new ones as you hit them , this is the compounding-engineering log (see `agent-docs/lessons.md` for the broader pattern).

- _(empty , add the first real entry the next time you hit a non-obvious pitfall)_

Versions

RepositoryScoreLicence
This page · mo-cmyk/mazarbul100Apache-2.0
rjmurillo/ai-agents100MIT
rjmurillo/ai-agents100MIT
namedtoaster/the-last-mile100MIT
rjmurillo/ai-agents100MIT
ericrisco/rsc-harness100MIT
zahidakhyar/skills100MIT
NolwennD/gabier100Apache-2.0
mgiovani/cc-arsenal100MIT

Database snapshot: 13.11.2026 · package version 88fc8fe240b1 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100ship-pr
    Run the checks, update the docs, commit and open the PR from the template. Run only when the user asks to ship.
  • 100dev-ship
    Use to ship a finished branch. Triggers include "ship", "push", "open PR", "ship it". Runs ALL test suites, pushes, opens or updates the pull request, and watches CI until it passes or fails. Never merges.
  • 100ship-it
    Use when asked to ship a completed change, commit and open a PR, or push changes and watch CI. Use babysit for monitoring an existing PR.
  • 100open-pr
    Opens a review-ready GitHub PR, then autopilot and code review loop to PASS (phase 3). Use when the user says make a pr, open pr, handle review, autopilot on PR N, fix CI, or gives a PR URL/number.
  • 100ship-it
    Take a PR from review to merged — run the repo's code-review skill on it in a loop (review, fix, re-review) until nothing is left to fix, applying ALL fixes on the PR branch, wait for CI green, then squash-merge. Use when asked to "ship it", "ship PR #N", or "review, fix and merge" a PR.
  • 100commit-pr
    Use when the user runs /commit-pr, says "commit and push", "open a PR", "ship this", asks to update an existing PR with new changes, or asks to resolve PR review comments in the NewsBlur repo. Commits, opens or updates the PR, pre-flights what CI runs, then stays on the PR until…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.