What problem does it solve?
Manually counting lines of code, identifying programming language composition, and calculating code-to-comment ratios for a repository is time-consuming and prone to error. This Skill automates these tasks to deliver accurate, actionable codebase metrics in seconds.
Core Features & Use Cases
- Automated LOC and Language Breakdown: Uses pygount to scan any repository and generate a full breakdown of programming languages, file counts, and total lines of code.
- Code-to-Comment Ratio Analysis: Calculates the proportion of executable code to documentation and comments to help assess codebase maintainability.
- Flexible Output and Filtering: Supports filtering by specific file types or languages, and outputs results in summary tables, JSON, or per-file detailed lists for different use cases.
- Use Case Example: A developer joining a new team can run this Skill to quickly understand the size and composition of the existing codebase, or a tech lead can use it to audit project metrics before a major refactor.
Quick Start
Use the codebase-inspection skill to analyze the target repository's total lines of code, language composition, and code-to-comment ratio.