codebase-inspection

Analyzes codebases for lines of code, language distribution, and code-to-comment ratios using pygount.

Updated May 11, 2026
One-click install
npx skills add https://github.com/richardnguyen0715/keep-it-real --skill codebase-inspection-richardnguyen0715
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/richardnguyen0715/keep-it-real/tree/main/refer-projects/hermes-agent/skills/github/codebase-inspection
Command: npx skills add https://github.com/richardnguyen0715/keep-it-real --skill codebase-inspection-richardnguyen0715

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the process of inspecting codebases, providing insights into lines of code, language breakdown, and code ratios.

Core Features & Use Cases

  • LOC Count: Get a count of lines of code in a repository.
  • Language Breakdown: Analyze the distribution of programming languages in a codebase.
  • Code vs. Comment Ratios: Understand the ratio of code to comments in a repository.
  • Use Case: When you need to quickly assess the size and composition of a codebase.

Quick Start

Run the codebase-inspection skill on your repository to get a summary of LOC, languages, and ratios.

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?

You can analyze codebase metrics by running this Skill on your repository to get a summary of lines of code, language distribution, and code-to-comment ratios. It utilizes pygount for analysis.

What is the best way to check code-to-comment ratios in a codebase?

The best way to check code-to-comment ratios is using this Skill, which analyzes your codebase to calculate the proportion of comments relative to code. It provides a summary of these ratios for repository health checks.

Do I need pygount installed to count lines of code in my codebase?

Yes, pygount must be installed. This Skill requires the pygount dependency to perform its codebase analysis, counting lines of code and calculating language breakdowns and ratios.

Can I use this for a repository health check to assess codebase size?

Yes, this Skill is specifically applicable to repository health checks and codebase assessments. It analyzes repository size and composition by providing LOC, language breakdown, and code ratio metrics.

What programming languages does the codebase analysis support for language distribution?

The codebase analysis supports language distribution across the various programming languages detected by pygount in your repository. It breaks down the distribution of these languages to show your codebase's composition.