Skip to content
Skills Library
Programming · Automation

wrap-up

/wrap-up

Use when the user is about to leave a session (closing the laptop, locking the phone, "wrap up", "I'm off"). First checks whether anything could be lost; when nothing can, says "you're all set to leave" and does nothing else. Otherwise commits, pushes and opens a PR, and only with the user's yes merges and deploys.

Repository
exosuit ↗
Licence
MIT
Last repository change
25.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
2
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

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

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/wrap-up-check.sh

What it does and when to use it

Use when the user is about to leave a session (closing the laptop, locking the phone, "wrap up", "I'm off"). First checks whether anything could be lost; when nothing can, says "you're all set to leave" and does nothing else. Otherwise commits, pushes and opens a PR, and only with the user's yes merges and deploys.

Triggers from the description

wrap upm offyou
Original author description

Use when the user is about to leave a session (closing the laptop, locking the phone, "wrap up", "I'm off"). First checks whether anything could be lost; when nothing can, says "you're all set to leave" and does nothing else. Otherwise commits, pushes and opens a PR, and only with the user's yes merges and deploys.

How it works

  1. wrap-up
  2. Step 1: Can anything be lost? (always first)
  3. Step 2: Save the work
  4. Step 3: Ship it now? (optional)
  5. Report
  6. Rules
Original SKILL.md headings · 113 lines, 714 words
SKILL.md preview
---
name: wrap-up
version: 1.0.0
description: Use when the user is about to leave a session (closing the laptop, locking the phone, "wrap up", "I'm off"). First checks whether anything could be lost; when nothing can, says "you're all set to leave" and does nothing else. Otherwise commits, pushes and opens a PR, and only with the user's yes merges and deploys.
trigger: manual
depends-on: []
references: []
disable-model-invocation: false
user-invocable: true
allowed-tools: Read, Glob, Grep, Bash, AskUserQuestion
argument-hint: ""
---
______________________________________________________________________

## wrap-up

**Skill metrics:** Emit a start event to the activity log:
```bash
echo "{\"type\":\"skill\",\"event\":\"start\",\"skill\":\"wrap-up\",\"ts\":\"$(date -u +%Y-%m-%dT%H:%M:%SZ)\"}" >> docs/sessions/.activity-log.jsonl
```

"All set to leave" means: nothing uncommitted in this worktree, and every branch
that is not a lane on a remote. Most of all on a server you reach from a phone,
where work left uncommitted is easy to forget. Deploying is an optional last step.

## Step 1: Can anything be lost? (always first)

```bash
bash "${CLAUDE_PLUGIN_ROOT:-.claude}/skills/wrap-up/scripts/wrap-up-check.sh"
gh pr view --json number,url,state 2>/dev/null || true
```

The script changes nothing. Its last line is the verdict:

- `VERDICT all-set`: **stop here** and report exactly:
  ```
  ✅ You're all set to leave.
  Working tree clean, nothing unpushed.
  ```
  Add one line per note the script printed (an open PR for this branch, `LANE`,
  `ELSEWHERE`, `GONE`, `STASH`), in plain words. Run none of the steps below.
- `VERDICT to-save`: go on to Step 2.

What each line means:

| Line | Meaning |
|---|---|
| `UNCOMMITTED` | changes in this worktree that no commit holds |
| `UNPUSHED` | a branch with commits no remote has |
| `DETACHED` | commits on no branch at all |
| `NO-REMOTE` | the repository cannot be pushed anywhere |
| `LANE` | a lane or stream; it merges into its parent locally with `/merge-up` |
| `ELSEWHERE` | another worktree with uncommitted work; its own session commits there |
| `GONE` | the branch's remote branch was deleted, usually after a merge |
| `STASH` | stashed changes, kept on this machine only |

## Step 2: Save the work

Only in this worktree. Never commit in another worktree: a lane's Claude Code
may be working there.

1. **On the default branch or a detached HEAD:** move onto a new branch first,
   named `<type>/<description>` from the diff (git rules): `git switch -c <name>`.
   Never commit on the default branch.
2. **Commit** what is uncommitted: a Conventional Commit that sums up the diff.
   Show the message, then `git add -A && git commit -m "<message>"`.
3. **Push**, unless this is a lane or stream branch (`git config
   branch.<name>.exosuitParent` is set): those merge up locally, so say
   "committed in the lane; run `/merge-up` when the story is done".
   ```bash
   git push -u origin "$(git branch --show-current)"
   ```
   Never `--force`. A rejected push: stop and report it.
