magpie-pr-stale-sweep

Solid

Sweep open pull requests on the configured `<upstream>` repo for inactivity past a configurable threshold and propose either a conversion to draft (when the PR is open but has gone quiet) or a closure (when the PR has been abandoned long enough to presume the author has moved on). Waits for maintainer confirmation before converting or closing anything.

AI & Automation 83 stars 78 forks Updated yesterday Apache-2.0

Install

View on GitHub

Quality Score: 84/100

Stars 20%
64
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Placeholder convention (see ../../AGENTS.md#placeholder-convention-used-in-skill-files): <project-config> → adopter's project-config directory <upstream> → adopter's public source repo (owner/name) <default-branch> → upstream's default branch (master vs main) Substitute these with concrete values from the adopting project's <project-config>/ before running any command below. --> # pr-stale-sweep This skill is the **stale-PR sweep** for the project's pull request queue. It identifies open PRs that have had no new commit, comment, or update activity past a configurable inactivity threshold, classifies each as either `REQUEST-UPDATE` (nudge the author to confirm they still intend to land this) or `CLOSE-STALE` (propose closure for abandoned PRs), and — on the user's explicit confirmation — posts one lightweight comment per PR and optionally converts to draft or closes. The skill **never converts, labels, closes, or edits any PR field without confirmation**. The decision belongs to the maintainer; this skill surfaces the candidates and pre-drafts the comments so the maintainer can review in bulk and confirm or skip individually. It composes with: - [`pr-management-triage`](../pr-management-triage/SKILL.md) — the full first-pass triage skill; the stale-sweep targets the dormant-PR subset only, while triage covers all...

Details

Author
apache
Repository
apache/magpie
Created
3 months ago
Last Updated
yesterday
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category