# Close Spec (agent skill)

> Close Spec is an agent skill (a SKILL.md file) from dzhng/skills. When a spec under specs// is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it… It works with Claude Code, Codex, Cursor and OpenCode and has 1,013 GitHub stars across a repository of 2 listed skills.

When a spec under specs// is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with write-spec (the plan this closes) and review (run before closing).

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/dzhng/skills |
| Skill path | skills/engineering/close-spec/SKILL.md |
| Skill name | close-spec |
| GitHub stars | 1,013 |
| Installs on skills.sh | not listed |
| License | MIT |
| Skills in repo | 2 |
| Plugin marketplace | no |
| Official | no |
| Works with | Claude Code, Codex, Cursor, OpenCode |
| Category | Docs & writing |
| Last commit | Oct 5, 2026 |

## When it triggers

- Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished.

## Add this skill

### Claude Code

```sh
git clone --depth 1 https://github.com/dzhng/skills.git
cp -r skills/skills/engineering/close-spec ~/.claude/skills/close-spec   # personal, or .claude/skills in a project
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/dzhng/skills.git
cp -r skills/skills/engineering/close-spec .agents/skills/close-spec   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/dzhng/skills.git
cp -r skills/skills/engineering/close-spec .cursor/skills/close-spec   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/dzhng-close-spec
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
