codebase-inspection

Analyze codebases with pygount to produce language breakdowns, file counts, and metric summaries.

1|Updated May 10, 2026
One-click install
npx skills add https://github.com/Dq666dinger/my-hermes --skill codebase-inspection-dq666dinger
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/Dq666dinger/my-hermes/tree/main/skills/github/codebase-inspection
Command: npx skills add https://github.com/Dq666dinger/my-hermes --skill codebase-inspection-dq666dinger

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze codebases to quantify LOC, language mix, and code-vs-comment ratios using pygount.

Core Features & Use Cases

  • Language breakdown: Generate per-language counts, bytes, and file distribution.
  • Code metrics: Compute LOC, comments, and ratios for quality audits.
  • Use Case: Ideal for repository health checks during migrations or refactors.

Quick Start

Run pygount on /path/to/repo to generate a language breakdown, file counts, and code-vs-comment ratios.

Frequently Asked Questions about codebase-inspection

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

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

You can measure lines of code and language breakdown by running pygount on your repository path to generate per-language file counts, bytes, and code-to-comment ratios.

What is the best way to measure code-to-comment ratios for a repository audit?

Measuring code-to-comment ratios for a repository audit involves analyzing the codebase with pygount to compute LOC and comment metrics, producing summaries ideal for health checks during migrations or refactors.

Can I analyze code metrics and LOC for a monorepo with multiple languages?

Yes, you can analyze code metrics and LOC for a monorepo with multiple languages by running pygount to generate a complete language breakdown and file counts across the entire codebase.

How do I configure folder exclusion when analyzing codebase metrics?

Configuring folder exclusion when analyzing codebase metrics is handled through provided commands and options in pygount, allowing you to skip specific directories during LOC and language analysis.

Does pygount require any dependencies to perform a codebase analysis?

Performing a codebase analysis with pygount satisfies its installation automatically through provided commands, requiring no separate dependencies to quantify LOC, language mix, and comment ratios.

When do I need to analyze codebase metrics and language distribution?

You need to analyze codebase metrics and language distribution during repository health checks, migrations, or refactors to quantify LOC, assess language mix, and evaluate code quality ratios.