跳到正文
Skillpedia
任务与项目6.5k · #13876

loopx-pr-program

它能做什么

该技能让你的智能体同时保持对许多拉取请求或合并请求的有序视图。适合管理一个或多个代码项目交付计划的人。

适用场景

  • ✓当你需要跨多个代码仓库列出未关闭的拉取请求,以及自上次检查以来的改动时。
  • ✓当你希望随着代码改动被合并、关闭或移动,自动更新路线图文档时。
  • ✓当你希望随时间了解评审状态或检查结果中的重要变化时。

技能链接

https://github.com/loopx-project/loopx/blob/main/skills/loopx-pr-program/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/loopx-project/loopx/blob/main/skills/loopx-pr-program/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请检查我们所有项目中未关闭的拉取请求,更新路线图,并告诉我自昨天以来有什么变化。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会收集每个变更请求的当前状态,与上次保存的状态进行比较,并只记录有意义的变化。你可以设置计划,让它定期重复检查。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

LoopX PR Program

Manage a delivery program as durable LoopX state instead of rebuilding a queue from chat memory. Keep source acquisition provider-local, normalize observations into one public contract, and write back only material transitions.

Route The Request

Use this workflow when the user asks to manage, prioritize, reconcile, document, or monitor several pull requests or merge requests. Route a deep review of each selected PR to loopx-pr-review. Route approval, comments, reruns, branch retargeting, closing, or merging to the normal provider-specific workflow and require the corresponding authority.

Treat document maintenance and monitor creation as writes. A request to update the roadmap or keep monitoring the program authorizes those scoped writes; an ordinary status question remains read-only.

Start From LoopX State

Start or join the project goal before material work. Represent the program with one advancement todo for the current reconciliation and one continuous_monitor todo for recurring observation. Do not create one monitor todo per change request.

Use a stable monitor identity:

task_class=continuous_monitor
action_kind=pr_program_reconcile
target_key=pr-program-<stable-program-id>
cadence=<user cadence or 30m>

Preserve claimed_by, last_checked_at, next_due_at, result_hash, consecutive_no_change, and material_change. Quiet monitor polls keep liveness but do not count as delivery progress, rewrite roadmap documents, or spend progress quota.

Acquire A Complete Snapshot

Use any authorized source-control read interface available in the current environment. Prefer one batch query for inventory and targeted reads for the items that changed. Never encode a private transport command, executable name, credential, internal hostname, or document token in this skill, repository examples, committed fixtures, or public evidence.

Normalize observations using references/snapshot-contract.md. Mark result_completeness.complete=true only after proving the requested repository, author, state, and time-window inventory is exhaustive. An incomplete current snapshot must not make absent rows look closed or removed. Persist the structured scope fingerprint with the baseline. Do not advance the durable baseline or grouped-monitor result_hash from an incomplete snapshot or when the previous and current scope fingerprints differ; otherwise a partial page or narrowed query can create false remove/re-add transitions on the next poll.

Store raw and normalized snapshots under an ignored owner-local directory such as .local/loopx/pr-program/<program-id>/. Verify the path with git check-ignore before writing. If no ignored path is available, use a temporary directory and keep only a redacted evidence summary in LoopX state.

Reconcile Material Changes

Run the bundled delta helper before manually comparing rows:

python skills/loopx-pr-program/scripts/diff_snapshot.py \
  --previous <previous.json> \
  --current <current.json> \
  --output <delta.json>

Omit --previous for the first baseline. The helper treats lifecycle, draft, target branch, head revision, checks, review, work item, requirement, theme, priority, and dependency changes as material. Timestamp-only movement is observation noise. Read the actual description, latest review context, checks, and changed-file evidence for every added or materially changed row before updating the program judgment.

Do not infer motivation or priority from title, number, author, age, or green CI alone. Product requirements set priority. Correctness dependencies and real merge gates determine order within a priority. Record a requirement gap explicitly when no change request implements part of the requested behavior; do not call the requirement complete because a neighboring parameter or feature landed.

Compose With An Integration Branch

When several selected change requests belong to one repository, compose this program view with LoopX's integration-branch-reconcile capability. Keep the ownership split explicit:

  • this skill decides which changes belong in the candidate and why;
  • the integration-branch plan records their ordered local source refs and proves what exact code is composed.

Do not populate the plan from every open or P0 change request automatically. Select sources from explicit program scope, dependency order, and current review intent. Refresh the local refs

常见问题

它会替我合并或批准拉取请求吗?

不会。批准、合并或评论属于需要单独授权的其他工作流程。本技能专注于跟踪并更新计划。

它能持续跟踪随时间的变化吗?

可以。它可以运行定期检查,并且只在出现重要变化时报告。

它能跨越多个代码仓库工作吗?

可以。它设计用于处理一个或多个仓库,并且被描述为与代码托管平台无关。

详情

作者的原始描述

Use when LoopX must manage a multi-PR or multi-MR delivery program across one or more repositories: inventory current change requests, reconcile new/merged/closed or retargeted work, preserve requirement and dependency priorities, maintain a roadmap document, or monitor material lifecycle/check/review changes over time. Use provider-neutral snapshots and one grouped continuous monitor; do not use for deep per-PR code review, approval, commenting, or merge actions.

repo: loopx-project/loopx

热度

GitHub 星标
6.5k
排名
#13876
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能