/lfx-skills:lfx-pr-catchupfrom lfx-skills
Generates a compact terminal dashboard of your open pull requests, highlighting unresolved comments, status changes, stale PRs, and approved-but-not-merged PRs.
Ships in lfx-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You generate a compact terminal dashboard of the user's open pull requests, highlighting what needs attention, unresolved comments, status changes, stale PRs, and approved-but-not-merged PRs.
This skill is read-only. It never modifies code, creates branches, or pushes commits.
gh auth status 2>&1
If authentication fails, tell the user:
GitHub CLI is not authenticated. Please run:
gh auth login
Then try /lfx-pr-catchup again.
Stop here if auth fails.
Do NOT ask the user for preferences. Proceed immediately with defaults.
Defaults:
ORG_FILTER, empty string (all orgs)STALE_DAYS, 7The user can override these by including preferences in their initial message when invoking the skill (e.g., "/lfx-pr-catchup linuxfoundation" or "/lfx-pr-catchup stale=14"). If the user's message includes an org name, set ORG_FILTER to --owner <org>. If it includes a number for stale days, set STALE_DAYS accordingly. Otherwise, use defaults and move straight to Step 3.
gh search prs --author=@me --state=open --limit=50 --json repository,number,title,url,updatedAt,createdAt ${ORG_FILTER}
No PRs found: Display a friendly message:
No open PRs found! You're all caught up.
If an org filter was used, suggest: "Try without the org filter to check all repos." Stop here.
50 PRs returned (hit the limit): Warn the user:
You have 50+ open PRs, showing the first 50. Consider filtering by org to narrow results.
For each PR, fetch detailed review and thread data using a single GraphQL call. Process PRs in batches to avoid rate limiting.
gh api graphql -f query='
query($owner: String!, $repo: String!, $number: Int!) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $number) {
number
title
url
updatedAt
mergeable
reviewDecision
reviewThreads(first: 50) {
nodes {
isResolved
comments(first: 1) {
nodes {
author { login }
createdAt
}
}
}
}
reviews(last: 10) {
nodes {
state
author { login }
submittedAt
}
}
reviewRequests(first: 10) {
nodes {
requestedReviewer {
... on User { login }
... on Team { name }
}
}
}
}
}
}' -f owner="$OWNER" -f repo="$REPO" -F number=$NUMBER
After each batch of 10 GraphQL calls, check the rate limit:
gh api rate_limit --jq '.resources.graphql'
If remaining is below 100:
GitHub API rate limit approaching, showing partial results.
Rate limit resets at [reset time].
If a GraphQL call fails for a specific PR (403/404), skip it and add a note:
(skipped, repo not accessible)
Do not fail the entire dashboard.
If GraphQL calls fail entirely (e.g., auth scope issue), fall back to REST enrichment:
gh pr view $NUMBER --repo $OWNER/$REPO --json reviews,reviewDecision,reviewRequests
Note: REST fallback loses isResolved accuracy for review threads. Mention this in output:
(Note: using REST fallback, unresolved comment counts may be approximate)
For each PR, classify zero or more signals. A PR can have multiple signals.
!!)| Signal | Condition |
|---|---|
| Unresolved comments | reviewThreads has nodes where isResolved == false |
| Changes requested | reviews contains a review with state == "CHANGES_REQUESTED" that is not superseded by a newer review from the same author |
**)| Signal | Condition |
|---|---|
| Approved but not merged | reviewDecision == "APPROVED" and PR is still open |
| Stale | updatedAt is older than STALE_DAYS days ago |
| Signal | Condition |
|---|---|
| No reviewers assigned | reviewRequests is empty AND reviews is empty |
Output the dashboard directly as text. Use box-drawing characters for visual structure.
═══════════════════════════════════════════════════════════
PR CATCH-UP, [current date, e.g., March 17, 2026]
═══════════════════════════════════════════════════════════
[N] open PRs across [M] repos | [X] need attention | [Y] all clear
─── NEEDS ATTENTION ───────────────────────────────────────
[owner/repo]
#[number] [title]
!! [count] unresolved comments (from @[author1], @[author2])
!! Changes requested by @[reviewer] ([N] days ago)
[url]
#[number] [title]
** Approved but not merged (approved [N] days ago)
[url]
─── ALL CLEAR ─────────────────────────────────────────────
[owner/repo]
#[number] [title], [short status summary]
#[number] [title], [short status summary]
═══════════════════════════════════════════════════════════
owner/repo!! prefix = action needed (HIGH signals)** prefix = informational (MEDIUM signals)After rendering the dashboard, offer:
Want to dive deeper into any PR? Give me a number (e.g., #142) and I'll show:
- Full comment threads
- CI status details
- File diff summary
If the user provides a PR number, fetch and display:
# Review comments
gh pr view $NUMBER --repo $OWNER/$REPO --json comments,reviews,statusCheckRollup --template '...'
# CI status
gh pr checks $NUMBER --repo $OWNER/$REPO
Present the drill-down in a readable format, then offer to drill into another PR or end.
This skill DOES:
This skill does NOT:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub linuxfoundation/lfx-skills --plugin lfx-skills20 skills in this plugin
/lfxLFX cross-repo topology and ownership router. Use when the task spans more than one LFX repo, asks "which repo owns X", "where does Y live", "what repos does this touch", "what consumes Z", or needs a peer-repo file path from inside a single repo. Loads per-repo configs when invoked from the LFX workspace root with a full task prompt; gives targeted cross-repo guidance when invoked from inside a single repo. Also answers LFX glossary and topology questions, and performs read-only discovery when the user asks whether a contract, API, event, field, workflow, or repo capability exists. Do not fire for single-repo implementation tasks where the active repo's own CLAUDE.md already governs (those belong to the repo's local skills). Do not fire for V2 platform composition, service classes, or cross-service handoffs (use `/lfx-skills:lfx-platform-architecture`), ITX wrapper plumbing (`/lfx-skills:lfx-itx-integration`), or Intercom app/Fin workflows (`/lfx-skills:lfx-intercom`).
/lfx-cdp-snowflake-connectorsUse when adding a new snowflake-connector data source to crowd.dev — a new platform or a new source within an existing platform that needs buildSourceQuery, transformer, activity types, migration, and all associated type registrations scaffolded./lfx-data-engineerGuide non-dbt developers through building PR-ready data models, tests, and transformations in the lf-dbt repo. Encodes the medallion architecture (bronze/silver/gold/platinum), Snowflake SQL conventions, sqlfluff formatting, dbt testing patterns, key macros, and data governance rules. Use this skill any time someone asks about writing dbt models, adding data tests, creating SQL transformations, fixing pipeline failures, or contributing to the lf-dbt repository.
/lfx-general-code-reviewThe general code-review method for LFX local reviews — correctness, security, data privacy, error handling, simplicity, naming, DRY, testing, performance and style, plus the target repo's own written conventions, rules and checklists — over the one explicit pinned range the caller supplies. Reads the repo's rules from the repo; carries none of its own. Loaded by the `general` background reviewer that `/lfx-skills:lfx-pre-pr-review` launches. Returns an ordinary Markdown review./lfx-git-setupInteractive setup guide for LFX contributors to configure Git for DCO signoff and GPG-signed commits. Use this skill whenever someone asks about setting up Git signing, DCO signoff, GPG keys for commits, configuring `~/.gitconfig` for signing, adding a GPG key to GitHub, or any variation of "how do I sign my commits?". Also trigger it when a user says their commits aren't showing as "Verified" on GitHub, when they're onboarding to an LFX project and need to meet contribution requirements, or when they ask about `git commit -s`, `--signoff`, `Signed-off-by`, or `commit.gpgSign`. This skill works for technical and non-technical users alike.
/lfx-intercomEverything Intercom for LFX — Angular app integration (code) and Fin AI optimization (support/CX). Use this skill for: adding or fixing Intercom in an LFX Angular app, auditing integrations against the LFX canonical pattern, correcting missing JWT pre-set, broken shutdown, missing Auth0 claim, wrong app IDs, or absent CSP entries — AND for Fin Guidance writing, Help Center optimization, resolution rate improvement, Fin escalation patterns, Copilot tips, Topics Explorer, Fin Attributes, daily review rituals, Fin best practices, and writing or reviewing support content (Intercom articles or LFX in-app docs pages). Routes to the right section based on context. Trigger on: any Intercom question, "Fin tips", "improve Fin", "Fin guidance", "Fin resolution rate", "Help Center optimization", "Copilot tips", "Angular Intercom", "IntercomService", "JWT Intercom", "Fin re-engagement", "Fin handoff", "write a Help Center article", "rewrite this article", "review this article", "article standards", "write a docs page", "update the docs", "in-app docs", or any Intercom-related support or development question.
Other plugins' skills for the same job