finish-work
/finish-work
Use when a change is ready ("finish", "wrap up", "we're done", "open the PR"). Checks the docs moved with the change, runs the full gate with the plugin's types, tries in a real session what no test can reach, commits, opens a draft PR, reviews it with review-code until it is clean, and asks the maintainer to mark it ready or merge it; the maintainer squash-merges.
- Author
- serionist ↗
- Repository
- claude-session-restore ↗
- Licence
- MIT
- Last repository change
- 28.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when a change is ready ("finish", "wrap up", "we're done", "open the PR"). Checks the docs moved with the change, runs the full gate with the plugin's types, tries in a real session what no test can reach, commits, opens a draft PR, reviews it with review-code until it is clean, and asks the maintainer to mark it ready or merge it; the maintainer squash-merges.
Triggers from the description
Original author description
Use when a change is ready ("finish", "wrap up", "we're done", "open the PR"). Checks the docs moved with the change, runs the full gate with the plugin's types, tries in a real session what no test can reach, commits, opens a draft PR, reviews it with review-code until it is clean, and asks the maintainer to mark it ready or merge it; the maintainer squash-merges.
How it works
- Steps
- Done means
- Never
SKILL.md preview
---
name: finish-work
description: >-
Use when a change is ready ("finish", "wrap up", "we're done", "open the PR"). Checks the docs moved with the
change, runs the full gate with the plugin's types, tries in a real session what no test can reach, commits, opens a
draft PR, reviews it with review-code until it is clean, and asks the maintainer to mark it ready or merge it; the
maintainer squash-merges.
---
# Finish a change
Done means `node tools/gate.ts full` passed, `REVIEW.md` is answered and `review-code` is clean, not that the work
feels complete. `main` takes PRs only, and the maintainer squash-merges them (`AGENTS.md`, How a change lands).
## Steps
1. **Docs in the same change.** Check each thing that describes the change moved with it: `README.md` and
`plugin/README.md` for what users see (a command, the option, what the plugin keeps), `docs/design.md` for how it
works, `CHANGELOG.md` under Unreleased when users notice it, `AGENTS.md` for a changed path, command or rule, and
the plan when the work departed from it (where and why). Write them the way `AGENTS.md` asks.
2. **The plugin's types.** For a change under `plugin/`: is `plugin/.claude-plugin/types/` there, written by the Claude
Code you run? If not, load the mod once (`claude --plugin-dir plugin`, then quit), so the gate checks the types
instead of skipping them. CI can't.
3. **The gate:** `node tools/gate.ts full`. Fix every failure; never weaken a test, a check or an ignore to pass.
4. **Try it in a real session,** for a change a test can't reach (a restore, the band, the pane, the process lookup,
a command line): with the installed copy turned off (`claude plugin disable session-restore@session-restore`),
start `claude --plugin-dir plugin` in a folder, send a prompt, cut it off (close its terminal window), then open
another session the same way and use the band or `/restore`. Note the Windows and Claude Code versions, what
worked, and what you could not show (another shell, no Windows Terminal, macOS). Turn the installed copy back on.
5. **Commit:** a plain imperative subject that says what changed, a body that says why, `Refs #<n>`. No tool
attribution: `commit-msg` refuses it.
6. **Open a draft PR.** Write the body to `.local/pr-body.md` from `.github/pull_request_template.md`. Push with
`git push -u origin HEAD` (`pre-push` runs gate quick), then `gh pr create --draft --title "<plain imperative
sentence>" --body-file .local/pr-body.md`. The title becomes the commit subject on `main`. Say it's open and how
to see it all: the PR's Files tab, or `git diff origin/main...HEAD`.
7. **Review** with `review-code` until it is `clean`. Commit each round's fixes with gate quick passing, and the
record in `docs/reviews/`. Put the verdict and the record's path in the body's Review section:
`gh pr edit <n> --body-file .local/pr-body.md`.
8. **CI** on the head commit: `gh pr checks <n> --watch`. A red check is fixed, never skipped.
9. **Ask the maintainer,** as one question with a recommendation: mark it ready (`gh pr ready <n>`), merge it, or
leave it a draft.
- If `main` moved: `git fetch origin`, `git rebase origin/main`, `git push --force-with-lease`. A rebase that
changes code needs the gate again.
- Merge only on the maintainer's word: `gh pr merge <n> --squash --delete-branch --subject "<title> (#<n>)"
--body-file .local/squash.md`, a body that says what and why and ends `Refs #<issue>` or `Closes #<issue>`. No
HTML comments, no tool attribution.
10. **Clean up** after the merge: `git switch main` and `git pull`; a worktree goes with `git worktree remove <path>`
from the main checkout. Work that turned up on the way becomes an issue (`gh issue create`).
## Done means
- `gate full` passed on the head commit with the plugin's types checked, `review-code` is clean for exactly this code,
and the PR says how what no test reaches was tried.
- The PR is ready for the maintainer, merged on their word, or left a draft by their choice.
## Never
- Open, mark ready or merge a PR with a failing gate or CI, or with a review of different code.
- Mark a `REVIEW.md` question yes without its evidence.
- Add AI co-author trailers, "Generated with" lines or session links: commits, PR titles, PR bodies.
- Push to `main`, merge without the maintainer's word, or push to someone else's branch.
- Bump `plugin.json`'s version outside a release PR (`docs/releasing.md`).
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · serionist/claude-session-restore | 90 | MIT |
| serionist/claude-sticky | 90 | MIT |
Database snapshot: 13.11.2026 · package version 3682e6bce17c (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 90finish
Land completed work — verify tests, present options (merge/PR/keep/discard), execute chosen workflow. Auto-triggered after implementation and review pass. Also available as /finish. - 86verify-change
Final check of a finished change - reads the diff, runs the smallest meaningful verification (focused build/tests, docs checks) and calls the reviewers the finish gate requires. Use proactively every time you finish implementing a code, schema, config or docs change, before… - 86verify-change
Final check of a finished change - reads the diff, runs the smallest meaningful verification (focused build/tests, docs checks) and calls the reviewers the finish gate requires. Use proactively every time you finish implementing a code, schema, config or docs change, before… - 100finish
Gates 6 and 7 for a finished task - self-review, decisions, the retro, the metrics line, committing the record files by path, the merge with agent-steddy record finish, releasing what the task started, and the report. Use when a task passed gate 5 and is ready to record and deliver. - 100finish-task
Use when implementation is done and the task is ready to commit and PR. Runs simplify → review → score → commit → PR in sequence. Triggers on "finish task", "ready to PR", "wrap up", "close out", "done implementing", "submit PR". - 100finish-issue
Finish a delivered hew issue after implementation — review its draft PR or committed local branch, verify it against the current default branch, then squash merge and confirm issue closure. Use when asked to finish, land, merge, or wrap up a hew issue, including local trackers…