review-file-size

Community

Optimize codebases by splitting large files.

Authorcwilliams5
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenges posed by excessively large source code files that can bloat context windows, hinder reasoning, and complicate maintenance. It aims to identify and facilitate the splitting of these files into more manageable, independently useful units.

Core Features & Use Cases

  • File Size Analysis: Scans source files to estimate token counts, flagging those approaching context limits.
  • Coupling Assessment: Analyzes internal dependencies (globals, functions) to determine if a file can be split without introducing excessive coupling.
  • Split Recommendation: Provides clear recommendations on whether splitting a file is beneficial, considering both the gains and costs.
  • Use Case: A developer working on a large AutoHotkey project can use this Skill to identify a monolithic gui_state.ahk file that is over 20k tokens and determine if it can be split into gui_state.ahk and gui_interceptor.ahk for better maintainability.

Quick Start

Use the review-file-size skill to analyze the source files in the 'src/' directory and identify candidates for splitting.

Dependency Matrix

Required Modules

query_interface.ps1query_global_ownership.ps1query_function_visibility.ps1

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: review-file-size
Download link: https://github.com/cwilliams5/Alt-Tabby/archive/main.zip#review-file-size

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.