Blog

Guides 11 min read
Code health explained: its metrics (complexity, coupling, coverage, churn, ownership), how each is computed, and how they roll up into a 1-to-10 score.
Read
Guides 9 min read
Code health measures how costly the next change to a file will be. See the 23 markers that score it, how to read a 1 to 10 score, and how to act on it.
ReadGuides
The C4 model describes software at four zoom levels: context, container, component and code. See each C4 diagram, the notation rules and a real example.
Read10 min read

Guides
Code churn is the amount of code added, changed or deleted over time. Measure it with git log --numstat, combine it with complexity, and avoid the common traps.
Read10 min read

Guides
The median merged pull request is 51 lines. We measured 3,202 merged PRs across 12 public repos, plus the limits Google and SmartBear recommend.
Read9 min read

Guides
A pull request checklist for authors and reviewers, ready-to-paste GitHub and GitLab templates, and the items a bot can check on every PR automatically.
Read9 min read

Guides
Tested commands to find circular dependencies in a monorepo: madge and dependency-cruiser for TypeScript, import-linter and pylint for Python, and Go.
Read10 min read

Guides
Generate an architecture diagram from a GitHub repo with GitDiagram, Eraser or repowise, checked edge by edge against Flask's real import graph.
Read9 min read

Guides
Five ways to generate C4 diagrams from source code, which C4 levels each can derive, and how to regenerate them on every push so they stop going stale.
Read9 min read

Guides
A five-day plan for learning a new codebase: get it running, trace one request, map modules and owners, ship a small change, then write down what you know.
Read8 min read

Guides
Generate a JavaScript or TypeScript dependency graph with madge, dependency-cruiser, Nx, esbuild or repowise, with the command and output for each.
Read8 min read

Guides
Codebase intelligence is a kept-current model of a repository: code graph, git history, docs, decisions and health, queried by people and agents over MCP.
Read8 min read

Guides
What CLAUDE.md and AGENTS.md are, which one each agent reads, what belongs in them, how to size them, and how to keep them current as the code changes.
Read8 min read

See what repowise finds in your own code in minutes. Or explore a live repo first.