/flc-skills:github-renovate-prsfrom flc-skills
Inspects, triages, approves, and merges GitHub Renovate pull requests using gh. Builds a candidate execution plan and requires explicit confirmation before write actions.
Ships in flc-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.
Read when SKILL.md points to them.
Manage Renovate PRs with a short, confirmation-first workflow.
Act as a conservative Renovate PR coordinator.
Prioritize:
Keep interaction in Chinese unless the user asks otherwise.
Never approve or merge without explicit user confirmation.
Resolve the target in this order:
owner/repoDefault Repository SetRules:
owner/repo.owner/repo and PR number.When the user does not specify a target repository, use this fixed preset set:
go-fries/friesgo-tapd/tapdgo-tapd/cliflc1125/go-twcaflc1125/go-cronflc1125/go-gitlab-webhookflc1125/go-yuqueflc1125/go-build-toolsDo not ask for confirmation before scanning this preset set. Scanning is read-only.
Treat a PR as Renovate-created when author.login is one of:
app/renovaterenovate[bot]If the repository uses another Renovate actor and the evidence is clear, call it out and continue conservatively.
Classify each Renovate PR into one of these buckets:
候选执行跳过: major跳过: checks跳过: blocked跳过: 需人工判断Mark a PR as 候选执行 only when all of the following are true:
Mark a PR as 跳过: 需人工判断 when the update is not clearly major but still does not look like a safe default merge candidate.
候选执行 means recommended for the plan, not approved for execution.
Follow this sequence unless the user clearly asks for only one part.
Prefer explicit -R owner/repo on every gh command.
Use commands such as:
gh pr list -R OWNER/REPO --state open --json number,title,url,author,isDraft,mergeStateStatus,statusCheckRollup,labels
gh pr view PR_NUMBER -R OWNER/REPO --json title,body,labels,url
gh pr checks PR_NUMBER -R OWNER/REPO
In preset mode, query each repository directly and merge the results for one combined summary.
Do not force the user into a numbered selection workflow, but do assign stable per-plan indices to all plan items so the user can reference them quickly in multi-repository mode.
For every 候选执行 and 跳过 item, include:
1. or [1]owner/repo#numberUse one continuous index sequence across the whole plan snapshot. 跳过 items must continue counting after the last 候选执行 item instead of restarting from 1.
In multi-repository mode, never rely on bare PR numbers such as #111 as the only reference form because they are ambiguous across repositories.
Plan indices are only valid for the current plan snapshot. If the plan is rebuilt, treat indices as refreshed.
Do not rely on Markdown link rendering for terminal usability. Prefer raw https://... URLs so the environment can auto-detect clickable links when supported.
Describe candidate actions in user-facing terms instead of CLI shorthand.
Prefer:
动作: squash merge 到 PR 的目标分支,并删除分支动作: 先添加 approve review,再 squash merge 到 PR 的目标分支,并删除分支Do not use terse labels such as approve + squash merge as the only execution description.
Prefer a compact summary like:
已扫描预设仓库 5 个,发现 Renovate PR 8 个。
候选执行 3 个
1. flc1125/go-cron#123 chore(deps): update module github.com/xxx/yyy to v1.2.3
https://github.com/flc1125/go-cron/pull/123
动作: 先添加 approve review,再 squash merge 到 PR 的目标分支,并删除分支
2. go-fries/fries#45 chore(deps): update github actions/cache action to v4
https://github.com/go-fries/fries/pull/45
动作: squash merge 到 PR 的目标分支,并删除分支
3. flc1125/go-yuque#67 chore(deps): update module github.com/aaa/bbb to v0.9.1
https://github.com/flc1125/go-yuque/pull/67
动作: 先添加 approve review,再 squash merge 到 PR 的目标分支,并删除分支
跳过 5 个
4. flc1125/go-yuque#130 chore(deps)!: update module github.com/aaa/bbb to v2
https://github.com/flc1125/go-yuque/pull/130
原因: major
5. go-tapd/tapd#131 chore(deps): update module github.com/ccc/ddd
https://github.com/go-tapd/tapd/pull/131
原因: checks pending
6. flc1125/go-gitlab-webhook#132 chore(deps): update module github.com/eee/fff
https://github.com/flc1125/go-gitlab-webhook/pull/132
原因: blocked
7. go-fries/fries#133 chore(deps): update module github.com/ggg/hhh
https://github.com/go-fries/fries/pull/133
原因: 需人工判断
8. go-fries/fries#134 chore(deps): replace package xxx with yyy
https://github.com/go-fries/fries/pull/134
原因: 需人工判断
回复“执行”开始,或直接说“排除 2”“只执行 1 3”“只执行 go-cron”“包含 major”。
If the user asks what 执行 will do, or appears uncertain, add an 执行后会发生 block with one line per PR that restates the exact side effects in plain language.
Accept natural-language overrides such as:
只执行 1 3排除 2排除 flc1125/go-cron#123只执行 go-cron只处理 flc1125/go-cron只执行 flc1125/go-cron#123 go-fries/fries#124包含 majorPrefer plan indices for quick selection in multi-repository mode, and prefer owner/repo#number when the user needs an unambiguous persistent reference across turns.
Only accept bare PR numbers such as #123 in a single-repository context. In multi-repository mode, require either a current-plan index or a full owner/repo#number reference.
Treat 只执行 <index> as selecting from the current 候选执行 set by default. If the user references a 跳过 item by index, do not silently add it to execution. Instead, explain the skip reason and ask for an explicit override that matches the risk, such as 包含 major followed by a rebuilt plan.
Before any write action:
执行, 确认执行, or a clearly equivalent instructionPrefer structured confirmation controls when the host environment supports them.
Recommended confirmation choices:
执行当前计划取消只执行...排除...包含 major 并重建计划If structured controls are unavailable, fall back to short text commands:
y: execute the current plann: cancelo <refs>: only the listed indices, repositories, or PRsx <refs>: exclude the listed indices, repositories, or PRsm: include major PRs and rebuild the planStill accept natural-language confirmation and override requests.
If the user does not confirm, stop after presenting the plan.
Execution policy:
flc1125/*: approve first, then squash mergesquash mergeUse commands such as:
gh pr review PR_NUMBER -R OWNER/REPO --approve --body "LGTM. Auto-approved by workflow."
gh pr merge PR_NUMBER -R OWNER/REPO --squash --delete-branch
Run PRs one by one.
Continue even if one PR fails.
Return:
Apply these rules when the user changes scope after the plan is shown:
#123 references are only valid in a single-repository context包含 major only changes the major exclusion rule; it does not bypass final confirmationgh auth is invalid, ask the user to run gh auth login.Stop and reassess when:
需人工判断 items to justify batch executionWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
31 skills in this plugin
/asyncLaunch and coordinate Codex subagents as deferred tasks. Use when the user wants to start bounded subagent work now, keep the main thread moving without waiting by default, then later join, collect, or redirect that work through a stable task reference./code-reviewRequest or perform a git-backed code review for a defined diff or SHA range using implementation context and requirements. Use when finishing a task, completing a major feature, preparing to merge, or when you need a fresh review before proceeding./create-planCreate and maintain repository-aware technical plans, implementation plans, refactor proposals, design drafts, and migration plans. Use when Codex is asked to investigate a codebase and propose a solution before implementation; write or update a durable plan file; produce a 方案、实施计划或重构计划; split engineering work into phases or pull requests; document scope, non-goals, API and behavior decisions, breaking changes, migrations, risks, testing, or validation; or transition a plan through draft, planned, in-progress, blocked, and completed states.npx claudepluginhub flc1125/skills --plugin flc-skillsOther plugins' skills for the same job