code-ratchets

Official

Prevent deprecated patterns via code ratchets.

AuthorAD-SDL
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Counts deprecated code patterns across a repository to prevent uncontrolled proliferation and ensure team-wide code health.

Core Features & Use Cases

  • Flexible pattern definitions and per-directory glob matching for Python projects.
  • Integrated with pre-commit workflows to enforce standards during commits and migrations.
  • Use case: when migrating away from legacy code, this ratchet helps keep the codebase clean by failing commits that introduce too many deprecated patterns.

Quick Start

Run the pre-commit hook to enforce the code ratchet rules on every commit.

Dependency Matrix

Required Modules

rich

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: code-ratchets
Download link: https://github.com/AD-SDL/MADSci/archive/main.zip#code-ratchets

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