drift-cli

Community

Prevent doc/code drift with AST checks.

Authormpsuesser
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents documentation from getting out of sync with the code it describes, avoiding stale instructions and broken developer workflows when code changes.

Core Features & Use Cases

  • Bind docs to code by linking markdown anchors to specific files or AST symbols so the repo has traceable relationships between docs and implementation.
  • Detect stale documentation using drift check to recompute AST-based signatures and flag when linked code changed after docs were last linked.
  • Refresh and manage bindings with drift link, drift unlink, and drift status to keep drift.lock accurate across edits and refactors.
  • Handle cross-repo documentation by supporting an origin field so anchors belonging to other repos are skipped to avoid false failures.

Quick Start

Use the drift-cli skill to link a markdown doc to a code file or symbol and then run drift check to ensure the doc remains fresh.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: drift-cli
Download link: https://github.com/mpsuesser/workspace/archive/main.zip#drift-cli

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.