codebase-inspection

Analyze codebases with pygount to report lines of code and language distribution.

31|3|Updated May 7, 2026
One-click install
npx skills add https://github.com/markwang2658/hermes-windows-native --skill codebase-inspection-markwang2658
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/markwang2658/hermes-windows-native/tree/main/hermes-agent/skills/github/codebase-inspection
Command: npx skills add https://github.com/markwang2658/hermes-windows-native --skill codebase-inspection-markwang2658

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze codebases to report lines of code, language distribution, and repository metrics using pygount.

Core Features & Use Cases

  • Generate a language and LOC breakdown for a repository.
  • Produce per-language file counts, code vs comments, and overall size metrics.
  • Use Case: When a new project is onboarded, quickly assess primary languages and code composition to guide maintenance planning.

Quick Start

Run pygount on the target repository to generate a language and LOC report.

Frequently Asked Questions about codebase-inspection

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

FAQPage Schema
How do I analyze codebase lines of code and language distribution for a repository?

You can analyze lines of code and language distribution by running pygount on the target repository to generate a per-language LOC breakdown, file counts, and code-vs-comment ratios.

What metrics are included in a code analysis report for repository size estimation?

A code analysis report for repository size estimation includes per-language file counts, total lines of code, code-vs-comment ratios, and overall language distribution metrics for the codebase.

Does pygount codebase analysis work on Windows, macOS, and Linux repositories?

Yes, pygount codebase analysis works on Linux, macOS, and Windows, allowing you to analyze software repositories of any size across these operating systems.

When do I need a language profiling report for a newly onboarded project?

You need a language profiling report during project onboarding to quickly assess primary languages and code composition, which helps guide maintenance planning and code-quality assessments.

Can I generate a dashboard-ready summary of code vs comments for my codebase?

Yes, you can generate a concise, dashboard-ready summary of code vs comments by using pygount to compute the code-vs-comment ratios and overall size metrics for your codebase.