Skip to content

flurdy/agent-skills / skills/pr-status

pr-status

Verified

Show enriched status of your open PRs — CI checks, approvals, unresolved review threads, and linked Jira discussion, with transition-driven suggested next actions.

tests/fixtures/all-sources.json

View on GitHub
{
  "initial": {
    "data": {
      "viewer": {"login": "ivar"},
      "repository": {
        "pr0": {
          "number": 42,
          "url": "https://github.com/acme/widgets/pull/42",
          "headRefOid": "sha42",
          "reviewThreads": {
            "nodes": [
              {
                "id": "T1",
                "isResolved": false,
                "isOutdated": false,
                "path": "src/app.py",
                "line": 12,
                "originalLine": 10,
                "comments": {
                  "nodes": [
                    {"id": "C1", "databaseId": 101, "author": {"login": "alice", "__typename": "User"}, "body": "Please add a null guard before dereferencing this value.", "createdAt": "2026-07-30T10:00:00Z", "updatedAt": "2026-07-30T10:00:00Z", "url": "https://github.com/acme/widgets/pull/42#discussion_r101", "replyTo": null},
                    {"id": "C2", "databaseId": 102, "author": {"login": "ivar", "__typename": "User"}, "body": "Done.", "createdAt": "2026-07-30T10:05:00Z", "updatedAt": "2026-07-30T10:05:00Z", "url": "https://github.com/acme/widgets/pull/42#discussion_r102", "replyTo": {"id": "C1", "databaseId": 101}}
                  ],
                  "pageInfo": {"hasNextPage": false, "endCursor": null}
                }
              },
              {
                "id": "T2",
                "isResolved": true,
                "isOutdated": false,
                "path": "src/app.py",
                "line": 20,
                "originalLine": 20,
                "comments": {
                  "nodes": [
                    {"id": "C3", "databaseId": 103, "author": {"login": "copilot-pull-request-reviewer[bot]", "__typename": "Bot"}, "body": "```suggestion\nsafe_call()\n```", "createdAt": "2026-07-30T10:10:00Z", "updatedAt": "2026-07-30T10:10:00Z", "url": "https://github.com/acme/widgets/pull/42#discussion_r103", "replyTo": null}
                  ],
                  "pageInfo": {"hasNextPage": false, "endCursor": null}
                }
              },
              {
                "id": "T3",
                "isResolved": false,
                "isOutdated": true,
                "path": "src/old.py",
                "line": null,
                "originalLine": 8,
                "comments": {
                  "nodes": [
                    {"id": "C4", "databaseId": 104, "author": {"login": "amazon-q-developer[bot]", "__typename": "Bot"}, "body": "Security: this could expose a token.", "createdAt": "2026-07-30T10:15:00Z", "updatedAt": "2026-07-30T10:15:00Z", "url": "https://github.com/acme/widgets/pull/42#discussion_r104", "replyTo": null}
                  ],
                  "pageInfo": {"hasNextPage": false, "endCursor": null}
                }
              }
            ],
            "pageInfo": {"hasNextPage": false, "endCursor": null}
          },
          "reviews": {
            "nodes": [
              {"id": "R1", "databaseId": 201, "author": {"login": "bob", "__typename": "User"}, "state": "COMMENTED", "body": "Could this fail when the input is empty?", "submittedAt": "2026-07-30T11:00:00Z", "updatedAt": "2026-07-30T11:00:00Z", "url": "https://github.com/acme/widgets/pull/42#pullrequestreview-201"},
              {"id": "R2", "databaseId": 202, "author": {"login": "carol", "__typename": "User"}, "state": "APPROVED", "body": "Looks good.", "submittedAt": "2026-07-30T11:10:00Z", "updatedAt": "2026-07-30T11:10:00Z", "url": "https://github.com/acme/widgets/pull/42#pullrequestreview-202"},
              {"id": "R3", "databaseId": 203, "author": {"login": "review-bot[bot]", "__typename": "Bot"}, "state": "CHANGES_REQUESTED", "body": "This must be fixed before merge.", "submittedAt": "2026-07-30T11:20:00Z", "updatedAt": "2026-07-30T11:20:00Z", "url": "https://github.com/acme/widgets/pull/42#pullrequestreview-203"},
              {"id": "R4", "databaseId": 204, "author": {"login": "dave", "__typename": "User"}, "state": "DISMISSED", "body": "Old request.", "submittedAt": "2026-07-30T11:30:00Z", "updatedAt": "2026-07-30T11:30:00Z", "url": "https://github.com/acme/widgets/pull/42#pullrequestreview-204"},
              {"id": "R5", "databaseId": 205, "author": {"login": "ivar", "__typename": "User"}, "state": "PENDING", "body": "Draft review.", "submittedAt": null, "updatedAt": "2026-07-30T11:40:00Z", "url": null}
            ],
            "pageInfo": {"hasNextPage": false, "endCursor": null}
          },
          "comments": {
            "nodes": [
              {"id": "I1", "databaseId": 301, "author": {"login": "erin", "__typename": "User"}, "body": "Can you explain why this deliberately long conversation comment needs the fallback and whether the edge case is covered by a test?", "createdAt": "2026-07-30T12:00:00Z", "updatedAt": "2026-07-30T12:00:00Z", "url": "https://github.com/acme/widgets/pull/42#issuecomment-301"},
              {"id": "I2", "databaseId": 302, "author": {"login": "preview-deploy[bot]", "__typename": "Bot"}, "body": "Deployment status report: preview is ready.", "createdAt": "2026-07-30T12:10:00Z", "updatedAt": "2026-07-30T12:10:00Z", "url": "https://github.com/acme/widgets/pull/42#issuecomment-302"},
              {"id": "I3", "databaseId": 303, "author": {"login": "ivar", "__typename": "User"}, "body": "Context from the author.", "createdAt": "2026-07-30T12:20:00Z", "updatedAt": "2026-07-30T12:20:00Z", "url": "https://github.com/acme/widgets/pull/42#issuecomment-303"}
            ],
            "pageInfo": {"hasNextPage": false, "endCursor": null}
          },
          "files": {
            "nodes": [{"path": "src/app.py"}],
            "pageInfo": {"hasNextPage": false, "endCursor": null}
          }
        }
      }
    }
  },
  "connectionPages": {},
  "rest": {
    "repos/acme/widgets/commits/sha42/check-runs?per_page=100&page=1": {
      "check_runs": [
        {"id": 401, "name": "lint", "annotations_count": 3, "completed_at": "2026-07-30T12:30:00Z", "updated_at": "2026-07-30T12:30:00Z", "html_url": "https://github.com/acme/widgets/actions/runs/401"}
      ]
    },
    "repos/acme/widgets/check-runs/401/annotations?per_page=100&page=1": [
      {"path": "src/app.py", "start_line": 33, "end_line": 33, "annotation_level": "warning", "title": "Unused value", "message": "Remove this unused value.", "raw_details": "lint warning", "blob_href": "https://github.com/acme/widgets/blob/sha42/src/app.py#L33"},
      {"path": "docs/readme.md", "start_line": 1, "end_line": 1, "annotation_level": "warning", "title": "Noise", "message": "Unchanged-file warning.", "raw_details": null, "blob_href": null},
      {"path": "src/app.py", "start_line": 40, "end_line": 40, "annotation_level": "notice", "title": "FYI", "message": "Informational annotation.", "raw_details": null, "blob_href": null}
    ]
  }
}
planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.Stars: 108kUpdated Claude CodeCodexVerifiedInstall
meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要".Stars: 108kUpdated Claude CodeCodexVerifiedInstall