From lisa
This skill should be used when reducing the cognitive complexity threshold of the codebase. It lowers the threshold by 2, identifies functions that exceed the new limit, generates a brief with refactoring strategies, and creates a plan with tasks to fix all violations.
npx claudepluginhub codyswanngt/lisa --plugin lisaThis skill is limited to using the following tools:
Reduces the cognitive complexity threshold by 2 and fixes all violations.
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.
Reduces the cognitive complexity threshold by 2 and fixes all violations.
bun run lint 2>&1 | grep "cognitive-complexity"
If no violations at new threshold, report success and exit.
Compile the gathered information into a structured brief:
Reduce cognitive complexity threshold from [current] to [new].
Functions exceeding threshold (ordered by complexity):
1. [file:function] (complexity: X, target: [new]) - Line Y
2. ...
Configuration change: [eslint config path], cognitive-complexity from [current] to [new]
Refactoring strategies: extract functions, early returns, extract conditions, use lookup tables
Verification: `bun run lint 2>&1 | grep "cognitive-complexity" | wc -l` → Expected: 0
Invoke /plan-execute with this brief to create the implementation plan.