skills/smithery.ai/fetch-unresolved-comments

fetch-unresolved-comments

SKILL.md

Fetch Unresolved PR Review Comments

Uses GitHub's GraphQL API to fetch only unresolved review thread comments from a pull request.

When to Use

  • You need to get only unresolved review comments from a PR
  • You want to filter out already-resolved feedback

Instructions

  1. Get PR URL:

    • First check for environment variables:
      • If PR_NUMBER and GITHUB_REPOSITORY are set, construct URL as https://github.com/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}
    • Otherwise:
      • Use gh pr view --json url -q '.url' to get the current branch's PR URL
  2. Run the skill:

Installs
2
First Seen
Apr 10, 2026