cli-audit-drift

Community

Detect semantic drift in code to ensure intent matches implementation.

AuthorDestynova2
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill identifies silent semantic drift between intended behavior (documented in CONTRACTS.md) and actual implementation, preventing behavioral regressions and ensuring code integrity.

Core Features & Use Cases

  • Semantic Drift Detection: Compares code against functional contracts to identify behavioral changes that violate the original intention.
  • Codebase Scanning: Supports scanning of single functions, files, directories, or entire projects.
  • Bootstrap Mode: Generates CONTRACTS.md for projects without existing contracts.
  • Drift Classification: Classifies detected drifts into 'Miss', 'Evolution', 'Ambiguity', 'Stale contract', or 'Orphan code'.

Quick Start

Run /cli-audit-drift path/to/your/code to detect semantic drift in your codebase.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: cli-audit-drift
Download link: https://github.com/Destynova2/cli-code-skills/archive/main.zip#cli-audit-drift

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 620,000+ vetted skills library on demand.