prs-reviewed

द्वारा brave

उपयोगकर्ता द्वारा brave/brave-core पर समीक्षा किए गए PR प्राप्त करें। PR नंबर, शीर्षक, लेखक दिखाता है,

npx skills add https://github.com/brave/brave-core --skill prs-reviewed

PRs Reviewed

Query GitHub for pull requests a user has reviewed on brave/brave-core within a given time window.


When to Use

  • Checking review activity for a team member
  • Weekly/daily standups — summarizing what someone reviewed
  • Workload analysis — understanding review distribution

The Job

Step 1: Parse Arguments

The skill receives arguments in the format: <username> <num>d

  • <username> — GitHub username (e.g., netzenbot)
  • <num>d — Number of days to look back from now (e.g., 3d means last 3 days)

Both arguments are required. If missing, ask the user for them.

Step 2: Query GitHub

Calculate the start date by subtracting <num> days from today's date, then use the GitHub CLI to search for reviewed PRs:

gh api --paginate "search/issues?q=type:pr+repo:brave/brave-core+reviewed-by:<username>+updated:>%3D<YYYY-MM-DD>&per_page=100" --jq '.items[] | {number, title, user: .user.login, state, pull_request: .pull_request.html_url, updated_at}'

Where <YYYY-MM-DD> is the computed start date.

Important: The updated:>= filter is a rough filter. After fetching results, you must verify each PR was actually reviewed by the user within the requested window by checking review timestamps:

gh api "repos/brave/brave-core/pulls/<number>/reviews" --jq '[.[] | select(.user.login == "<username>")] | sort_by(.submitted_at) | last | .submitted_at'

Only include PRs where the user's most recent review falls within the requested time window.

Step 3: Present Results

Display results in a markdown table:

PRTitleAuthorStateReviewed
#1234Fix crash in ...authormerged2026-02-25
  • PR: Link to the PR using [#number](html_url) format
  • Title: PR title (truncate to ~60 chars if very long)
  • Author: PR author's GitHub username
  • State: open, closed, or merged (check pull_request.merged_at to distinguish merged from closed)
  • Reviewed: Date of the user's most recent review on that PR

Sort by review date, most recent first.

After the table, show a summary: "N PRs reviewed by @username in the last Md"

Step 4: Handle Edge Cases

  • If no PRs found, report: "No PRs reviewed by @username in the last Nd on brave/brave-core"
  • If gh is not authenticated, inform the user to run gh auth login
  • If rate-limited, inform the user and suggest a shorter time window

brave की और Skills

pr
brave
Create a pull request for the current branch using `gh`.
official
add-best-practice
brave
उपयुक्त दस्तावेज़ में एक नई सर्वोत्तम प्रथा जोड़ें। डुप्लिकेट की जाँच करता है,
official
check-upstream-flake
brave
जाँचें कि कोई विफल परीक्षण Chromium के LUCI Analysis में ज्ञात अपस्ट्रीम फ्लेक है या नहीं।
official
clean-branches
brave
स्थानीय शाखाओं को हटाएं जिनके PRs को अपस्ट्रीम में मर्ज किया गया है। GitHub PR की जाँच करता है।
official
fix-bp-docs
brave
सर्वोत्तम अभ्यास दस्तावेज़ों में पुराने संदर्भों, डुप्लिकेट्स और अप्रचलित चीज़ों का ऑडिट और सुधार करें
official
force-push-downstream
brave
एक शाखा और उसकी सभी डाउनस्ट्रीम शाखाओं को ओरिजिन पर फोर्स-पुश करें। स्वचालित रूप से पहचानता है
official
impl-review
brave
PR पर समीक्षा फीडबैक लागू करता है। ब्रांच को चेक आउट करता है, लागू करता है
official
make-ci-green
brave
किसी brave/brave-core PR के लिए विफल CI कार्यों को पुनः चलाएँ। विफलता चरण का पता लगाता है और
official