plan-reduce-max-lines
1
总安装量
1
周安装量
#45122
全站排名
安装命令
npx skills add https://github.com/codyswanngt/lisa --skill plan-reduce-max-lines
Agent 安装分布
amp
1
opencode
1
kimi-cli
1
codex
1
gemini-cli
1
Skill 文档
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-create with this brief to create the implementation plan.