plan-reduce-max-lines

Reduce ESLint maximum file lines and generate refactoring plans for oversized files.

3|3|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/CodySwannGT/lisa --skill plan-reduce-max-lines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plan-reduce-max-lines
Source: https://github.com/CodySwannGT/lisa/tree/main/plugins/lisa/skills/plan-reduce-max-lines
Command: npx skills add https://github.com/CodySwannGT/lisa --skill plan-reduce-max-lines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps enforce coding standards by reducing the maximum allowed lines per file, identifying violations, and planning the refactoring needed to fix them.

Core Features & Use Cases

  • Threshold Enforcement: Updates ESLint configurations to enforce a new maximum line count for files.
  • Violation Identification: Detects and lists files that exceed the specified line limit.
  • Refactoring Planning: Generates a plan with strategies to split oversized files.
  • Use Case: A team wants to improve code readability and maintainability by ensuring no single file exceeds 150 lines. This skill helps them identify and plan the refactoring of files that are too long.

Quick Start

Use the plan-reduce-max-lines skill to set the maximum file lines threshold to 150.

Frequently Asked Questions about plan-reduce-max-lines

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

FAQPage Schema
How do I enforce a maximum file line limit using ESLint?

Identify files exceeding your line limit by running linting tools against your codebase after updating the ESLint configuration, which flags all violations that surpass the newly defined maximum line count.

What is the best way to plan refactoring for files that exceed line limits?

Reduce the maximum file lines threshold in your ESLint configuration to enforce stricter code standards, which triggers the identification of violations and generates a refactoring plan with tasks to split oversized files.

Do I need linting tools to enforce file line limits in my project?

You need linting tools and file system access to enforce file line limits, as the process requires modifying ESLint configurations and scanning the codebase to identify files that violate the threshold.

How does reducing the max lines threshold improve code maintainability?

Reducing the max lines threshold improves code maintainability by enforcing coding standards that prevent oversized files, ensuring better readability and generating plans to systematically split large files into smaller modules.