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

gh-feedback

v3.0.0

Published

Read, reply, react, and resolve GitHub PR feedback on the current branch

Readme

gh-feedback

Semantic CLI for GitHub pull request feedback workflow. Provides workflow-oriented commands for handling reviews, threads, and comments on the current branch's PR.

Installation

npm install -g gh-feedback

Prerequisites

  • Node.js 22.14+
  • Git repository with origin remote
  • GitHub CLI (gh) authenticated
  • Git installed (git)

Custom Paths

To use a specific binary (or one not in PATH), set:

export GH_FEEDBACK_GH_PATH=/path/to/gh
export GH_FEEDBACK_GIT_PATH=/path/to/git

Usage

# Get all PR feedback with status
gh-feedback summary

# Get TSV output for scripting
gh-feedback summary --porcelain

# Get full content of a specific item
gh-feedback detail 123456

# Mark item as work-in-progress
gh-feedback start 123456

# Mark as agreed/fixed (reply + resolve)
gh-feedback agree 123456 -m 'Fixed in commit abc123'

# Same, but read the message from stdin (scriptable)
printf '%s\n' 'Fixed in commit abc123' | gh-feedback agree 123456

# Heredoc for messages with special characters (backticks, $, {})
gh-feedback disagree 123456 -f - <<'EOF'
In destructuring, `const { foo: foo } = obj` is equivalent to `const { foo } = obj`.
Updated transform and added test coverage.
EOF

# Mark as disagreed/won't fix
gh-feedback disagree 123456 -m 'Intentional, see docs'

# Request clarification
gh-feedback ask 123456 -m 'Could you clarify the expected behavior?'

# Acknowledge noise (hide)
gh-feedback ack 123456

# Preview any action without executing
gh-feedback agree 123456 -m 'Fixed' --dry-run

Commands

| Command | Description | | ------------------------ | --------------------------------------------- | | summary | Get all PR feedback with semantic status | | detail <id> | Fetch full untruncated content | | start <id> | Mark as work-in-progress (adds eyes reaction) | | agree <id> -m "..." | Fixed (reply + thumbs_up + resolve) | | disagree <id> -m "..." | Won't fix (reply + thumbs_down + resolve) | | ask <id> -m "..." | Need clarification (reply + confused) | | ack <id> | Acknowledge noise (rocket + hide) |

Summary Output

The summary command outputs all PR feedback with semantic status. Status combines your reactions with resolution state:

| Status | Meaning | | ---------------- | --------------------------------------- | | pending | Needs attention (no reaction, not done) | | in-progress | Being worked on (not yet resolved) | | awaiting-reply | Asked question, waiting for answer | | agreed | Fixed (👍 + resolved) | | disagreed | Won't fix (👎 + resolved) | | acknowledged | Noted, no action (🚀 + hidden) |

Output Formats

  • TTY (default): Human-readable multi-line format
  • Non-TTY / --porcelain: Tab-separated values (TSV) for scripting
  • --json: Machine-readable JSON output

TSV Columns

ID  TIMESTAMP  STATUS  AUTHOR  LOCATION  BODY  RESPONSES

Unix Pipeline Examples

# Filter to only pending items
gh-feedback summary | awk -F'\t' '$3 == "pending"'

# Filter to items awaiting reply
gh-feedback summary | awk -F'\t' '$3 == "awaiting-reply"'

# Sort by timestamp (oldest first)
gh-feedback summary | tail -n +2 | sort -t$'\t' -k2

# Count items by status
gh-feedback summary | tail -n +2 | cut -f3 | sort | uniq -c

# Get just IDs of pending items
gh-feedback summary | awk -F'\t' '$3 == "pending" {print $1}'

# Filter items in a specific file
gh-feedback summary | awk -F'\t' '$5 ~ /src\/auth/'

# JSON output with jq (redirect stderr to suppress progress message)
gh-feedback summary --json 2>/dev/null | jq '.items[0]'

Agent Rule

Add to your CLAUDE.md or AGENTS.md:

# Rule: gh-feedback CLI Usage

`gh-feedback` is a globally available CLI. Prefer it over `gh` for PR feedback operations. Use it to get PR feedback summaries, mark items as in-progress/agreed/disagreed, request clarifications, and acknowledge feedback. Always operates on the current branch's PR.

Before first use in a session, run `gh-feedback --help` and subcommand help (e.g., `gh-feedback agree --help`) to learn available commands and options.

Slash Command

A ready-made slash command is available in the repository at slash-command/process-feedback.md. The prompt works with Claude Code, Cursor, and other agents that support markdown-based commands.

To install for Claude Code, download the file to your project's .claude/commands/ directory. Then invoke with /process-feedback. The command systematically processes all PR feedback items: fixing issues, disagreeing with evidence, acknowledging bot noise, or requesting clarification.

License

MIT