/bug-suite:buggerfrom bug-suite
Files 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`.
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 Bug the way an experienced QA analyst files them: a sharp negative-state title, environment-first repro bullets, a bolded OBSERVATION of the actual behaviour, a screenshot, and a "I know this is resolved when:" acceptance line — then create it as a Bug work item in Azure DevOps and link it to the source Story.
Read references/workspace-profile.md, then load .claude/workspace-profile.json from the user's project. This skill needs:
tracker.*, boards.delivery, workItemTypes.bug, fields.bug and fields.defect (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.delivery.areaPath) — where story and regression bugs live. Production defects belong on the support board (boards.support.areaPath); that's defector.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 ticket. Verify any [UNCLEAR]/[ASSUMED] flags before asserting behaviour. If specDocs is empty, rely on the Story's acceptance criteria.wit_work_item tool, action get, expand: "All"). Extract the feature touched, the client/environment, and the acceptance criteria the bug violates.[UNCLEAR]/[ASSUMED], flag it rather than asserting.environments, plus which integration partner from variants.values when relevant), client ID + credentials, the exact steps, and the actual (broken) result. Ask the user for anything missing — especially the screenshot/GIF and credentials.Declarative bug statement (not imperative, not "Verify that…"). State what is broken, name the module/screen, and end with the environment.
<thing> not working, <thing> is/are not <verb>ing (loading, syncing, populating, persisting, saving), Unable to <verb>, <thing> is not <correct>, Error <doing X>, App crashed on <action>, and Able to <do invalid thing> for should-not-be-allowed cases.CLOSED, OPEN, EMAIL, MMS, PDF, CSV), integration partner names (variants.values, e.g. PARTNER-A) and the product's short name if the team writes it in caps, environments (QA, STAGING, PRODUCTION).product.modules), using breadcrumb arrows when nested: Settings > EMAIL, Notification panel > Task detail.… on QA environment., … on STAGING & QA, … on PARTNER-A QA environment.clientIdFormat pattern: Contoso Outdoor [10001].Illustrative examples (fictional):
EMAIL Automations are not working on QA environmentUnable to CREATE/UPDATE contacts on PARTNER-A QA environment.PDF Preview/Icon is not displayed in MMS campaign PREVIEW screenAble to add email without any type for PARTNER-A contactsContact created from PARTNER-B is showing incorrect created date on STAGINGMicrosoft.VSTS.TCM.ReproSteps, HTML)A <ul> of environment-first bullet steps, key UI terms bolded, then a bold OBSERVATION: header with a second <ul> describing the actual broken result, then the screenshot/GIF.
<ul>
<li>Go to <b>PARTNER-A QA</b> environment.</li>
<li>Navigate to the <b>Contacts</b> module.</li>
<li>Update/create a contact.</li>
</ul>
<div><b>OBSERVATION:</b></div>
<div><ul><li>Getting Timeout 500 response error.</li></ul></div>
<div><img src="PASTE_ATTACHMENT_URL?fileName=1.gif" alt=1.gif></div>
OBSERVATION: (or FINDINGS for deeper investigations) for the actual result — not an "Actual:" label.1.gif (screen recording) and image.png (still). If the user hasn't supplied one, leave the <img> placeholder and tell them to attach it.Put credentials/test data in Microsoft.VSTS.TCM.SystemInfo (not in repro). Label the tenant/partner id with variantIdParam if the profile has one. Credentials are asked for at run time and never stored in the profile:
TenantId: 10001
Username: <username>
Password: <password>
Put acceptance criteria in Microsoft.VSTS.Common.AcceptanceCriteria, always phrased "I know this bug is resolved when:":
<div>I know this bug is resolved when:</div>
<div><ul><li>User can create/update a contact without any 500 error on PARTNER-A QA.</li></ul></div>
Field defaults for a Bug (see references/ado-bug-fields.md for the full table):
| Field | Value |
|---|---|
workItemType | workItemTypes.bug (usually Bug) |
areaPath | boards.delivery.areaPath (confirm if the user names another) |
Microsoft.VSTS.Common.Severity | the typical value in fields.bug (commonly the mid value, e.g. 3 - Medium); one step higher for higher impact |
priority | the typical value in fields.bug; 2 if none was observed |
Microsoft.VSTS.Common.ValueArea | the typical value in fields.bug (commonly Business) |
| Org custom fields | every field populated on Bugs per fields.bug (e.g. a QA-owner field set to identity.email, a found-with field set to its typical value) |
assignedTo | the dev who owns the area, or leave unset / per the user |
Do not set the Defect-only fields on a Bug. A field observed on Defects (fields.defect) but not on Bugs (fields.bug) is Defect-only — typically the production defect taxonomy (category, affected partner, and similar). Follow the Bug tag habit recorded in discovery; if Bugs on the delivery board are usually untagged, add a module tag only if the user asks.
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.bug>"
fields:
- { name: "System.Title", value: "<title per house style>" }
- { name: "System.AreaPath", value: "<boards.delivery.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: "Microsoft.VSTS.Common.Severity", value: "3 - Medium" }
- { name: "Microsoft.VSTS.Common.ValueArea", value: "Business" }
- { name: "<each Bug field from fields.bug, e.g. Custom.Example>", value: "<its typical value, or identity.email for a QA-owner field>" }
Use resolved profile values in the call, never the key names. Add System.AssignedTo the same way when
an assignee is set.
Then parent it to the Story it was found against with the wit_work_item_link_write tool:
wit_work_item_link_write
action: "link"
project: "<tracker.project>"
updates:
- { id: <new Bug ID>, linkToId: <Story ID>, type: "parent" } # System.LinkTypes.Hierarchy-Reverse: this Bug's parent = the Story
OBSERVATION: states the actual broken behaviour; the fix bar lives in "I know this is resolved when:".identity from the workspace profile (asked during discovery, never guessed).defector, 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
/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`./defectorFiles 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`.