code-stats
// Visualizes repository complexity by counting files, lines of code, and grouping by extension. Use to assess project size or growth.
$ git log --oneline --stat
stars:1,933
forks:367
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
namecode-stats
descriptionVisualizes repository complexity by counting files, lines of code, and grouping by extension. Use to assess project size or growth.
Code Stats
Analyzes the current workspace to provide development metrics.
Usage
node skills/code-stats/index.js [path]
Defaults to current working directory if path is omitted.
Output
JSON object with:
files: Total file count.lines: Total line count (approximate).byExt: Breakdown by file extension.