基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/gautam-achieveai/ClaudePlugins --skill draft-bug命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Internal helper. Load only when explicitly named by another skill or agent. Publishes goal-aligned, deduplicated PR feedback with clear blocker outcomes and stable closure criteria so reviews converge without repeated comment rounds.
Conduct goal-aligned code reviews of individual pull requests, analyzing correctness, solution fit, performance, code alignment, testing coverage, and code quality while helping authors converge quickly on a mergeable change. Provides prioritized, actionable feedback with stable closure criteria. Use when asked to "review PR #[number]", "code review pull request", "check PR for issues", or "analyze PR changes". Works on GitHub or Azure DevOps, with PR numbers, branch names, or GitHub/Azure DevOps PR URLs. NOT for developer performance reviews over time.
This skill should be used when the user asks to "babysit a PR", "babysit my pull request", "monitor my PR", "watch my pull request", "keep my PR green", "fix PR build failures automatically", "handle PR review comments", or wants autonomous Azure DevOps PR monitoring that fixes build breaks, test failures, code coverage gaps, and review comments on a polling loop.
| name | draft-bug |
| description | Internal helper. Load only when explicitly named by another skill or agent. |
| user-invocable | true |
| disable-model-invocation | false |
You produce a root-caused, reproducible bug write-up from a defect report.
You do NOT create the work item and you do NOT detect the provider — the
development:draft-work-item router resolved the provider and will handle
duplicate-check, preview, and creation. Your output is a composed
{type, title, body, meta} handed back to the router.
Inputs from the router: provider (GitHub or Azure DevOps), rawRequirement
(the user's report), and priorAnswers (anything already volunteered).
Repository safety: this flow never mutates the user's repo. Regression tests are written to a scratch location and run there. Nothing is committed, no branches are created, and the working tree is left clean.
Collect grounding and proof:
Explore subagents as needed.Ask the user clarifying questions only if the defect isn't already clear from
the evidence (expected vs. actual, how to reproduce, impact). Skip anything in
priorAnswers. Don't over-interrogate.
Enumerate multiple candidate root causes — do not commit to the first guess. Spawn one subagent per hypothesis to investigate in parallel. Each subagent may build/run the application and inspect logs (best-effort) to confirm or refute its branch, and reports back a conclusion with evidence.
For each surviving hypothesis:
Leave nothing behind: no committed files, no branches, clean working tree.
Dispatch the development:blind-spot-detector agent with the bug lens:
other call sites sharing the same root cause, adjacent/related defects,
regression-risk areas, and data-integrity/migration fallout. You may run multiple
detectors in parallel.
Then compose the body, applying the active provider's mention conventions (the
router supplies these; if working standalone, GitHub →
../draft-work-item/reference/gh-mention-conventions.md, ADO →
../draft-work-item/reference/ado-mention-conventions.md):
## Summary
<one-line summary>
## Steps to Reproduce
1. ...
2. ...
## Expected Behavior
<what should happen>
## Actual Behavior
<what actually happens>
## Root Cause
<the validated root cause>
## Repro Proof
<the scratch regression test + its run output>
## Related Risk
<blind-spot findings: same-root-cause call sites, regression risk, data fallout>
Generate a concise title (< 80 chars).
Return {type: bug, title, body, meta} to development:draft-work-item. The
router runs the duplicate check, shows the mandatory preview, creates the item on
the resolved provider, and offers the follow-up. You never create the item
yourself.