codebase-inspection

Analyze repositories to compute LOC, languages, and file counts with pygount.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/x-TheFox/Corvus --skill codebase-inspection-x-thefox
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/x-TheFox/Corvus/tree/main/skills/github/codebase-inspection
Command: npx skills add https://github.com/x-TheFox/Corvus --skill codebase-inspection-x-thefox

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inspect codebases to compute LOC, languages, and code-vs-comment ratios using pygount.

Core Features & Use Cases

  • ** LOC & Language Breakdown**: Generate a precise breakdown of languages, file counts, and code vs. comments.
  • ** Repository Audits**: Quickly assess project size and language mix for onboarding, refactoring, or migration planning.
  • ** Use Case**: When given a repo, produce a metrics report to inform architecture decisions and maintenance priorities.

Quick Start

Run pygount on the target repository to generate a complete codebase metrics report including LOC, language distribution, and file counts.

Frequently Asked Questions about codebase-inspection

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

FAQPage Schema
How do I analyze a codebase to compute lines of code and language breakdown?▼

You can analyze repository codebases to compute LOC and language breakdown by running this Skill, which uses pygount to produce a structured metrics report including file counts and code-vs-comment ratios.

What is the best way to inventory a multi-language repository for migration planning?▼

Inventorying a multi-language repository for migration planning is done by generating a language distribution and LOC report. This Skill assesses project size and language mix to inform architecture decisions and maintenance priorities.

Do I need pygount installed to analyze repository metrics and code distribution?▼

Yes, you need pygount installed to analyze repository metrics and code distribution. The Skill requires pygount to compute lines of code, language breakdowns, and file counts for your projects.

Can I exclude specific folders when analyzing LOC and language distribution?▼

Yes, you can exclude specific folders when analyzing LOC and language distribution. The Skill supports folder exclusions and language filtering to produce an accurate codebase metrics report.

Does codebase LOC analysis work for projects of varying sizes and different programming languages?▼

Yes, codebase LOC analysis works for projects of varying sizes and different programming languages. It applies to diverse repositories to inventory codebases, assess language distribution, and monitor code growth over time.