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

@sbakolis/organize-pr-topics

v0.1.5

Published

This agent skill organizes the current GitHub PR into agent-proposed topics and launches a local review GUI.

Readme

Organize PR Topics

This agent skill organizes the current GitHub PR into agent-proposed topics and launches a local review GUI.

Repository: https://github.com/SBakolis/review-topics

Requirements

  • Node.js 20 or newer
  • npm
  • GitHub CLI (gh)
  • An authenticated GitHub CLI session (gh auth login)

For Users

Install the global CLI, then run the skill installer with npx:

npm install -g @sbakolis/organize-pr-topics
npx @sbakolis/organize-pr-topics install-skill

The direct organize-pr-topics ... command also works when npm's global bin directory is on your PATH. The npx form avoids shell command not found errors when that directory is not configured.

By default, install-skill detects available agent config directories and asks where to install the skill and /review-topics command:

  • Claude Code: ~/.claude/skills/organize-pr-topics/SKILL.md and ~/.claude/commands/review-topics.md
  • opencode: ~/.config/opencode/skills/organize-pr-topics/SKILL.md and ~/.config/opencode/commands/review-topics.md

If both ~/.claude and ~/.config/opencode exist, the interactive installer lets you choose Claude Code, opencode, or both. If only one is detected, it asks for confirmation before installing into that agent. In non-interactive shells, pass --agent explicitly.

To install a specific target without prompting, pass --agent explicitly:

npx @sbakolis/organize-pr-topics install-skill --agent claude
npx @sbakolis/organize-pr-topics install-skill --agent opencode
npx @sbakolis/organize-pr-topics install-skill --agent both

Restart the relevant agent after installing the skill. Then ask the agent to organize a GitHub PR into review topics, or invoke the installed skill naturally from a PR branch.

The installed skill uses these package commands:

npx @sbakolis/organize-pr-topics check-gh
npx @sbakolis/organize-pr-topics prepare-session .pr-topic-review-session.json
npx @sbakolis/organize-pr-topics start-review .pr-topic-review-session.json

Usage

Preferred command:

/review-topics

With no arguments, the command asks which PR to review. It offers the most recent open PR for the checked-out branch when one exists. If no checked-out branch PR exists, it asks for a PR number or offers recent open PRs.

Direct PR number fast path:

/review-topics <pr-number>

Natural-language invocation remains supported: ask the agent to organize a GitHub PR into review topics and launch the review GUI.

For Development

Contributor setup from this package directory:

npm install
npm run dev
npm run build
npm test

npm run dev starts the TypeScript server with Vite middleware for local development only. Published users run the prebuilt production server through npx @sbakolis/organize-pr-topics start-review.

Useful contributor commands:

npm run check-gh
npm run prepare-session -- .pr-topic-review-session.json
PR_TOPIC_SESSION_PATH=.pr-topic-review-session.json npm run dev

Troubleshooting

  • Missing gh: install GitHub CLI. On macOS, run brew install gh.
  • Unauthenticated gh: run gh auth login.
  • No PR found: checkout a branch that has an open PR, or use gh pr checkout <number>.
  • Comment anchoring failed: the GUI posts a PR-level fallback comment instead of risking a wrong inline anchor.