npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

comprehende

v0.11.0

Published

Local review assistant that groups git diffs so humans can comprehend AI code changes.

Readme

Comprehende

npm

Comprehende groups a git diff by review concern and shows the groups in a local web UI. Your coding agent writes the summaries. The diff always comes from git in your repository, never from the model, and the review file never stores it.

Install

npx skills add matemolnar8/comprehende

Requires Node.js 24+ and git.

Use

Inside the repository you want to review, run /comprehende in your coding agent. Name what to review: a pull request, a branch, or the changes from the last turn. The agent writes a review file and prints a local URL for the UI.

When the branch gets new commits, run it again. The agent keeps the existing groups and rewrites only the ones that changed.

Why

AI coding agents write more code than we can read line by line. Three ideas explain the risk.

Cognitive offloading means you give a tool the how and keep the why and the what. A calculator adds two numbers, but you chose the numbers and you know why you need the sum.

Cognitive surrender means you stop forming your own answer and take the tool's answer, with nothing of your own to compare it to. The calculator picks the numbers too, and you accept the result.

Comprehension debt is the gap between the code in a system and how much of it its developers and operators understand. It is like technical debt with two differences. Nobody chooses to take it on, and nobody sees it. The tests pass and the code looks clean, so nobody knows where the debt is until something breaks.

Each time we accept agent code without reading it, we surrender and the debt grows. It comes due at the worst time, during an incident or a long debug session.

Comprehende moves review from surrender back to offloading. You keep the speed of the agents and still understand what they changed.

CLI

The skill runs these commands for you. Run them inside the repository under review.

| Command | What it does | | ---------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | comprehende review [--base <ref>] [--head <ref>] --data <file> | Writes a review skeleton for base...head with one entry per changed file. The base defaults to origin/HEAD, then main or master. | | comprehende digest --base <ref> --head <ref> | Prints one line per changed file: kind, hunks, and symbols. A directory of renames gets one line. | | comprehende show --hunk <path@oldStart+newStart> | Prints the patch for one hunk or file. | | comprehende pregroup --base <ref> --head <ref> --data <file> | Writes a draft review that already groups repeated changes and mechanical files. | | comprehende validate --data <file> | Checks that every hunk ref points into live git and that every hunk is in a group. | | comprehende serve --data <file> | Serves the UI on a local URL. | | comprehende export --data <file> --out <dir> | Writes a static copy of the UI that any static file server can host. | | comprehende refresh --data <file> | Moves a review to new commits. Keeps unchanged hunks in their groups and puts new hunks in a draft group. |

The URL hash holds the UI location, so a shared link opens the same view in serve and export. After refresh, the What changed page (#changes, or h) compares the review with the old one.