plan-reduce-max-lines

Target threshold: $ARGUMENTS lines per file

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "plan-reduce-max-lines" with this command: npx skills add codyswanngt/lisa/codyswanngt-lisa-plan-reduce-max-lines

Reduce Max Lines

Target threshold: $ARGUMENTS lines per file

If no argument provided, prompt the user for a target.

Step 1: Gather Requirements

  • Read current config from eslint thresholds (eslint.thresholds.json or similar)

  • Run lint with the new threshold to find violations: bun run lint 2>&1 | grep "max-lines"

  • Note for each violation:

  • File path

  • Current line count

If no violations at $ARGUMENTS, report success and exit.

Step 2: Compile Brief and Delegate

Compile the gathered information into a structured brief:

Reduce max file lines threshold to $ARGUMENTS.

Files exceeding threshold (ordered by line count):

  1. [file] - [current] lines (target: $ARGUMENTS)
  2. ...

Configuration change: eslint.thresholds.json, maxLines to $ARGUMENTS

Refactoring strategies: extract modules, remove duplication, delete dead code, simplify logic

Verification: bun run lint 2>&1 | grep "max-lines" | wc -l → Expected: 0

Invoke /plan-execute with this brief to create the implementation plan.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

lisa-review-project

No summary provided by upstream source.

Repository SourceNeeds Review
General

lisa-integration-test

No summary provided by upstream source.

Repository SourceNeeds Review
General

jsdoc-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review