SkillsReviewed · dzhng

close-spec

close-spec is a coding-assistant skill for developers documenting finished features, but completion requires independent agents to check every statement against code and tests. It archives specifications under specs/done/, preserves decisions and reference images, and deletes step-by-step planning files after extracting their lasting information.

Researched 15 Nov 2026

In short.

close-spec is a coding-assistant skill for developers turning finished feature plans into design records, but it requires independent audits and deletes planning files after preserving their lasting content. It rewrites specifications around decisions, rules the implementation must preserve, code references and visual provenance. The procedure is detailed, but supported assistant environments, audit reliability and actual results are not established by the supplied evidence.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to skills/implement/close-spec at revision c363ed386ec75756d6cbd0a3d0d9e8d4427f3a5a. The supplied manifest lists SKILL.md as the only file within that folder and includes the repository-root LICENSE as an associated notice. Other repository skills, including write-spec and review, and any target project's code, tests or images are excluded. Installation, execution, file changes, independent-agent auditing and practical results were not assessed.

The overview

Identity

close-spec is an instruction-based skill in the dzhng/skills repository at skills/implement/close-spec/SKILL.md. Its stated trigger is a finished feature or specification whose original build plan no longer describes what shipped. Original resource folder: [https://github.com/dzhng/skills/tree/main/skills/implement/close-spec].

Its output is an archived specification explaining purpose, decisions and enduring constraints, with references to the actual implementation. It is not presented as a standalone application or executable library.

Assessment

The skill offers a concrete approach for teams whose completed feature plans become stale. Its strongest feature is the explicit comparison between the plan and the shipped implementation: dropped work, changed assumptions and rejected approaches become part of the permanent explanation.

It fits projects willing to replace their build instructions with a shorter rationale record. Teams that need the original slice documents preserved alongside the final explanation should examine its deletion step carefully. Effectiveness and time savings are not established.

Users

The intended users are developers and maintainers working with feature specifications under specs/. It can help a future reader understand why a feature took its current shape without reconstructing the entire development process.

Beginners should understand that the assistant is instructed to edit, move and delete project files. Experienced developers will need to supply meaningful implementation references and distinguish an asserted invariant, meaning a rule that must remain true, from one actually enforced by code or tests.

Capabilities

The instructions cover confirming delivery, comparing the plan with the implementation, moving the specification into specs/done/, rewriting its README, removing slices/ after extracting durable information, and updating references. Single-file specifications are also supported.

The retained record should cover purpose, trade-offs, invariants, searchable code and test references, rejected approaches, and the origins of visual requirements. Baseline and inspiration images must survive, along with assets or visualizations that still help readers judge the result.

The final audit checks each statement for stale pointers, unsupported rules, outdated planning language and missing visual provenance. These are prescribed capabilities; their successful execution is not demonstrated.

Using it

Requirements

The feature must already be merged or working in-tree, with its test and screenshot gates passing. The assistant needs access to the specification, actual implementation, relevant tests and visual references, plus permission to rewrite, move and delete files. The prescribed move uses Git.

The audit requires independent sub-agents that did not write the specification and do not have the writing conversation. The source does not identify compatible assistant products, models, minimum versions or a fallback for environments without that capability.

Mechanism

The central rule separates implementation mechanics from design intent. Code remains authoritative for how the feature works; the closed specification explains why it exists, why decisions were made and what must remain true. Prose that merely repeats a function's behavior should become a reference to that function.

Independent agents audit sections or groups of claims against code and tests. They check named pointers, whether invariants are enforced, whether explanations match what shipped, and whether referenced images exist with their origins explained. Unsupported or stale statements must be corrected and checked again before closure.

Setup

The supplied resource is a SKILL.md file rather than an installer. It must be made available through the chosen assistant's supported skill mechanism; the evidence provides no installation directory, invocation command or compatibility guide.

Before applying it, identify the finished specification, its implementation and verification evidence. Confirm that the environment supports the required independent agents and that all visual references are available. The source recommends running the companion review skill before closing, but that companion's contents are not supplied.

Example

Illustrative use, not an observed run: a finished feature has a README and slice files under specs/search/. The assistant would compare those plans with the actual implementation, move the directory to specs/done/search/, and rewrite the README around purpose, decisions and rules that must remain true.

A rejected approach or important deviation would be retained with its reason. Build-order instructions would be removed, reference images preserved and explained, and code and test references checked by independent agents. The supplied evidence contains no completed example or audit results.

Assessment & evidence

Limitations

An instruction to audit every statement does not establish that an assistant will find every error. The evidence contains no execution results, reliability measurements or demonstration that independent agents consistently detect unsupported claims.

The process also depends on decision history. Code can show what shipped, but may not establish why an alternative was rejected. The skill does not explain how to recover missing motivations.

Rewriting the README and deleting slices removes planning material from the resulting document tree. The instructions preserve durable findings and imagery, but an assistant could misjudge what deserves retention. Installation, file operations and audit behavior remain untested.

Reasoning

The design treats a plan and a permanent explanation as different documents with different jobs. Build order helps implementation; reasons, constraints and failed approaches help later maintenance. Pointing to code instead of paraphrasing it aims to reduce duplicated descriptions that can drift.

Visual provenance receives special attention because a finished screenshot alone does not explain the standard the feature was meant to meet. Preserving the original reference and explaining what it influenced keeps that requirement visible. These are the workflow's stated rationales, not measured benefits.

Alternatives

The source names write-spec as the planning companion and review as a check to run before closure. They serve adjacent stages rather than replacing close-spec. Their contents are outside the supplied evidence, so their detailed behavior and compatibility are unknown.

For teams that need the original plan retained intact, a separate retrospective alongside that plan is a possible alternative approach. This follows from close-spec's rewrite-and-delete design; no comparative evaluation is supplied.

Evidence

The supplied source material consists of the complete close-spec SKILL.md and the repository-root MIT licence. The instruction file establishes the intended procedure, supported specification layouts, preservation rules and closure requirements.

The captured instruction file is available at [https://raw.githubusercontent.com/dzhng/skills/c363ed386ec75756d6cbd0a3d0d9e8d4427f3a5a/skills/implement/close-spec/SKILL.md]. No target project, completed archive, execution log, test result or independent-agent audit output is supplied.

Access & freshness

Costs

Operating cost is unknown. The skill supplies no provider prices, token counts, execution times or measured expenses. Multiple independent audits and checks of corrected claims involve additional agent work, but its cost is not quantified.

The MIT licence permits use and redistribution without a stated licence fee. That does not establish the cost of the assistant, model or hosting environment used to perform the workflow.

Rights

The supplied repository-root LICENSE is the MIT License, with copyright attributed to David Zhang in 2026. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions.

The software is provided without warranty. Captured licence text: [https://raw.githubusercontent.com/dzhng/skills/c363ed386ec75756d6cbd0a3d0d9e8d4427f3a5a/LICENSE].

Freshness

The evidence is pinned to repository revision c363ed386ec75756d6cbd0a3d0d9e8d4427f3a5a and was captured on 2026-11-15 at 21:05:43.681 UTC. These findings describe that snapshot.

The supplied SKILL.md states no release version or supported assistant versions. Later repository changes and current environment compatibility are unknown.

Actions

Before adopting it, confirm that your assistant can access the relevant code and tests and create independent audit agents without the writing conversation. Decide whether replacing the original plan and deleting slice files fits your documentation needs.

For an initial use, choose one finished feature and inspect the resulting Git diff. Check that decisions and reference images survive, old links are updated, and each claimed invariant has supporting implementation evidence. Under the skill's own completion rule, unsupported statements must be resolved before the specification is closed.

Evidence for this report

LICENSEnotice · checked 2026-11-15
skills/implement/close-spec/SKILL.mdselected · checked 2026-11-15