pr-handler
PR 处理技能。围绕当前仓库的 GitHub PR 执行 discovery、validation、merge readiness 和交付收口判断。
Skill by blackplume233
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/blackplume233-pr-handler
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pr-handler
Tools it pre-approves 4
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Shell,Read,Glob,Grep
What's inside
- Skill name
pr-handler- Description
- PR 处理技能。围绕当前仓库的 GitHub PR 执行 discovery、validation、merge readiness 和交付收口判断。
- License
- MIT
- Allowed tools
- Shell,, Read,, Glob,, Grep
- Instructions
- 109 lines in SKILL.md · view on GitHub
Files (2)
- DECOUPLING.md
- SKILL.md
SKILL.md (first lines)
# PR Handler ## 角色定义 你是 `actant-next` 的 **PR 交付守门员**。你的职责是接手一个 PR,判断它是否满足当前仓库的交付要求,并在条件满足时推进到可合并、可交付状态。 你不拥有规范真相;真相来自: - `.trellis/spec/backend/ship-delivery-gate.md` - `.trellis/workflow.md` - 当前仓库实际 diff、测试和文档状态 ## 适用场景 - 用户要求 review / handle 一个现有 PR - 需要对某个 PR 做完整的验证和交付 readiness 检查 - 需要判断 PR 是否存在 spec drift、doc drift 或 merge 风险 ## 输入解析 支持: - PR 编号 - PR URL - 当前分支关联 PR 如果没有显式输入,优先尝试从当前分支推断: ```bash gh pr list --head "$(git branch --show-current)" --json number,url,state,isDraft ``` ## 工作流程 ### Phase 1: Discovery 读取: ```bash gh pr view <N> --json number,title,state,headRefName,baseRefName,body,files,additions,deletions,isDraft gh pr diff <N> ``` 确认: - PR 处于 open 状态 - base / head 分支可访问 - 本地工作区足够干净,不会污染验证 ### Phase 2: Validation Gate 在 head 分支或与其等价的本地状态上执行: ```bash pnpm type-check pnpm test ``` 必要时补: ```bash git diff <base>...<head> --name-only rg 'console\.(log|warn|error)' <changed-files> rg '\bany\b' <changed-files> ``` ### Phase 3: Spec / Doc Drift Check 显式检查: - `.trellis/spec/` 是否需要同步 - `README.md`、`PROJECT_CONTEXT.md`、`docs/` 是否受影响 - 交付草稿是否存在并完整 若 drift 无法安全判断,标记 `BLOCKED`,不要假装已通过。 ### Phase 4: Merge Readiness 只有在以下条件满足时,才可宣告 ready: - 验证通过 - 关键 drift 已处理或已明确说明 - 合并冲突风险可接受 - 当前 PR 结论能被用户直接用于下一步 ## 输出要求 每次使用该技能,对用户至少输出: - PR 编号 / URL - head -> base - validation 结果 - spec/doc drift 结果 - 结论:`READY` / `PARTIAL` / `BLOCKED` - 下一步动作建议 ## 与其他技能的边界 - `$ship-sub`:负责子分支创建 PR 和交接 - `$ship`:负责整体交付门 - `$issue-manager`:负责问题跟踪 ## 禁止行为 - 验证失败仍宣告 ready - 把 wiki 或旧仓库 stage 流程当作必须步骤 - 在脏工作区上强行合并或切换分支
From blackplume233/actant-skills, MIT.
More from blackplume233/actant-skills
- 0.464score
gua
blackplume233
以揲蓍法推演周易卦象并解读吉凶。用于用户主动请求占卦、算卦、问卦、起卦、天问、揲蓍占卜、易经推演时,或当用户对某个决策反复犹豫、陷入两难、举棋不定、来回权衡时,主动提议以卦象辅助参考。
SkillCFreshness: CClaude Code +9 - 0.408score
issue-manager
blackplume233
Issue 管理技能。面向 `actant-next` 的 GitHub issue 跟踪入口,优先保持 GitHub 为真相源,必要时再使用本地缓存或辅助脚本。
SkillDFreshness: DClaude Code +9 - 0.406score
investigate
blackplume233
根因调查技能。处理失败、异常、回归或未知行为时,先收集证据、形成并验证假设,再给出根因、修复建议与回归验证。触发方式:用户提及 "investigate"、"调查问题"、"排查异常"、"分析回归"、"root cause" 等关键词时激活。
SkillDFreshness: DClaude Code - 0.404score
codex-loop
blackplume233
多轮实现/检查循环技能。用于评估并驱动当前仓库的 worktree 或 multi-agent 流程做多轮收敛;若仓库不具备兼容入口,则显式阻塞而不是伪执行。
SkillDFreshness: DClaude Code +9 - 0.404score
freeze
blackplume233
编辑范围冻结技能。用于把当前任务限制在指定路径、模块或责任边界内,越界时必须停下并报告。触发方式:用户提及 "freeze"、"只改这个模块"、"不要动别的文件"、"锁定范围" 等关键词时激活。
SkillDFreshness: DClaude Code - 0.404score
guard
blackplume233
高风险会话护栏技能。用于约束危险操作、提醒 destructive command 风险、限制在无验证或无依据时继续推进。触发方式:用户提及 "guard"、"安全模式"、"高风险修改"、"谨慎处理"、"不要乱改" 等关键词时激活。
SkillDFreshness: DClaude Code - 0.401score
project-reviewer
blackplume233
项目级只读审查技能。围绕当前 `actant-next` 的进度、质量、spec 对齐和测试覆盖产出结构化审查意见。
SkillDFreshness: DClaude Code +9 - 0.399score
create-changelog-draft
blackplume233
Create a changelog draft manually, or let ship auto-create one when missing
SkillDFreshness: DClaude Code +9 - 0.396score
brainstorm
blackplume233
Brainstorm - Requirements Discovery (AI Coding Enhanced)
SkillDFreshness: DClaude Code +9 - 0.396score
integrate-skill
blackplume233
Integrate Skill into Project Guidelines
SkillDFreshness: DClaude Code +9 - 0.396score
break-loop
blackplume233
Break the Loop - Deep Bug Analysis
SkillDFreshness: DClaude Code +9 - 0.396score
onboard
blackplume233
PART 3: Customize Your Development Guidelines
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 26, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/blackplume233/actant-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from blackplume233
- 0.464score
gua
blackplume233
以揲蓍法推演周易卦象并解读吉凶。用于用户主动请求占卦、算卦、问卦、起卦、天问、揲蓍占卜、易经推演时,或当用户对某个决策反复犹豫、陷入两难、举棋不定、来回权衡时,主动提议以卦象辅助参考。
SkillCFreshness: CClaude Code +9 - 0.408score
issue-manager
blackplume233
Issue 管理技能。面向 `actant-next` 的 GitHub issue 跟踪入口,优先保持 GitHub 为真相源,必要时再使用本地缓存或辅助脚本。
SkillDFreshness: DClaude Code +9 - 0.406score
investigate
blackplume233
根因调查技能。处理失败、异常、回归或未知行为时,先收集证据、形成并验证假设,再给出根因、修复建议与回归验证。触发方式:用户提及 "investigate"、"调查问题"、"排查异常"、"分析回归"、"root cause" 等关键词时激活。
SkillDFreshness: DClaude Code - 0.404score
codex-loop
blackplume233
多轮实现/检查循环技能。用于评估并驱动当前仓库的 worktree 或 multi-agent 流程做多轮收敛;若仓库不具备兼容入口,则显式阻塞而不是伪执行。
SkillDFreshness: DClaude Code +9 - 0.404score
freeze
blackplume233
编辑范围冻结技能。用于把当前任务限制在指定路径、模块或责任边界内,越界时必须停下并报告。触发方式:用户提及 "freeze"、"只改这个模块"、"不要动别的文件"、"锁定范围" 等关键词时激活。
SkillDFreshness: DClaude Code - 0.404score
guard
blackplume233
高风险会话护栏技能。用于约束危险操作、提醒 destructive command 风险、限制在无验证或无依据时继续推进。触发方式:用户提及 "guard"、"安全模式"、"高风险修改"、"谨慎处理"、"不要乱改" 等关键词时激活。
SkillDFreshness: DClaude Code
Cite this page
pr-handler skill. Agent Mart. https://agentmart.dev/skills/blackplume233-pr-handler (last updated 2026-10-24)