codebase-inspection

Inspect codebases with pygount to report lines of code and language usage.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/Brilly-Bohyun/skill-repository --skill codebase-inspection-brilly-bohyun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/Brilly-Bohyun/skill-repository/tree/main/github/codebase-inspection
Command: npx skills add https://github.com/Brilly-Bohyun/skill-repository --skill codebase-inspection-brilly-bohyun

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 metrics such as lines of code, language breakdown, and file counts, enabling users to understand the size and composition of their repositories.

Core Features & Use Cases

  • LOC Count: Provides a quick count of lines of code across a repository.
  • Language Breakdown: Offers a detailed analysis of the programming languages used in the codebase.
  • File Counts: Lists the number of files for each language in the repository.
  • Code vs. Comment Ratios: Calculates the ratio of code to comment lines.
  • Use Case: Ideal for developers or project managers who need to quickly assess the size and complexity of their codebase.

Quick Start

To inspect your codebase, use the codebase-inspection skill with the command 'inspect my-repo'.

Frequently Asked Questions about codebase-inspection

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

FAQPage Schema
How do I get a lines of code count for my repository?

To get a lines of code count for your repository, you can use this skill to inspect the codebase and provide total LOC metrics. It analyzes the directory and returns the exact line counts across all files.

What is included in a codebase language breakdown analysis?

A codebase language breakdown analysis includes a detailed list of programming languages used and the file count for each language. It calculates the code-to-comment ratios to help you understand the repository's composition.

Can I use pygount to assess code complexity and file counts?

Yes, you can use pygount to assess codebase metrics because this skill relies on it to perform the analysis. It scans the repository to deliver file counts, language usage, and lines of code data.

How do I quickly inspect a codebase for an audit?

To quickly inspect a codebase for an audit, trigger the skill with your repository directory to generate immediate metrics. It outputs the lines of code, language breakdown, and file counts needed for the assessment.

Does this code analysis tool calculate code-to-comment ratios?

Yes, this code analysis tool calculates code-to-comment ratios as part of its core codebase inspection features. It uses pygount to evaluate the relationship between executable code and comment lines in the repository.