Skip to content
Back to skills

Deliver

ASecurity

Take finished work from the working tree to shipped in one move: commit it, bring the branch up to date, push, and, when the project ships through pull requests, open the PR and see it through the first review round. Use whenever the user wants to "ship", "ship it", "deliver", "open a PR", "raise a PR", "create a pull request", "commit and push this", "get this reviewed", "it's ready for review", or invokes `/deliver` (optionally with `--base <branch>`). Reach for it the moment the user says ...

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 26, 2026
ai-agentsgogit

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add artberri/skills --skill deliver --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deliver?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deliver
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/artberri-deliver/badge)](https://www.skillsdirectory.com/skills/artberri-deliver)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deliver
description: >-
  Take finished work from the working tree to shipped in one move: commit it, bring the branch up to date, push, and,
  when the project ships through pull requests, open the PR and see it through the first review round. Use whenever the
  user wants to "ship", "ship it", "deliver", "open a PR", "raise a PR", "create a pull request", "commit and push this",
  "get this reviewed", "it's ready for review", or invokes `/deliver` (optionally with `--base <branch>`). Reach for it
  the moment the user says a chunk of work is finished or ready for review, before looking at the changes yourself: it
  reads the state itself.
argument-hint: "[--base <branch>]"
metadata:
  internal: true
  template-revision: "8"
  former-names: ship
---

# Deliver

Gets finished work shipped with as little ceremony as possible: the safe, conventional choices (branch name, what to commit, commit message, PR title and body) are made automatically, so the user goes from a dirty working tree to a shipped change in one invocation.

**Operating principle:** decide and act, don't interrogate. Stop and ask only for the judgment calls the user must own: a secret inside the change, files that look unrelated to the change, a rebase conflict, a check that fails for a reason the change didn't cause or that you couldn't fix, or a review finding that needs a product decision.

<!-- CUSTOMIZE: how this project ships. Keep one of the two variants, "pull requests" or "main branch", in this paragraph and in steps 2, 4, 5, 6, 7 and 8, and delete the other. Set the base branch to the remote's default branch (`git remote show origin`). -->
This project ships **through pull requests** against `main`. `deliver` accepts `--base <branch>` to target another base. (Main-branch variant: this project ships **by committing straight to `main`**: no feature branches, no pull requests.)

## Step 1: Read the current state

```sh
git branch --show-current
git status --short --branch
git log --oneline -5
```

If the tree is clean and nothing is unpushed, the work is already shipped, or there is none: go to the edge cases at the end instead of the steps below.

## Step 2: Branch

**Pull requests.** Never commit work onto the base branch. On a feature branch, stay on it: never switch, never create a duplicate. On the base branch, create a feature branch before committing anything, with `git switch -c <name>`, without asking.

<!-- CUSTOMIZE: branch naming and ticket references. Look at remote branch names (`git branch -r`), merged PR titles (`gh pr list --state merged --limit 30`) and commit subjects for a ticket pattern (`ABC-123`, `#123`), and note where a ticket ID can be found without asking (the branch name, a plans folder, the issue tracker). If the project uses no tickets, keep only the semantic name. -->
Name the branch with a short kebab-case slug of the change, such as `fix-timezone-logging`. This project doesn't use ticket IDs.

**Main branch.** Stay on `main`. If you are on another branch, ask the user: don't merge or rebase it into `main` on their behalf. Detached HEAD: stop and ask them to check out a branch.

## Step 3: Commit

**Keep the change coherent.** Look at the changed files. If some clearly don't belong to the same change as the rest (a fix to one feature plus an unrelated CI edit), ask whether to include them. The default is one coherent change per run.

**Keep secrets out.** Never stage a file of local secrets (`.env` and its variants, private keys, credential files) unless the user asks for it: leave it out without asking, and say so in the report. Stop and ask only when a secret is inside what you would otherwise commit: a token, key or password in a changed or new file that belongs to the change.

<!-- CUSTOMIZE: the tidy commands to run on the files about to be committed (formatter, linter autofix), from package.json scripts, the Makefile, or the pre-commit / lefthook / husky config. If a git hook already runs them on commit, say so instead and drop the commands. -->
**Tidy** the source files you're about to commit: `npm run format -- <files>` and `npm run lint -- --fix <files>`.

<!-- CUSTOMIZE: keep this paragraph only if the project has a pre-PR review checklist (PRE_PR_REVIEW.md or a doc playing that role), and fix the path. Mention the known non-issues file only if the project has one (KNOWN_NON_ISSUES.md or similar). Delete the paragraph otherwise. -->
**Self-review** what you are about to commit against [docs/PRE_PR_REVIEW.md](../../../docs/PRE_PR_REVIEW.md): the "Always" list plus the sections matching what you touched. Do it before committing, so a fix is just another edit rather than an amend. If something you find is a settled convention rather than a defect, it belongs in [docs/KNOWN_NON_ISSUES.md](../../../docs/KNOWN_NON_ISSUES.md).

**Commit** with the `commit` skill if it is available: it checks the identity, scans for secrets, and splits the work into focused commits. Tell it the message convention below. If nothing is pending and the branch already has commits, skip committing.

Without the `commit` skill: stage by explicit path, never `git add -A`, keeping secrets out as above. Then commit with the convention below.

<!-- CUSTOMIZE: the commit message convention. Conventional Commits unless the project states another (AGENTS.md, CONTRIBUTING.md, commitlint config) or its history clearly uses one. Add the ticket rule from step 2 if there is one. -->
**Message convention:** Conventional Commits, `<type>(<scope>): <imperative summary>`. `type` is `feat`, `fix`, `chore`, `refactor`, `docs`, `test` and so on, inferred from the diff; `scope` is the dominant package or module, and can be left out when there isn't one.

## Step 4: Bring the branch up to date and check it

**Pull requests:** `git fetch origin <base>` then `git rebase origin/<base>`.

**Main branch:** `git pull --rebase origin main`.

On a conflict, stop: report the conflicting files and ask how to proceed. Never guess a resolution.

**Check** what is about to ship with the checks below, after the rebase so they see the commits as they will land:

- **A failure the change caused:** fix it, tidy the files you touched with step 3's tidy commands, commit the fix with step 3's rules, and run the checks again. If they still fail after two fixes, stop and ask.
- **A failure the change didn't cause** (a flaky test, something already broken on the base branch): say why you think so, and ask whether to push anyway.
- Never skip, delete or loosen a test or a check to make it pass.

<!-- CUSTOMIZE: the checks to run before pushing. Look at what CI runs (.github/workflows, .gitlab-ci.yml), the test, typecheck and build scripts (package.json, the Makefile, the task runner), and git hooks that already run checks before a push (pre-push in lefthook, husky or .git/hooks). Pick the fast ones that catch most breakage, such as the typecheck, the unit tests or the tests of the changed packages, and leave slow suites to CI. If a pre-push hook already runs them, say so instead of listing commands. If the project wants no checks before a push, delete this line and the Check paragraph above it, with its bullets. -->
**Checks before pushing:** `npm test`.

## Step 5: Review before pushing

**Pull requests:** skip this step. The review happens on the PR, in step 8.

**Main branch.** Once pushed, a commit is shipped, so the review happens here, on the commits about to go out. It comes after step 4 so it sees them exactly as they will land.

- **OCR review.** If the `ocr-review` skill is available, run it in local mode (`--local`) without asking. Skip it for docs-only commits or a very small, obvious change, and say so.
- **Address the findings.** If the review left open findings and the `address-pr-comments` skill is available, run it with `--local`. It shows a verdict table and waits for the user's confirmation, then commits the fixes without pushing. Otherwise, list the findings and ask whether to push anyway.
- **When the review scored 1 or 2,** don't push on the strength of the fixes alone: run `ocr-review --local --incremental` once on the fix commits, and if it still scores below 3, stop and ask.

One bounded pass: at most that one re-review, then go on to step 6.

## Step 6: Push

**Pull requests:** `git push -u origin <branch>` for a new branch, `git push --force-with-lease` once it exists on the remote (after a rebase). Never a bare `--force`. If the push is rejected, the remote has commits you don't: stop and ask.

**Main branch:** `git push origin main`, never forced. If it is rejected, run step 4 once more and retry, without reviewing again: the rebase only replayed commits step 5 already reviewed; if it is rejected again, stop and ask.

## Step 7: Open the pull request

**Main branch:** skip this step.

**Pull requests.** If `gh pr view --json url,number` finds a PR for the branch, the push already updated it: don't open another. Otherwise:

```sh
gh pr create --base "<base>" --title "<title>" --body "<body>"
```

- **Base:** the `--base` value if given, otherwise the project's base branch.
- **Title:** the commit convention's subject for the whole change. For a single-commit PR, the commit subject.

<!-- CUSTOMIZE: the PR body. If the repo has a pull request template (.github/pull_request_template.md), mirror its sections here: `gh pr create --body` bypasses it. Add a "Self-review" section only if step 3 has the self-review paragraph, linking the checklist by its absolute GitHub URL (a relative link in a PR body resolves against the repo root). -->
- **Body:** grounded in the full diff (`git diff origin/<base>...HEAD`), no boilerplate:

  ```markdown
  ## Summary

  <1-3 sentences on what this change does and why>

  ## Changes

  - <key change>
  ```

  Mention anything deliberate a reviewer would otherwise flag: it pre-empts the finding.

**Updating a PR body later:** never replace it wholesale with `gh pr edit --body`. Review bots keep their own blocks in it (OCR between `<!-- ocr_comment -->` and `<!-- /ocr_comment -->`). Read the current body, edit around those blocks, and write back the merged result.

## Step 8: First review round

**Main branch:** skip to the checks paragraph below, if this project kept it.

**OCR review.** If the `ocr-review` skill is available, run it on the PR right after it is opened, without asking. Skip it for a docs-only PR or a very small, obvious change, and say so. If the OCR hook is on, it asks for the same review: run it once.

<!-- CUSTOMIZE: other reviewers or checks to wait for besides OCR: a review bot, required CI checks. Find them on recent PRs (`gh pr checks <n>`, the authors of their reviews). Keep the wait bounded. Delete this paragraph if there are none. -->
**Checks.** Wait for the required CI checks, bounded: poll `gh pr checks <n>` about every 30 seconds for at most 10 minutes. If they haven't finished, report them as pending; never hang the run on a slow check. A failing check is a finding.

**Address the findings.** If the `address-pr-comments` skill is available, run it on the PR to work through the review's findings. It shows a verdict table and waits for the user's confirmation before changing anything. Otherwise, list the findings in the report and leave them for the user. One bounded review pass per run: don't wait for a second round.

## Step 9: Report

Give the user the result plainly: the PR URL (or, on the main branch, the pushed commits), plus a one-line recap of the branch, the commit subjects and the base. Say which checks ran in step 4 and how they ended. Note what the review round (step 5 or 8) found and what happened to each finding, any file left out of the commits and why, and anything left for the user to decide.

## Edge cases

- **Clean tree, already pushed.** Nothing to do but confirm: return the existing PR URL or the last pushed commit. Don't rebase, check or push it again: updating a shipped branch is a separate request. If a pull-request branch has no PR yet, open it (step 7) and carry on from there.
- **Clean tree on the base branch, nothing unpushed.** There's nothing to ship. Say so rather than creating an empty branch.
- **`gh` not authenticated.** Surface the error and suggest `gh auth login`. Never invent a PR URL.
- **A review never arrived.** Deliver the result with the review noted as pending. Never imply a change is clean because no review came in.

Files in this skill

  • SETUP.md4.2 KB
  • SKILL.md12.1 KB
  • evals/evals.json5.1 KB
  • evals/fixtures/already-shipped.sh824 B
  • evals/fixtures/base.sh2.7 KB
  • evals/fixtures/mixed-changes.sh459 B
  • evals/fixtures/secret-in-change.sh761 B
  • evals/fixtures/test-broken-by-change.sh1.3 KB
  • evals/fixtures/test-broken-on-main.sh887 B
  • evals/fixtures/triggers.sh331 B
  • evals/fixtures/untracked-env.sh407 B
  • evals/triggers.json998 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.