4. **A PR:** when the branch is not the sprint branch, not a lane and has none,
   ask whether to open one (`gh pr create --fill`; ask for the base when it is not
   the default branch).
5. **Other `UNPUSHED` branches:** list them and ask before pushing each one.
6. **No remote** (`NO-REMOTE`): say so; nothing can be pushed until one is added.

Run the check again and report:
```
✅ Your work is safe: committed and pushed on <branch> (PR #<n>).
```

## Step 3: Ship it now? (optional)

Ask: "Merge and deploy now?" On no, stop: the PR waits.

On yes:
- A sprint branch is shipped by `/sprint-end`, with its gates. Say so and stop.
- Otherwise wait for CI, then squash-merge:
  ```bash
  gh pr checks --watch
  gh pr merge --squash --delete-branch
  ```
  Failing CI: stop, nothing is merged; the work is safe on its branch.
- Deploy with `/deploy`, or the deploy command the project's `CLAUDE.md` names,
  then its health check. A project with no deploy: report the merge and stop.
- A database migration in the diff: say before the merge that the deploy applies
  it and that it does not roll back.

## Report

```
## Wrap-up
- Work: committed and pushed on <branch> (PR #<n>) | already safe
- Shipped: merged and deployed, health ok | not shipped, PR #<n> open
- Notes: <LANE / ELSEWHERE / GONE / STASH lines, in plain words>

✅ You're all set to leave.
```

```bash
echo "{\"type\":\"skill\",\"event\":\"end\",\"skill\":\"wrap-up\",\"outcome\":\"success\",\"ts\":\"$(date -u +%Y-%m-%dT%H:%M:%SZ)\"}" >> docs/sessions/.activity-log.jsonl
```

## Rules

- Step 1 always runs first, and an `all-set` verdict ends the skill.
- Never commit on the default branch, never force-push, never merge without the
  user's yes, never merge failing CI.
- Never commit, stash or reset in another worktree.
- For notes on what was done and what is next, `/handoff` writes the session file;
  `/wrap-up` only makes sure nothing is lost.
Files in this package (2)
  • SKILL.md 5 KB
  • scripts/wrap-up-check.sh 3 KB

Versions

RepositoryScoreLicence
This page · joris887/exosuit100MIT
Desveladisimo-ai/compaction-guard100MIT
chemaclass/agnostic-ai100MIT
FxrcRed/claude-thats-a-wrap100MIT
oleg-koval/agent-skills100MIT
oleg-koval/agent-skills100MIT
musingfox/cc-plugins100MIT
alirezarezvani/claude-skills100MIT
oleg-koval/agent-skills100MIT

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

Downloads in the last 30 days: 2 · ranking

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

Similar skills

  • 100wrap
    Lands the current branch: commits what's left, rebases, pushes, opens the PR if there is none, and rebase-merges it once checks pass and GitHub reports it ready. Use when asked to wrap up, ship or land the branch. Not for native stacks (split-pr-stack) or Renovate queues (land-renovate).
  • 100commit
    Commit the current work — runs the quality, consistency and passport gates, branches off main if needed, stages specific files, and writes a commit whose subject states what is now true. Pushes and opens a pull request only with --pr or when the user asks; never merges — a merge…
  • 100github-sync
    Review the session's git changes, summarize them for approval, then commit and push to GitHub. Trigger when the user runs /github-sync or says "sync to github", "commit and push", "push this session", "wrap up and push", "save this session to git". For commit-only (no push) or…
  • 86pr
    Checks that a pull request someone reports as done really is, gets it an independent review, and finishes it according to the repo's policy (merge, leave as draft, or push docs). Use when asked to check, review and land, or wrap up a PR or branch, especially work done by another session or agent.
  • 100commit-push
    Stages changes, writes a conventional-commit message, commits, and pushes , without opening a PR. USE WHEN user says 'commit it', 'commit these changes', 'push this', 'commit and push', or wants a single atomic save without a PR. Generates feat:/fix:/refactor: message, commits…
  • 100release
    Pre-push quality gate + pull/merge request creation. Use when the user wants to ship, release, push a branch, or open a PR/MR — runs the project's own lint, type-check, and test gates first, then commits, pushes, and opens the request on the project's forge (gh or glab).

Feedback and reports

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