Skip to content
Back to skills

Spec Sync

ASecurity

Diff specs/docs against actual code and report discrepancies — spec claims not implemented, code not documented, contradictions, stale docs. Loopable via /loop or /schedule for recurring automated runs. Use when asked to "check the specs", "spec sync", "find discrepancies", or "does the code match the docs".

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 11, 2026
ai-agentsapi

Works with

  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add NAME0x0/CLAUDE_SETUP --skill spec-sync --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spec Sync?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Spec Sync
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/name0x0-spec-sync/badge)](https://www.skillsdirectory.com/skills/name0x0-spec-sync)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: spec-sync
description: Diff specs/docs against actual code and report discrepancies — spec claims not implemented, code not documented, contradictions, stale docs. Loopable via /loop or /schedule for recurring automated runs. Use when asked to "check the specs", "spec sync", "find discrepancies", or "does the code match the docs".
---

# Spec Sync

Compare what the documents promise against what the code does. Report; fix only on request.

## Procedure

1. **Locate spec sources** — `specs/`, `docs/`, `README.md`, `ARCHITECTURE.md`, design docs, `*.md` with requirement language ("must", "shall", "will support").
2. **Extract testable claims** — each claim gets an ID, the source file:line, and a check strategy (grep for the API, read the module, run the test).
3. **Verify each claim** against code. Classify: `IMPLEMENTED` / `PARTIAL` (stubbed, TODO'd) / `MISSING` / `CONTRADICTS` (code does something else) / `UNDOCUMENTED` (code feature absent from specs).
4. **Report** — table: claim | source | status | evidence (file:line). Severity-sorted: CONTRADICTS first (these mislead), then MISSING, PARTIAL, UNDOCUMENTED. End with counts and a one-line drift verdict.

## Loop mode (automation)

- Persist state to `.spec-sync-state.json` in the repo root (claim IDs + last status + content hashes of spec files).
- On repeat runs: re-check only claims whose spec or implementing files changed since last state; report **deltas only** (new drift, resolved drift).
- Recurring: `/loop 30m /spec-sync` during active spec work, or a nightly `/schedule` routine for long-running projects.
- Never edit specs or code in loop mode — report only.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.