# Spec finish

> Spec finish is an open-source agent skill for developer tools. Runs the final checks, review and PR prep after a Spec-backed plan is implemented. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/martinffx/atelier/tree/main/skills/spec-finish
- **Repository:** https://github.com/martinffx/atelier
- **GitHub stars:** 53
- **License:** MIT
- **Skill name:** spec-finish
- **Collection:** https://github.com/martinffx/atelier
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

Spec Finish is a closing workflow for plans built with the Spec process. It runs after the implementation step is done and walks the agent through trimming unrequested scope, updating docs, running the test, type check, lint and build commands, and getting a review before anything is shared.

The skill is strict about gating. It expects all plan tasks to be complete, a clean working tree and passing tests before it starts, and it sends the work back to the implementation step if validation or review turns up blocking issues. When everything is ready, it presents a short completion summary and then hands off to a separate pull request skill to open the PR, including a god-module size line so reviewers can see growth in large files.

It relies on other skills in the same collection: code-review for the quality pass, code-commit for commits and code-pull-request for the PR. The validation commands are given for npm, Python and Cargo projects, with a Go build option, so the agent picks whichever matches the repository.

## When your agent uses it

> Post-implementation completion workflow for Spec-backed Plans. Use after spec-implement completes to validate, review, create stacked commits, and open a PR via code-pull-request. Triggers only with an active Spec-backed Plan after spec-implement completes, including when the user says "finish", "done", or "complete" in that context.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/martinffx/atelier/tree/HEAD/skills/spec-finish)
- [License: MIT](https://github.com/martinffx/atelier/tree/HEAD/skills/spec-finish)

## Features

- **Scope simplification pass:** Compares the implementation with the original goal and removes unrequested abstractions or duplicate concepts before final checks.
- **Validation gate:** Runs tests, type checking, linting and build commands and returns to implementation if any fail.
- **Comprehensive code review:** Invokes the code-review skill once over all changes since the merge base, checking coverage and leftover debug code.
- **Stacked commit handling:** Reviews the commit log and avoids rewriting history unless the user approves a rebase.
- **Completion summary:** Presents a status summary of tests, checks, review, commits and god-module size before any PR is created.
- **PR handoff:** Passes the finished work to the code-pull-request skill to open the pull request on GitHub or GitLab.

## Good for

- Wrap up a feature after a spec-driven implementation is finished
- Run final tests, lint and type checks before opening a pull request
- Review all changes since the base branch for leftover debug code
- Prepare a stacked commit series and open a PR from it

## Install

### Claude Code

This skill ships in the `atelier` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add martinffx/atelier
/plugin install atelier@atelier
```

Or copy only this skill to `~/.claude/skills/spec-finish`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/spec-finish &&
cp -R "$tmp/skills/spec-finish" ~/.claude/skills/spec-finish &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/spec-finish` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/spec-finish` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/spec-finish &&
cp -R "$tmp/skills/spec-finish" ~/.agents/skills/spec-finish &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/spec-finish` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/spec-finish` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/spec-finish &&
cp -R "$tmp/skills/spec-finish" ~/.cursor/skills/spec-finish &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/spec-finish` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/martinffx/atelier.git --path skills/spec-finish
```

Or copy the folder to `~/.gemini/skills/spec-finish` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/spec-finish`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/spec-finish &&
cp -R "$tmp/skills/spec-finish" ~/.copilot/skills/spec-finish &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/spec-finish` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/martinffx/atelier.git
```

Then copy `atelier/skills/spec-finish` into your agent's skills folder as `spec-finish`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Spec finish trigger?

Only with an active Spec-backed Plan after spec-implement completes, including when the user says finish, done or complete in that context.

### What must be true before Spec finish starts?

All Spec-backed Plan tasks must be complete, the working directory must have no unresolved staged or unstaged changes, and tests must pass. Otherwise the workflow returns to spec-implement.

### Does Spec finish open the pull request by itself?

It invokes the code-pull-request skill to create the PR, but only when the completion summary shows the work is ready for PR.

### Which commands does Spec finish run for validation?

It lists npm test, typecheck, lint and build, with alternatives for pytest, mypy, ruff, cargo test, cargo check, cargo clippy and go build.

### How do I install Spec finish in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/spec-finish to use it in all your projects, or to .claude/skills/spec-finish in one project. Or install the atelier plugin, which includes it: /plugin marketplace add martinffx/atelier, then /plugin install atelier@atelier.

### Does Spec finish run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Spec finish?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Spec finish?

The closest alternatives to Spec finish are Spec implement, Spec coding, Spec driven dev, Spec loop and Spec compact.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Spec implement](https://ai-powered.com/skills/spec-implement): Spec implement is an open-source agent skill for developer tools.
- [Spec coding](https://ai-powered.com/skills/spec-coding): Spec coding is an open-source agent skill for developer tools.
- [Spec driven dev](https://ai-powered.com/skills/spec-driven-dev): Spec driven dev is an open-source agent skill for developer tools.
- [Spec loop](https://ai-powered.com/skills/spec-loop): Spec loop is an open-source agent skill for developer tools.
- [Spec compact](https://ai-powered.com/skills/spec-compact): Spec compact is an open-source agent skill for developer tools.
- [Spec](https://ai-powered.com/skills/spec-jasgujral): Spec is an open-source agent skill for developer tools.
- [Spec plan](https://ai-powered.com/skills/spec-plan): Spec plan is an open-source agent skill for developer tools.
- [Spec workflow](https://ai-powered.com/skills/spec-workflow): Spec workflow is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/spec-finish
