code-stats

Solid

Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs). Get quick project overview without manual counting. Triggers on: how big is codebase, count lines of code, what languages, show semantic diff, compare files, code statistics.

AI & Automation 42 stars 7 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
54
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Code Statistics Quickly analyze codebase size, composition, and changes. ## tokei - Line Counts ```bash # Count all code tokei # Compact output sorted by code tokei --compact --sort code # Specific languages tokei --type=TypeScript,JavaScript # Exclude directories tokei --exclude node_modules --exclude dist # JSON output for scripting tokei --output json | jq '.Total.code' ``` ### Sample Output ``` =============================================================================== Language Files Lines Code Comments Blanks =============================================================================== TypeScript 45 12847 9823 1456 1568 JavaScript 12 2341 1876 234 231 ------------------------------------------------------------------------------- Total 57 15188 11699 1690 1799 =============================================================================== ``` ## difft - Semantic Diffs ```bash # Compare files difft old.ts new.ts # Inline mode difft --display=inline old.ts new.ts # With git GIT_EXTERNAL_DIFF=difft git diff GIT_EXTERNAL_DIFF=difft git show HEAD~1 ``` ### Why Semantic? | Traditional diff | difft | |-----------------|-------| | Line-by-line | AST-aware | | Shows moved as delete+add | Recognizes moves | | Whitespace sensitive | Ignores formatting | ## Quick Reference | Task | Com...

Details

Author
0xDarkMatter
Repository
0xDarkMatter/claude-mods
Created
10 months ago
Last Updated
1 weeks ago
Language
Shell
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Solid

code-stats

Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs). Get quick project overview without manual counting. Triggers on: how big is codebase, count lines of code, what languages, show semantic diff, compare files, code statistics.

427 Updated yesterday
aiskillstore
Data & Documents Listed

code-kg

Builds and queries a SQLite+FTS5 knowledge graph over any codebase - import/dependency edges, symbols with line ranges, entry points, liveness tiers that shortlist dead code, agent-tooling layer, data-store inventory. Parses python, javascript/typescript, go, rust, c/c++, java, c#, powershell, bash, sql, terraform, docker/compose/CI yaml, make, html/css, json, toml and markdown, stdlib only; understands tsconfig aliases and Django/Next.js wiring. Use to index, map or query a repo ("what imports X", "blast radius", "find dead code", "what databases does this use"), orient in an unfamiliar repo, trace how two files connect, or fold test coverage in to find never-executed code. Markdown corpora go to obsidian-kg. Fully offline except `coverage run` and `data --inspect`, both consent-gated.

1 Updated 3 weeks ago
anton-winter-arch
Data & Documents Listed

code-kg

Builds and queries a SQLite+FTS5 knowledge graph over any codebase - import/dependency edges, symbols with line ranges, entry points, liveness tiers that shortlist dead code, agent-tooling layer, data-store inventory. Parses python, javascript/typescript, go, rust, c/c++, java, c#, powershell, bash, sql, terraform, docker/compose/CI yaml, make, html/css, json, toml and markdown, stdlib only; understands tsconfig aliases and Django/Next.js wiring. Use to index, map or query a repo ("what imports X", "blast radius", "find dead code", "what databases does this use"), orient in an unfamiliar repo, trace how two files connect, or fold test coverage in to find never-executed code. Markdown corpora go to obsidian-kg. Fully offline except `coverage run` and `data --inspect`, both consent-gated.

0 Updated today
thefilesareinthecomputer