code-complexity-stats-pr

Installation
SKILL.md

Code complexity / cost stats on every PR

A GitHub Actions workflow that runs scc (Sloc, Cloc and Code) over the repo on each pull request and posts the results β€” including a COCOMO estimated cost/effort to build the codebase β€” as a single sticky comment that updates in place on every push. Drop-in workflow: templates/code-complexity.yml.

What you get

scc prints a per-language table (files, lines, code, comments, blanks, complexity) plus, with --avg-wage, a COCOMO block: estimated person-months, schedule, people, and a dollar cost to develop. The workflow wraps that in a fenced block and posts it as a PR comment titled πŸ“Š Code Complexity Analysis.

It reports the whole codebase at the PR's head, not the diff β€” it's a "what's this project worth / how big it is" signal, not a per-PR delta.

Install

Installs
31
GitHub Stars
4
First Seen
Jun 27, 2026
code-complexity-stats-pr β€” stealth-factory/skills