codebase-inspection

Analyze a codebase with pygount to produce lines of code, language breakdown, and file counts.

12|2|Updated Feb 2, 2020
One-click install
npx skills add https://github.com/servitola/dotfiles --skill codebase-inspection-servitola
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/servitola/dotfiles/tree/main/claude-code/skills/codebase-inspection
Command: npx skills add https://github.com/servitola/dotfiles --skill codebase-inspection-servitola

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze a codebase to produce lines of code, language breakdown, and file counts.

Core Features & Use Cases

  • Language breakdown by repository contents and per-folder stats to understand code distribution.
  • LOC and file-count summaries to estimate project size and complexity.
  • Use cases include assessing onboarding needs, auditing language contribution, and comparing multiple repositories.

Quick Start

Provide the path to your repository and ask the Skill to run pygount to generate a language breakdown and LOC summary.

Frequently Asked Questions about codebase-inspection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze lines of code and language breakdown in a repository?

To analyze lines of code and language breakdown, provide a target repository path to generate a structured summary including language counts, code and comment lines, and file tallies. This works for repositories of any size and language mix.

What is the best way to count lines of code for auditing project health?

Counting lines of code for auditing project health involves generating LOC and file-count summaries to estimate project size and complexity. This approach also provides a language breakdown by repository contents and per-folder stats to understand code distribution.

Do I need pygount installed to get code metrics and file counts?

Yes, you need pygount installed to get code metrics and file counts. The analysis requires pygount and a target path to produce the lines of code, language breakdown, and file tallies for your codebase.

Can I use codebase inspection for comparing multiple repositories?

Yes, you can use codebase inspection for comparing multiple repositories. It generates per-folder stats and language contribution breakdowns, which are explicitly designed for assessing onboarding needs and comparing different codebases.

How does a language breakdown tool work with mixed codebases?

A language breakdown tool works with mixed codebases by analyzing the target path to produce language counts, code and comment lines, and file tallies. It applies to repositories of any size and language to show code distribution.