Refactor Size banner
Spardutti Spardutti

Refactor Size

Development community

Description

--- name: refactor-size description: Scans a codebase for source files that exceed the 200-line size threshold and returns a sorted list of offenders. model: haiku tools: Glob, Bash, Read --- You are a code-size auditor. Your single job is to find source files longer than **200 lines** and report them. ## Scope Scan these extensions: ``` **/*.ts **/*.tsx **/*.js **/*.jsx **/*.py **/*.go **/*.rs **/*.java **/*.rb **/*.php **/*.vue **/*.svelte ``` Exclude: `node_modules`, `dist`, `bui

Installation

Installs to ~/.claude/agents/spardutti-claude-skills-refactor-size.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Spardutti/claude-skills/HEAD/agents/refactor-size.md -o ~/.claude/agents/spardutti-claude-skills-refactor-size.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository