paperclipai/paperclip

pr-gardening

Discover the pull requests this Paperclip instance opened (never community contributions), report what each is for and how confident we are that it is merge-ready, and automatically drive the non-ready ones back to green with /prepare-paperclip-pr — without ever merging.

  • SKILL.md 已保存
  • 英文来源资料
  • 安装与运行未实测
先判断是否解决你的问题

pr-gardening 是什么?

Discover the pull requests this Paperclip instance opened (never community contributions), report what each is for and how confident we are that it is merge-ready, and automatically drive the non-ready ones back to green with /prepare-paperclip-pr — without ever merging.

以上为来源原文,中文用途说明尚待整理。

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 pr-gardening,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 pr-gardening

请在 Codex 的当前工作环境中安装并检查 pr-gardening 这个 Skill。

项目身份:paperclipai/paperclip / pr-gardening
来源:https://github.com/paperclipai/paperclip/blob/558dbb01320987eb9aba80d5d1a8e66604456f72/.agents/skills/pr-gardening/SKILL.md
已定位的源文件:.agents/skills/pr-gardening/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-21T19:32:09.269Z
中文使用说明
尚待整理,保留英文来源内容
安装与任务测试
本站未执行安装或任务测试
来源复核
已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料

.agents/skills/pr-gardening/SKILL.md · 抓取时间 2026-11-21T19:32:09.269Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Discover the pull requests this Paperclip instance opened (never community contributions), report what each is for and how confident we are that it is merge-ready, and automatically drive the non-ready ones back to green with /prepare-paperclip-pr — without ever merging.

查看源文件章节 / Source sections
  • 原文:PR Gardening
  • 原文:Scope — Our PRs Only
  • 原文:Hard Guardrails
  • 原文:Inputs
  • 原文:Stage A — Discover Candidates
  • 原文:Stage B — Verify Current-Head Readiness
  • 原文:Follow-up Create-PR Task Deduplication
  • 原文:Stage C — Drive Our PRs to Ready with /prepare-paperclip-pr
  • 原文:Stage D — Optional Inbox Tidy-Up
  • 原文:Stage E — Monitor to Termination
  • 原文:Stage F — Render and Publish the Report
  • 原文:Verification
原文:PR Gardening

Actively garden the pull requests **this Paperclip instance opened** that are referenced by Paperclip issues active in a recent window (default 14 days). Candidate discovery and readiness checking are scripts, not LLM analysis. GitHub access is read-only throughout this workflow.

原文:Scope — Our PRs Only

By default the workflow gardens only pull requests authored by this instance's GitHub identity (the `gh` authenticated login, e.g. `cryppadotta`). Community contributions and dependabot PRs are excluded mechanically by author login in Stage A and land in `droppedCommunityPullRequests`; never re-add them by hand, widen the scope only when the caller explicitly passes `--authors` or `--include-community`.

原文:Hard Guardrails

- **Never merge, approve, or close a pull request.** - **Never instruct another person or agent to merge, approve, or close a pull request.** - **Never garden, comment on, or run `/prepare-paperclip-pr` against a community PR.** Only PRs from the Stage A author allowlist are actionable. - Never use mutating `gh` commands or mutating GitHub API requests. The scripts only use `gh pr view` and read-only `gh api` GET requests. - Draft pull requests are report-only. Do not post gardening comments for drafts. - Comment only on existing originating issues. Never create a gardening issue per pull request. - `--dry-run` suppresses all Paperclip mutations, including gardening comments, prepare tasks, and inbox archives. Discovery and GitHub inspection remain read-only in every mode.

原文:Inputs

- `--days <N>`: activity window, default `14`. Applies to both mentioning-issue activity and the PR's own `updatedAt`; open PRs with no activity inside the window are dropped as stale. - `--authors <logins>`: comma-separated GitHub logins whose PRs are in scope; default is the `gh` authenticated user. - `--include-community`: disable the author filter entirely. Only on explicit caller request. - `--repo <owner/repo>`: GitHub repository, default detected by `gh repo view`. - `--dry-run`: discover, verify, and report without posting comments, creating prepare tasks, or archiving inbox entries. - `--archive-inbox`: after GitHub confirms a candidate PR is merged at its current head, archive the originating issue from the responsible user's inbox in Stage D. - `--cooldown-hours <N>`: repeat-gardening cooldown, default `48`. - `--max-rounds <N>`: maximum gardening rounds per PR, default `3`. Use a run-owned directory such as `$PAPERCLIP_RUN_SCRATCH_DIR/pr-gardening` for generated files.

原文:Stage A — Discover Candidates

Run the extract-search path. It scans every result page, normalizes PR URLs, deduplicates PR numbers, records every mentioning issue, checks issue work products to identify the origin, drops PRs that GitHub says are merged or closed, drops PRs whose author is outside the allowlist (community contributions) into `droppedCommunityPullRequests`, and drops open PRs whose own `updatedAt` is older than the window into `droppedStalePullRequests`. Issues that exceed the per-issue extract match cap (typically digest or QA issues that enumerate hundreds of PR URLs) are recorded in `source.truncatedIssues` and noted in the report instead of aborting the run. ```bash node .agents/skills/pr-gardening/scripts/find-candidates.mjs \ --days 14 \ --dry-run \ --output "$RUN_DIR/candidates.json" ``` The script calls `GET /api/companies/:companyId/search/extract` with `kind=url`, `scope=all`, and `updatedWithin=<N>d`, then resolves the author allowlist from `gh api user` unless `--authors` or `--include-community` overrides it. Do not replace it with full issue-list fetching or LLM scanning.

原文:Stage B — Verify Current-Head Readiness

```bash node .agents/skills/pr-gardening/scripts/check-readiness.mjs \ --input "$RUN_DIR/candidates.json" \ --output "$RUN_DIR/readiness.json" \ --dry-run ``` For every candidate, the script re-fetches the current head SHA and records: - open/draft state and mergeability/conflicts; - `statusCheckRollup` check-run and legacy status inventory; - a completed Greptile check-run on the exact head, clean only for `success` or `neutral`; - `reviewDecision`; - commits behind the base branch. Verdicts are `ready`, `needs_gardening`, or `report_only` for drafts. Always rerun this stage after any wake or claim that a PR was fixed. Never trust issue comments as proof of readiness.

文件 SHA256:6156f49728c84d169335b47ca98416245cdd755060508aff59edb6c6b1ef0451

仓库许可证记录:MIT;repository-license-recorded-scope-unverified,查看来源。

SKILL.md原文description · 2026-11-21T19:32:09.269Z

Discover the pull requests this Paperclip instance opened (never community contributions), report what each is for and how confident we are that it is merge-ready, and automatically drive the non-ready ones back to green with /prepare-paperclip-pr — without ever merging.

查看历史简介来源

历史收录数据

来源仓库paperclipai/paperclip
Skill源路径.agents/skills/pr-gardening/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源