tomcruisetorpedo/velocity-method-pack/anti-drift-sync-docs

Claude Code and agent skill by tomcruisetorpedo/velocity-method-pack

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Audit and repair drift between documentation and code (README, OpenAPI, agent instruction files, migrations, routes). Use after features land, when CI flags docs drift, or when the user asks if docs match reality. Inspired by Velocity anti-drift themes + COMMON-HARNESS sync-docs skill.

Install

npx vskill@latest install tomcruisetorpedo/velocity-method-pack/anti-drift-sync-docs

SKILL.md

The same SKILL.md was published earlier as tomcruisetorpedo/velocity-method-pack/anti-drift-sync-docs.

Anti-Drift / Sync Docs

Docs that lie are worse than missing docs. Treat drift as a gate, not a chore.

What to check (only if the artifact exists)

CheckDrift signal
Migrations countREADME/agent docs say N migrations; disk has M
Routes vs OpenAPIImplemented route missing from OpenAPI, or orphan path
CitationsDocs mention GET /x that no route implements
EventsBroadcast/event names undocumented
Error codesThrown codes absent from README/OpenAPI
Version bannerREADME "aligned with openapi vX" ≠ OpenAPI info.version

Skip checks that do not apply. Auto-discover common paths; allow a small override file (e.g. .docs-sync.json) when layout is non-standard.

Procedure

  1. Locate project root (package manifest, .git, etc.).
  2. Discover README, OpenAPI, agent instruction files (CLAUDE.md /

AGENTS.md), migrations dir, routes/app entry.

  1. Run applicable checks; collect machine-readable failures.
  2. Propose targeted patches — edit the lying doc or the missing code/spec,

whichever the user intends. Prefer smallest diff.

  1. Re-run until clean or until waivers are explicit in the override skip

list with a human reason in the PR/commit body.

When to invoke

  • After a feature that touched routes, migrations, models, or public errors.
  • Before calling a phase/milestone "done".
  • When a pre-push / CI docs job fails.

Hook recipe (thin)

  • Post-edit (optional): cheap migrations/version check on Write/Edit.
  • Stop gate: full drift audit; non-zero exit blocks "session success" claims.

See docs/hook-recipes.md.

Agent rules

  • Never "fix" drift by deleting the OpenAPI file or emptying the README.
  • Prefer updating OpenAPI when the route is intentional new API surface.
  • Prefer updating README citations when the route was removed on purpose.

Anti-patterns

  • One giant prose README with no checkable claims.
  • OpenAPI updated weeks later "when we have time".
  • Agent instruction files that describe a scaffold you no longer use.

Sources (inspiration only)

  • Velocity paper theme: Technical: The Anti-Drift Harness
  • COMMON-HARNESS sync-docs skill shape (MIT) — no script vendoring here

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tomcruisetorpedo/velocity-method-pack/anti-drift-sync-docs/badge)](https://verified-skill.com/skills/tomcruisetorpedo/velocity-method-pack/anti-drift-sync-docs)

Something wrong with this skill or its page? Tell us.