complete

complete is a command for Claude Code from raccioly/docguard. It costs 9 tokens per session (541 once invoked), scanned A, original, MIT.

A review command for checking whether an implemented feature has enough evidence to complete its specification lifecycle. It compares the implementation with the approved specification and prepares the final write step.

In plain words
What is it for?
Use it after implementation or review to refresh evidence, inspect each reconciliation result, and prepare a maintainer-approved completion command.
Why use it?
It catches unsupported or unclear changes and possible regressions before a feature is marked complete.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it after implementation or review to refresh evidence, inspect each reconciliation result, and prepare a maintainer-approved completion command.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/raccioly/docguard/complete
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/raccioly/docguard

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for complete

README.md
[![agentmods](https://agentmods.dev/badge/commands/raccioly/docguard/complete/github.svg)](https://agentmods.dev/commands/raccioly/docguard/complete)
Your own site
<a href="https://agentmods.dev/commands/raccioly/docguard/complete"><img src="https://agentmods.dev/badge/commands/raccioly/docguard/complete/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for complete

Your own site · 80×15
<a href="https://agentmods.dev/commands/raccioly/docguard/complete"><img src="https://agentmods.dev/badge/commands/raccioly/docguard/complete.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 541 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00009 $0.00541
Opus 5.5 $0.00004 $0.00216
Sonnet 5.5 $0.00002 $0.00108
Haiku 4.5 $0.00001 $0.00054

Measured 6d ago against content hash 9b3d40f694a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

complete scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

extensions/spec-kit-docguard/commands/complete.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DocGuard Spec Completion Review

Run after implementation or convergence. This hook plans the lifecycle gate; it does not mark the feature verified without a reviewed rationale.

  1. Resolve the current feature spec.md and read its Spec ID metadata.
  2. Run docguard guard --format json. Stop on errors.
  3. Refresh deterministic evidence with docguard specs --write, then review and commit that projection with the implementation.
  4. Select the Git baseline that covers the implementation changes. Prefer the registry's prior reconciliation revision; otherwise use the feature branch's merge base with its configured default branch.
  5. Run:
docguard specs complete --id <spec-id> --since <ref> --check --format json

If SPC002 reports that the spec is not approved or its delivery is planned, ask the maintainer to approve it. Never approve on your own:

docguard specs approve --id <spec-id> --delivery implemented --write
  1. Review every reconciliation classification. Unsupported or ambiguous changes block completion. A possible implementation regression requires deciding whether to fix code, amend approved intent, or record an accepted deviation.
  2. When the evidence is complete, present the exact reviewed write command to the maintainer. Apply it only when the maintainer supplies the rationale:
docguard specs complete --id <spec-id> --since <ref> --canonical-doc <doc> --write --reason "<reviewed outcome>"

--canonical-doc <path> (repeatable) and --persistence living|flow_forward|flow_back record the reviewed scope; never edit .docguard-specs.json by hand. Tick the last task and run docguard specs --write first, then commit the tick, the registry and the outcome together.

The write records the outcome, advances delivery through implemented to verified, and regenerates .docguard/current-context.json as one staged, post-validated set. In-process write or validation failures roll the set back; the command does not claim a durable journal across power loss or forced termination.

Read the full file on GitHub · 58 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed 9b3d40f694a2
  2. 12d ago Changed e724cf662262
  3. 16d ago Changed · +5 lines 8a430a75641d
  4. 19d ago Changed f63c41b4f13b
  5. 25d ago Changed 4d8ba14c405b
  6. 27d ago Changed 65e263203dec
  7. 1mo ago Changed 69bb829e7b9e
  8. 1mo ago Changed 411ed5887a5b
  9. 1mo ago Changed d32c05f9fe03
  10. 1mo ago First seen · 53 lines · 9 tokens per session scan A 86f6b7eb29f5

Subscribe to this mod's changes

complete is a command published in the GitHub repository raccioly/docguard (34 stars, last pushed 3d ago), licensed MIT. It adds 9 tokens to every session and 541 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-15.

Related

complete compared with commands from other repositories

complete next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
completeraccioly/docguardCommand343d agoMITA9Claude Code
explainHimanshu507/cgconeCommand9yesterdayMITA15Claude Code
dev-docs-updateaspenkit/aspensCommand1012mo agoMITA7Claude Code
dev-docsaspenkit/aspensCommand1012mo agoMITA9Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code