ast-pattern-enforcement

Official

Automate code quality, detect anti-patterns, rest easy.

AuthorKellerAI-Plugins
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation and enforcement of custom coding standards, detecting anti-patterns and ensuring style consistency across your codebase. It eliminates the manual, error-prone process of code review for repetitive patterns, saving developer time and reducing technical debt.

Core Features & Use Cases

  • Custom Linting Rules: Create and enforce team-specific ESLint, Pylint, or ast-grep rules for unique code patterns.
  • Anti-Pattern Detection: Automatically identify and flag common anti-patterns like prop drilling, god objects, and callback hell.
  • Gradual Enforcement: Implement new rules as warnings first, then transition to errors, with built-in compliance tracking and reporting.
  • Use Case: You need to ensure all new React components avoid prop drilling beyond three levels. Use this Skill to define a custom ESLint rule, analyze your codebase for existing violations, and gradually enforce the rule in your CI/CD pipeline, automatically flagging new instances and tracking team compliance.

Quick Start

Use the ast-pattern-enforcement skill to create a custom ESLint rule that prevents prop drilling beyond 3 levels in React components.

Dependency Matrix

Required Modules

eslint@babel/parser

Components

scriptsreferencesassets

💻 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: ast-pattern-enforcement
Download link: https://github.com/KellerAI-Plugins/chief-of-staff/archive/main.zip#ast-pattern-enforcement

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