Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

shepherd-prs

Skill by flutter

Shepherds pull requests in the flutter/flutter repository using the GitHub CLI (gh). It checks PR status, updates stale branches, and applies the autosubmit label to approved PRs. It is for Flutter contributors and maintainers.

  • Score 91
  • 181k stars
  • BSD-3-Clause
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install shepherd-prs

Built from the published package, never by AI.

git clone --depth 1 https://github.com/flutter/flutter /tmp/flutter && mkdir -p ~/.claude/skills && cp -r /tmp/flutter/.agents/skills/shepherd-prs ~/.claude/skills/shepherd-prs

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install shepherd-prs in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The shepherd-prs skill is a runbook for handling pull requests in the flutter/flutter repository with the GitHub CLI (gh). It covers checking the status of your own open PRs and third-party PRs you reviewed, inspecting checks, reviews and labels, updating stale branches, and applying the autosubmit label to land approved PRs.

Before adding autosubmit, the skill checks the autosubmit bot's removal history, base commit age, reviewer approvals and status checks. It also covers manual LUCI re-runs, re-applying the CICD label, token scope errors, and target branch changes or merge conflicts. It is aimed at people who shepherd PRs in that one repository.

Written from the project's SKILL.md and checked against it.

What it can do

  • Check PR statusLists your open PRs and reviewed third-party PRs using gh pr list.
  • Inspect checks and reviewsUses gh pr checks and gh pr view to read checks, labels, reviews and comments.
  • Pre-autosubmit verificationChecks bot removal history, base age, approvals and status checks before adding autosubmit.
  • Update stale branchesRuns gh pr update-branch when a PR base commit is more than 7 days old.
  • Re-apply CICD labelChecks for the CICD label after a branch update and re-adds it if missing.
  • Summarize failed LUCI checksProvides LUCI build links for failing checks and summarizes failure logs.
  • Target branch and conflict alertsWarns when a target branch change may dismiss approvals or when merge conflicts exist.
  • Fix token scope errorsGives the gh auth refresh command to add the workflow scope.

What you need

  • GitHub CLI (gh)
  • Access to the flutter/flutter repository on GitHub
  • A gh token with the workflow scope for some branch updates

Try asking

  • Check the status of my open PRs in flutter/flutter
  • Update the stale branch on PR 12345 in flutter/flutter
  • Check whether PR 12345 is ready for the autosubmit label

Good to know

  • Only for the flutter/flutter repository.
  • Do not use for PRs that are not approved, unless they are your own and you want status.
  • Third-party PRs need two Flutter team approvals before autosubmit.
  • Third-party LUCI checks cannot be re-run via the GitHub API, so users retry them manually.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/shepherd-prs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to shepherd-prs

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

shepherd-prs: common questions

Which repositories does this skill support?

The source says to use it only for flutter/flutter and not for other repositories.

Can it land a third-party PR with only one approval?

No. The skill requires two approvals from Flutter team members before adding autosubmit, and asks the user to request a second reviewer if only one exists.

Why can't the skill re-run failed LUCI checks?

Due to GitHub App permission policies, third-party check runs such as LUCI cannot be re-run via the GitHub API. The user must open the build link and click Retry Build.

How do I install shepherd-prs?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is shepherd-prs free?

The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.

Is shepherd-prs safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to shepherd-prs?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

shepherd-prs Install

Add to stack

Loading.