con un clic
draft-bug
Internal helper. Load only when explicitly named by another skill or agent.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Internal helper. Load only when explicitly named by another skill or agent.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
| 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.
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.
Internal helper. Load only when explicitly named by another skill or agent.
Internal helper. Load only when explicitly named by another skill or agent.
Publish local changes as an Azure DevOps pull request — analyzes commits, creates or links a work item (bug, task, or user story), pushes the branch, composes a PR description, and optionally tends to reviewer feedback and build failures until the PR is merged.
Internal helper. Load only when explicitly named by another skill or agent.
Internal helper. Load only when explicitly named by another skill or agent.