ast-pattern-enforcement

A valid, concise, and accurate summary of the prompt's main request.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/KellerAI-Plugins/chief-of-staff --skill ast-pattern-enforcement
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ast-pattern-enforcement
Source: https://github.com/KellerAI-Plugins/chief-of-staff/tree/main/cos-og/skills/ast-pattern-enforcement
Command: npx skills add https://github.com/KellerAI-Plugins/chief-of-staff --skill ast-pattern-enforcement

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires eslint, @babel/parser, and includes scripts (resource) and references (resource) and assets (resource) components.

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.