/bug-suite:defectorfrom bug-suite
Files a production Defect work item in Azure DevOps on the team's support board, in a QA house style (declarative title, production-first repro, OBSERVATION/FINDINGS block, "I know this is resolved when" acceptance line) with the org's Defect-only taxonomy fields filled. Use this skill WHENEVER the user wants to log, file, raise, draft, or create a DEFECT found on PRODUCTION / live clients, e.g. "log a production defect", "file a defect for this live issue", "raise a support defect", "customers are seeing X on prod, log it", or pastes a production issue and asks to turn it into a Defect. For issues found while testing a story or in regression on QA/Staging use `bugger` (Bug) instead; for posting a comment on an existing ticket use `commentor`.
Ships in bug-suite. 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.
File a Defect the way an experienced QA analyst files production issues: a sharp negative-state title, production-first repro bullets ("Login to the production environment" / "checked on multiple live clients [ID]"), a bolded OBSERVATION/FINDINGS block, a screenshot, and a "I know this is resolved when:" acceptance line — then create it as a Defect work item on the support board with the production defect-taxonomy fields populated.
Defector is the production sibling of bugger: same voice and repro anatomy, but a different work-item type, board, and field set. The deciding test: was it found on production / a live client? → Defect (this skill). Found in QA/Staging against a story or in regression? → Bug (bugger).
Read references/workspace-profile.md, then load .claude/workspace-profile.json from the user's project. This skill needs:
tracker.*, boards.support, workItemTypes.defect, fields.defect and fields.bug (to know which fields are Defect-only), identity, environments, variants, product.modules, specDocs (optional), clientIdFormat and variantIdParam (optional).
If any are missing, run discovery for those keys only, confirm with the user, save, then continue. Every org fact below comes from the profile; nothing is assumed.
tracker.org / tracker.project (tracker.projectId when a GUID is needed).boards.support.areaPath) — where production defects live.identity.displayName / identity.email — asked during discovery, never guessed. Never substitute a shared, service or differently named account.ado, @azure-devops/mcp 2.11.0): the org short name comes from the ADO_ORG environment variable and sign-in happens in the browser on first use (no PAT or token). Tools are named here by their bare name; they appear as mcp__plugin_bug-suite_ado__<tool>, or mcp__ado__<tool> if the user registered their own ado server. Use only tools from an @azure-devops/mcp server. When several installed plugins bundle that same server, Claude Code runs one copy, so the prefix can be another plugin's (for example mcp__plugin_ui-testing_ado__<tool>); those tools are identical.specDocs.path, rules in specDocs.rulesFile), read the relevant module doc + the rules file before analysing the issue. Verify any [UNCLEAR]/[ASSUMED] flags. If specDocs is empty, rely on what the user and the live behaviour show.clientIdFormat), which integration partner (variants.values) if one is involved, the exact steps to reproduce on prod, the actual broken result, and screenshots/GIF. Ask for credentials if a specific prod test client is involved.[UNCLEAR]/[ASSUMED] rather than asserting.fields.defect), set it accordingly.Declarative negative-state statement; ALL-CAPS the domain keywords (CLOSED, EMAIL, MMS, PDF, integration partner names from variants.values such as PARTNER-A, PRODUCTION); name the module/screen (product.modules); end with the environment (here: production/live). Include the bracketed client ID when client-specific, in the clientIdFormat pattern.
Illustrative production examples (fictional):
App crashed on uploading attachment in Settings > EMAIL on Production environment.Location search not working for all clients on productionDownload ORDERS module results is not working on production.SSO not working in the Product through PARTNER-A WebView on Production test client.CLOSED invoices are syncing as OPEN from PARTNER-B to ProductMicrosoft.VSTS.TCM.ReproSteps, HTML)Production-first <ul> bullets, key UI terms bolded, then a bold OBSERVATION: (or FINDINGS for deeper investigations) header, then the screenshot/GIF.
<ul>
<li>Login to the production environment.</li>
<li>Navigate to <b>Settings > EMAIL.</b></li>
<li>Upload any attachment from local storage.</li>
<li>Click on the upload button.</li>
</ul>
<div><b>OBSERVATION:</b></div>
<div><ul><li>The app crashed on uploading any attachment.</li></ul></div>
<div><img src="PASTE_ATTACHMENT_URL?fileName=1.gif" alt=1.gif></div>
Multi-client variant (narrative + client list):
<div>I have checked on multiple live clients and for some of them, the LOCATION SEARCH is not working.</div>
<div>For reference, check the following clients:</div>
<ul><li>Contoso Outdoor [10001]</li></ul>
<div><img src="PASTE_ATTACHMENT_URL?fileName=1.gif" alt=1.gif></div>
FINDINGS with a numbered <ol> when documenting an investigation (e.g. SSO/auth/API issues), and you may paste the relevant API payload/JSON response inline.1.gif for a recording, image.png for a still). Leave the <img> placeholder and tell the user to attach if not supplied.Credentials/test data → Microsoft.VSTS.TCM.SystemInfo (tenant/partner id labelled with variantIdParam if the profile has one, then Username / Password). Credentials are asked for at run time and never stored in the profile.
Acceptance criteria → Microsoft.VSTS.Common.AcceptanceCriteria, phrased "I know this defect is resolved when:".
Field defaults for a Defect (full table in references/ado-defect-fields.md):
| Field | Value |
|---|---|
workItemType | workItemTypes.defect (usually Defect) |
areaPath | boards.support.areaPath |
priority | the typical value in fields.defect; 2 if none observed |
Microsoft.VSTS.Common.Severity | as observed in fields.defect — often left unset; set a higher value for high-impact prod issues |
| Fields shared with Bugs | every field populated on Defects that also appears in fields.bug (e.g. a QA-owner field set to identity.email, a found-with field set to its typical value) |
| Defect-only taxonomy | every field in fields.defect that is not in fields.bug — must be filled, choosing the value that fits this defect from the field's observed values[], defaulting to typical (e.g. the affected integration partner, a sync-issue flag set true only for integration sync issues) |
| Tags | the Defect tag habit recorded in discovery (commonly a filing-team tag + a module tag such as Settings or Campaigns) |
Fields that discovery shows are only filled after the fix (for example a root-cause or release-branch field) are filled by dev / at verification — leave them blank at creation.
Use the Azure DevOps server's wit_work_item_write tool, action create. Every field goes in fields as
{ name, value, format }; values are strings, and the HTML fields carry format: "Html" so they are
stored exactly as drafted:
wit_work_item_write
action: "create"
project: "<tracker.project>"
workItemType: "<workItemTypes.defect>"
fields:
- { name: "System.Title", value: "<title per house style>" }
- { name: "System.AreaPath", value: "<boards.support.areaPath>" }
- { name: "Microsoft.VSTS.Common.Priority", value: "2" }
- { name: "Microsoft.VSTS.TCM.ReproSteps", value: "<repro HTML>", format: "Html" }
- { name: "Microsoft.VSTS.Common.AcceptanceCriteria", value: "<acceptance HTML>", format: "Html" }
- { name: "Microsoft.VSTS.TCM.SystemInfo", value: "<creds block, if any>", format: "Html" }
- { name: "<each field from fields.defect, e.g. Custom.Example>", value: "<the value chosen for this defect>" }
- { name: "System.Tags", value: "<tags per the observed Defect habit>" }
Use resolved profile values in the call, never the key names.
Identical to bugger: declarative, exact UI/error strings, production-first repro, OBSERVATION:/FINDINGS, "I know this is resolved when:" fix bar, no ceremony, no hedging.
identity from the workspace profile (asked during discovery, never guessed).bugger, not this skill.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub shironigun/marketplace --plugin bug-suite3 skills in this plugin
/buggerFiles a Bug work item in Azure DevOps against a User Story or a regression, in a QA house style (declarative title, environment-first repro, OBSERVATION block, "I know this is resolved when" acceptance line), then links it to the source Story. Use this skill WHENEVER the user wants to log, file, raise, draft, create, or write up a BUG found while testing a story or during regression on QA/Staging, e.g. "file a bug for story 1001", "log this regression", "raise a bug on the QA environment", "write up this issue I found testing", or pastes an issue description and asks to turn it into a Bug. For production/live-client issues use `defector` (Defect) instead; for posting a comment on an existing ticket use `commentor`./commentorWrites and posts a comment on an Azure DevOps work item in a QA house voice (headed, structured, bulleted root cause, explicit verification language, trailing CC line of @mentions). Use this skill WHENEVER the user wants to comment on, reply to, post an update on, add an RCA/finding to, CC people on, or leave a note on a ticket/bug/defect/story, e.g. "comment on 1001", "post a status update on this ticket", "add the root cause to the defect", "CC the dev team and say it's verified", or "reply on that bug that it's fixed". For creating a new Bug use `bugger`; for a new production Defect use `defector`.