From lisa
This skill should be used when reducing the maximum lines per function threshold and fixing all violations. It updates the eslint threshold configuration, identifies functions exceeding the new limit, generates a brief with refactoring strategies, and creates a plan with tasks to split oversized functions.
npx claudepluginhub codyswanngt/lisa --plugin lisaThis skill is limited to using the following tools:
Target threshold: $ARGUMENTS lines per function
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Target threshold: $ARGUMENTS lines per function
If no argument provided, prompt the user for a target.
bun run lint 2>&1 | grep "max-lines-per-function"
If no violations at $ARGUMENTS, report success and exit.
Compile the gathered information into a structured brief:
Reduce max lines per function threshold to $ARGUMENTS.
Functions exceeding threshold (ordered by line count):
1. [file:function] (lines: X, target: $ARGUMENTS) - Line Y
2. ...
Configuration change: eslint.thresholds.json, maxLinesPerFunction to $ARGUMENTS
Refactoring strategies: extract functions, early returns, extract conditions, use lookup tables, consolidate logic
Verification: `bun run lint 2>&1 | grep "max-lines-per-function" | wc -l` → Expected: 0
Invoke /plan-execute with this brief to create the implementation plan.