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

@firstpick/pi-extension-git-guided-workflow

v0.1.1

Published

Guided Git workflow for Pi TUI and WebUI with explicit commit and push safeguards.

Readme

Guided Git workflow for Pi

Use native Pi commands to generate Git text safely, or start a careful commit-and-push flow in Pi's terminal interface or a compatible WebUI.

What you can do

  • Generate validated Conventional Commit files from the complete staged diff with /git-staged-msg, including one bounded correction request when the first model response is invalid.
  • Generate a safe branch-name file with /git-branch-name.
  • Generate a reviewer-focused pull-request description with /pr.
  • Review staged changes, commit, and push through the existing /git-guided-workflow TUI flow.
  • Start the richer Guided Git browser flow from the same workflow command in a compatible WebUI.

Install

pi install npm:@firstpick/pi-extension-git-guided-workflow

Restart Pi and any connected WebUI tabs after installation.

How to use it

Open Pi inside the repository you want to work with. To use the guided flow, run:

/git-guided-workflow

In Pi's native terminal interface:

  1. Choose the current staged set or confirm Stage all changes.
  2. Write a message manually, or choose generation when an active model is available.
  3. Review the exact message and staged summary, then confirm the commit.
  4. Push to the shown destination, or finish with the commit kept locally.

In a compatible WebUI, the same command asks that WebUI to open its Guided Git workflow for the originating tab. The browser keeps its staging, generation-profile restoration, artifact checks, commit, push, and optional pull-request controls.

You can also generate artifacts directly:

/git-staged-msg en auto
/git-branch-name
/pr en

The commands write under dev/COMMIT/ and dev/PR/; they do not stage, commit, switch branches, push, or create a pull request.

Before you start

This extension runs Git with your user permissions. Review staged changes and displayed destinations carefully. The guided TUI never force-pushes, but a normal push still changes a remote repository.

Manual message entry never needs a model. Model generation sends the required complete, bounded Git or repository context directly to the active model provider only after you select generation or invoke a generation command. That content may contain private code, commit text, filenames, or a pull-request template. Do not generate unless sharing that content with the active provider is acceptable.

Generation commands use the active model directly. They do not expand prompt templates or ask a parent agent to run Git or file tools. /git-staged-msg reuses the staged-only language, scope, type, length, and body guidance from the standalone prompt as native model instructions. Those are quality guidelines, not reasons to discard a safe generated message. If the response cannot be safely parsed from the closed format, the command sends the same bounded staged context, bounded failed response, and validation feedback to the same model once more. A second unsafe or structurally invalid response is terminal. Repository drift, cancellation, or an unsafe artifact path produces no stale success.

Requesting the browser workflow sends no repository path, diff, preferences, or Git data in the activation signal. The WebUI then owns its browser workflow and generation-profile privacy behavior.

Git hooks and signing remain enabled for guided commits. Hooks can change the worktree or index while a commit is being created. A timed-out push can be uncertain; the workflow will not retry it automatically.

Technical details

See TECHNICAL.md for complete commands, limits, WebUI compatibility, safety, and troubleshooting. Contributors can use DEVELOPMENT.md.