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

@yaseen-vm/git-context

v0.1.4

Published

CLI tool that gathers and structures repository context for AI-powered code reviews

Readme

git-context

CLI tool that gathers and structures repository context for AI-powered code reviews. Generates a structured, AI-ready context package so AI systems can produce more accurate, architecture-aware, convention-compliant reviews.

Problem

AI code review tools only see the diff. Developers spend 15–30 minutes manually collecting related files, architecture notes, coding conventions, historical commits, and dependency context before each review session.

git-context reduces that to under 1 minute.

Installation

npm / npx

# Install globally
npm install -g git-context

# Or run without installing
npx git-context review --staged

Homebrew (macOS / Linux)

brew tap yaseen-vm/git-context
brew install git-context

Download binary

Pre-built binaries for Linux, macOS (Intel + Apple Silicon), and Windows are available on the releases page.

# macOS (Apple Silicon)
curl -L https://github.com/yaseen-vm/git-context/releases/latest/download/git-context-macos-arm64 -o /usr/local/bin/git-context
chmod +x /usr/local/bin/git-context

# macOS (Intel)
curl -L https://github.com/yaseen-vm/git-context/releases/latest/download/git-context-macos-x64 -o /usr/local/bin/git-context
chmod +x /usr/local/bin/git-context

# Linux
curl -L https://github.com/yaseen-vm/git-context/releases/latest/download/git-context-linux-x64 -o /usr/local/bin/git-context
chmod +x /usr/local/bin/git-context

Usage

git-context review [source] [options]

Sources

--staged              Changed files in the Git index
--unstaged            Changed files in the working directory
--commit <sha>        A specific commit
--branch <name>       All commits on a branch vs. base branch
--pr <number>         A GitHub/GitLab pull request

Options

--format <fmt>        Output format: markdown (default), json, prompt
--focus <type>        Review focus: security, performance, architecture, bug, refactor
--output <file>       Write output to a file instead of stdout
--max-tokens <n>      Target token budget for output
--no-history          Skip Git history analysis
--no-conventions      Skip convention extraction
--no-related          Skip related file discovery
--config <path>       Path to custom configuration file

Examples

# Review staged changes
git-context review --staged

# Review a branch with security focus
git-context review --branch feature/auth --focus security

# Review a PR and output JSON
git-context review --pr 42 --format json

# Write context to a file
git-context review --staged --output context.md

Requirements

  • Node.js >= 20 (for npm installation)
  • gh CLI (for --pr with GitHub) or glab CLI (for GitLab)

License

MIT