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

@feniix/pi-devtools

v3.1.1

Published

Devtools extension for pi — branch and PR workflow, release automation, PR feedback resolution, merge commands, with GitHub and Linear tracker support

Readme

@feniix/pi-devtools

Devtools extension for pi — branch and PR workflow, release automation, and merge commands.

Features

  • Git Workflow Tools: Create branches, commit, push, create PRs
  • Merge Commands: Merge or squash-merge PRs with observable, worktree-safe branch cleanup
  • Release Automation: Analyze commits, bump versions, generate changelogs, create releases
  • CI Status Checking: Check GitHub Actions status before merging or releasing

Install

pi install npm:@feniix/pi-devtools

Ephemeral (one-off) use:

pi -e npm:@feniix/pi-devtools

Active Working Directory and Worktrees

Every tool runs Git, GitHub CLI, and repository-relative file operations in Pi's active working directory (active cwd), not the extension process directory. devtools_get_repo_info reports the active worktree root, linked worktree context, detached HEAD state, Git directories, and all parsed worktree records.

When merge cleanup is requested, remote and local cleanup are attempted and reported separately. Occupied branches are retained when checked out by the active or another linked worktree, including locked or conservatively retained prunable records. A retained branch or cleanup failure does not change a successful merge into a failed merge.

The extension observes worktree topology for safety, but it will never create, remove, unlock, or prune worktrees. It also does not switch to or update the default branch after a merge.

Tools

Branch & PR Tools

| Tool | Description | |------|-------------| | devtools_create_branch | Create and switch to a new git branch | | devtools_commit | Stage files and create a commit with conventional format | | devtools_push | Push branch to remote with upstream tracking | | devtools_create_pr | Create a GitHub pull request | | devtools_get_repo_info | Get active worktree, linked/detached context, default branch, and status |

Merge Tools

| Tool | Description | |------|-------------| | devtools_merge_pr | Merge a PR with optional best-effort remote and local branch cleanup | | devtools_squash_merge_pr | Squash-merge a PR with optional best-effort remote and local branch cleanup | | devtools_check_ci | Check CI status for a PR or the current branch |

Release Tools

| Tool | Description | |------|-------------| | devtools_get_latest_tag | Get the latest version tag from git | | devtools_analyze_commits | Analyze commits since last tag to determine version bump | | devtools_bump_version | Update version in package.json | | devtools_create_release | Create a GitHub release with changelog |

Skills

  • brpr: Branch, commit, push, and open PR workflow
  • release: Automated release process with changelog generation
  • merge: Merge or squash-merge PRs

Configuration

Required: GitHub CLI

The gh CLI must be installed and authenticated:

gh auth login

Optional: Default Branch

The extension auto-detects the default branch, but you can set it explicitly:

export DEFAULT_BRANCH=main  # or 'master'

Requirements

  • pi v0.51.0 or later
  • git CLI
  • gh CLI (authenticated)
  • jq (for JSON parsing)

License

MIT