lint-new

Generate ESLint rule templates and tests for the eslintPluginScraps plugin.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/Harigithub11/sentry --skill lint-new
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint-new
Source: https://github.com/Harigithub11/sentry/tree/main/.agents/skills/lint-new
Command: npx skills add https://github.com/Harigithub11/sentry --skill lint-new

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating a new ESLint rule and its tests manually is repetitive and error-prone. This Skill automates the workflow by providing templates for the rule, tests, and registration, ensuring consistency and faster delivery.

Core Features & Use Cases

  • Archetype-driven rule skeletons that align with existing rule patterns.
  • Rule source file and test templates that you can customize quickly.
  • Registration and configuration guidance for the plugin so new rules are wired up correctly.
  • Autofix scaffolding guidance and test templates to validate auto-fixes.

Quick Start

Create a new ESLint rule named $ARGUMENTS in the eslintPluginScraps plugin.

Frequently Asked Questions about lint-new

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

FAQPage Schema
How do I create a new ESLint rule with tests and autofix scaffolding?

Creating a new ESLint rule with tests and autofix scaffolding involves using archetype-driven templates to generate rule source files, test cases, and registration configuration, ensuring the rule is wired correctly into the plugin.

What is the best way to scaffold ESLint rules for a TypeScript plugin?

Scaffolding ESLint rules for a TypeScript plugin is best handled by automating archetype selection, file generation, and plugin registration to eliminate manual repetition and ensure consistent rule patterns across the codebase.

Does ESLint rule scaffolding include templates for testing autofix behavior?

ESLint rule scaffolding includes specific test templates designed to validate autofix behavior, providing the necessary structure to ensure auto-fixes are correctly applied and verified during rule development.

Can I customize the generated ESLint rule and test files after scaffolding?

You can customize the generated ESLint rule and test files immediately after scaffolding, as the automation provides baseline templates and shared utilities that you modify to fit specific linting requirements.

Why should I automate ESLint rule creation instead of writing rules manually?

Automating ESLint rule creation prevents repetitive and error-prone manual work by providing consistent templates for rules, tests, and registration, resulting in faster delivery and reliable plugin integration.