# Complete

> Stage 5 of the canonical coding workflow — write summary.md and transition to COMPLETE. Gated by verify.json (Gate V1/V3).

- Skill: `chainlesschain/complete` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add chainlesschain/complete`
- Raw SKILL.md: https://api.skillmd.com/api/skills/chainlesschain/complete/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: chainlesschain (https://skillmd.com/u/chainlesschain)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/chainlesschain/complete

---


# Complete Skill

Fifth and final step of the canonical coding workflow. Writes
`summary.md` through `SessionStateManager.markComplete()`, which
enforces:

- **Gate V1** — `verify.json` must exist
- **Gate V3** — `verify.status` must be `"passed"`

A session cannot self-declare completion; only a passing verify
record can authorize the terminal COMPLETE stage.

## Usage

```
$complete
```

## Inputs (params)

- `sessionId` (string, optional) — workflow session id
- `summary` (string, optional) — free-form completion notes. If omitted,
  a default body is generated from the session id.

## Output

Writes `.chainlesschain/sessions/<id>/summary.md` and transitions the
session stage to `complete`.

## Gates

- Refuses if `verify.json` is missing.
- Refuses if `verify.status !== "passed"` (use `$verify` → fix-loop).

