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

@abhaydesu/git-pilot

v1.2.0

Published

<div align="center" display="inline"> <img width="40" height="40" alt="logo" src="./public/logo-dark-new.png" /> </div>

Readme

Git Pilot

NPM Version

An AI-powered assistant that lives in your command line to streamline your Git workflow. Never write a commit message or look up a command again.


The Problem

Remembering complex commands like interactive rebase can be a pain. Writing well-formatted commit messages is a chore. Git is powerful, but its interface can sometimes get in the way of a fast workflow.

Git Pilot solves this by acting as your intelligent copilot, translating your natural language intent into the exact commands and messages you need.

Features

  • AI-Powered Commit Messages: Analyzes your staged changes (git diff) and generates a perfect commit message following the Conventional Commits specification. Just run git pilot commit <your_intent>
  • Natural Language to Git Command: Translate plain English requests like "squash the last 3 commits" into the precise Git command. One simple git pilot run <your_request>
  • Magic Undo: Made a mistake? git pilot undo analyzes your recent history and suggests the exact command to reverse your last action.
  • Intelligent Branching: Describe your goal, and git pilot branch will create a clean, conventional branch name for you.
  • Interactive & Safe: Always asks for your confirmation before executing any command. You can also edit any AI suggestion to get it just right.

Installation

Make sure you have Node.js (v18+) and Git installed. Then, run the following command to install Git Pilot globally:

npm install -g @abhaydesu/git-pilot

◾ Usage

Generating a Commit Message

Stage your files (git add .), then run git pilot commit. This command analyzes your staged changes and generates a conventional commit message.

With an Intent

Provide a brief description of your changes, and the AI will use it to write the commit message.


git pilot commit "add new user profile page"
Without an Intent

If you don't provide an intent, the AI will analyze the diff of your staged files and generate a message automatically.


git pilot commit

After running, you can accept, edit, or abort the suggested commit.

Running a Git Command

Run the run command with the task you want to perform. The tool will suggest a command and ask for confirmation.


git pilot run "cherry-pick the last commit from the main branch" 

Creating a New Branch

Describe the purpose of your new branch, and let the AI generate a conventional name.


git pilot branch "create a new feature for the auth system"

Undoing a Mistake

If you've made a mistake (like a bad commit or merge), this command will analyze your history and suggest the safest way to undo it.


git pilot undo 

◾ How It Works

Git Pilot is a CLI tool that communicates with a secure backend API. This API uses Google's Gemini models to understand your intent and analyze code, keeping your API keys safe and off your local machine.

◾ License

This project is licensed under the MIT License.