codebase-inspection

Inspect codebases for LOC, language composition, and code-to-comment ratios using pygount.

Updated May 3, 2026
One-click install
npx skills add https://github.com/eliottbusiness/DeptFlow-Agent --skill codebase-inspection-eliottbusiness
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/eliottbusiness/DeptFlow-Agent/tree/main/profile/skills/github/codebase-inspection
Command: npx skills add https://github.com/eliottbusiness/DeptFlow-Agent --skill codebase-inspection-eliottbusiness

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pygount, and includes scripts (resource) components.

What problem does it solve?

This Skill helps users quickly understand the structure and composition of codebases by analyzing lines of code, language breakdown, and code-to-comment ratios.

Core Features & Use Cases

  • Lines of Code (LOC) Count: Obtain the total number of lines in the codebase.
  • Language Breakdown: Identify the programming languages used in the codebase.
  • Code-to-Comment Ratio: Understand the ratio of code to comments in the codebase.
  • Use Case: When a developer wants to assess the size and complexity of a repository or understand the programming language composition.

Quick Start

Run the codebase-inspection skill on your repository to get a summary of LOC, language breakdown, and code-to-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 get a language breakdown for my repository?

Codebase analysis calculates the code-to-comment ratio by comparing the volume of source code lines against comment lines, helping you evaluate documentation density and codebase complexity.

Do I need pygount to analyze codebase metrics and LOC count?

Yes, you need the pygount dependency installed to perform codebase analysis, as it provides the underlying mechanism to scan files and extract lines of code and language composition metrics.

Can I use codebase inspection to understand code-to-comment ratios?

Yes, codebase inspection analyzes your source files to calculate the code-to-comment ratio, providing a metric to evaluate documentation density and codebase complexity.

Do I need pygount to analyze codebase metrics and LOC count?

Yes, you need the pygount dependency installed to perform codebase analysis, as it is the library used to scan source files and extract lines of code and language composition metrics.

What is the best way to assess the programming language composition of a codebase?

The best way to assess language composition is to use an automated codebase analysis tool that inspects the repository to identify and categorize the programming languages used across all source files.