lint-rule-gen

Generate ESLint, agent, and Guardian lint rules from review feedback patterns.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/ckallum/calsuite --skill lint-rule-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint-rule-gen
Source: https://github.com/ckallum/calsuite/tree/main/skills/lint-rule-gen
Command: npx skills add https://github.com/ckallum/calsuite --skill lint-rule-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate lint rules from review feedback patterns to automate code quality enforcement and reduce repetitive reviews across JavaScript/TypeScript projects.

Core Features & Use Cases

  • Pattern extraction from Git history and code review diffs to discover recurring anti-patterns.
  • Auto-generation of rules for ESLint (.eslintrc.json) or agent/guardian configurations with a single description.
  • Validation guidance and step-by-step installation to apply new rules in target projects.
  • Use Case: When reviewers consistently raise issues like console.log usage, generate a rule to warn or error on those patterns.

Quick Start

Describe a recurring code pattern to generate a new lint rule and apply it to the target project.

Frequently Asked Questions about lint-rule-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate code review feedback using ESLint rules?

You can automate code review feedback by generating custom ESLint rules from recurring anti-patterns found in Git history and review diffs. This allows you to automatically enforce code quality standards instead of manually raising the same issues.

Can I generate lint rules for JavaScript and TypeScript from a single description?

Yes, you can generate lint rules for JavaScript and TypeScript projects from a single pattern description. The system automatically creates rules for ESLint or agent and Guardian configurations to dynamically check your codebase.

How do I extract recurring anti-patterns from Git history to create code quality rules?

You can extract recurring anti-patterns by analyzing Git history and code review diffs. The system identifies repeated issues, such as console.log usage, and derives validation steps to install new lint rules into your project's configuration files.

Does generating custom lint rules require access to local project config files?

Yes, generating and applying custom lint rules requires access to git history, diffs, and local CLAUDE config files. This access is necessary to derive, validate, and install the new rules into the target project's ESLint configuration.

What's the best way to stop repetitive code review comments in TypeScript projects?

The best way to stop repetitive code review comments is to convert review feedback patterns into automated lint rules. By targeting JavaScript and TypeScript codebases, you can generate rules that warn or error on specific anti-patterns automatically.

What types of rule configurations can I generate for dynamic code checks?

You can generate rules for ESLint (.eslintrc.json), agent rules, and Guardian rules for dynamic code checks. These configurations are automatically generated from extracted feedback patterns to enforce code quality across your project.