About azure-devops-create-work-item
azure-devops-create-work-item is a skill that turns notes, chat context, or requirements into a local, Azure DevOps-ready work item packet. It selects a work item type using Azure Boards process semantics and creates a copy-pastable draft with supporting context; it does not update a live work item.
Key features
- 01Choose an Azure Boards work item type
- 02Create a local packet with supporting files
- 03Draft fields aligned to Azure Boards schemas
- 04Add reproduction steps for bugs
- 05Inspect repository code for relevant context
Use cases
- 01Turn rough requirements into a backlog item draft
- 02Prepare a bug report with reproducible steps
- 03Draft a work item grounded in a repository
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ jpcaparas/ skills --skill azure-devops-create-work-itemAfter installing, type/azure-devops-create-work-itemin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
AGENTS.mdmetadata.jsonREADME.mdskill-card.prompt.mdagents/.gitkeepassets/.gitkeepevals/evals.jsonreferences/gotchas.mdofficial-primitives.mdoutput-packet.mdwriting-style.mdscripts/create_work_item_packet.pyprobe_create_work_item_packet.pytest_skill.pyvalidate.pytemplates/bug-template.mdepic-template.mdfeature-template.mdissue-template.mdproduct-backlog-item-template.mdtask-template.mduser-story-template.mdDetails
From the project READMEAzure DevOps Create Work Item
Turn loose context into a local Azure DevOps work item packet grounded in the official Azure Boards work item model.
Verified against Microsoft Learn pages for About work items and work item types, Scrum workflow in Azure Boards, Agile workflow in Azure Boards, Define, capture, triage, and manage bugs in Azure Boards, and Choose a process on May 9, 2026. Adapted writing guidance was reviewed against the Google developer documentation style guide on August 19, 2026.
Call-Bluff First
This skill drafts a local packet. It does not create or update a live Azure DevOps work item unless the user separately asks for REST, CLI, or UI automation.
What this skill does well:
- extract the working context and commit to one primary Azure Boards work item type
- create a deterministic folder in the caller's current directory
- produce a copy-pastable
work-item.mdplus supporting artefacts - use the supplied or observed project process; fall back to
Product Backlog Itemwhen type and process are unknown - inspect the surrounding repo when run inside a project and surface relevant code snippets
- keep the main draft aligned to the standard field schema, with
Reproduction Stepsadded forBug - keep the writing readable for mixed technical and non-technical audiences
- apply reader-first technical-writing rules without overriding Azure Boards semantics, the packet schema, local terminology, or locale
- shape manual QA sections as targeted, risk-based scenarios that read like a senior tester wrote them
- use official Azure Boards work item primitives instead of invented ticket shapes
Decision Tree
- If the user wants a local Azure DevOps-ready draft from notes, chat context, or rough requirements, use this skill.
- If they want the item created directly in Azure DevOps through the browser, REST API, or Azure CLI, stop and route to an automation or API workflow instead.
- If they want a standalone Azure DevOps wiki page or general documentation, route to a documentation-writing workflow instead; this skill applies documentation style only inside the local work item packet.
- If the type is missing, use the supplied or observed project process to choose it; fall back to Scrum
Product Backlog Itemwhen neither type nor process is known. - If the type is explicit, use the matching template, flagging any conflict with the known process rather than silently remapping it.
- Resolve type or process ambiguity with
references/official-primitives.md; ask a concise question only when the remaining uncertainty materially changes the packet. - If the current directory is a project or git repository, inspect the codebase before finalizing the draft.
- If the context is too thin to explain the problem or outcome, ask for missing context before drafting.
Default Save Path Rule
When the user does not give a destination, create the packet in the current working directory. Do not send it to a hidden cache, temp directory, or home-folder default.
The generated packet layout is:
<current-working-directory>/azure-devops-work-item-<type>-<slug>-<timestamp>/
work-item.md
context.md
sources.md
metadata.json
Quick Reference
| Task | Command | Why |
|---|---|---|
| Create the default PBI packet in the current directory | python3 scripts/create_work_item_packet.py --title "Restore team login after token expiry" | Creates a Product Backlog Item packet beside the command |
| Create a packet from saved notes | python3 scripts/create_work_item_packet.py --type bug --title "Checkout button freezes on Safari" --context-file ./notes/checkout-bug.md | Seeds context.md from existing notes |
| Save the packet under an explicit directory | python3 scripts/create_work_item_packet.py --type user-story --title "Resend invite from team page" --save-root ./work-items | Keeps the packet under a chosen visible folder |
| Check the packet workflow end to end | python3 scripts/probe_create_work_item_packet.py | Verifies the scaffold command creates the expected artefacts |
| Confirm type selection and writing rules | Read references/official-primitives.md | Keeps the draft aligned to Azure Boards semantics |
Operating Rules
- Use the supplied or observed project process even when the user has not named a type: for example, an Agile user need maps to
User Story, not Scrum PBI. Default to a ScrumProduct Backlog Itemonly when type and process are unknown. - Extract the context first. Capture the raw source material in
context.mdeven whenwork-item.mdbecomes more concise. - Pick one primary type only:
Product Backlog Item,Epic,Feature,User Story,Task,Issue, orBug. - Keep the helper's packet layout and main section labels/order stable unless the user explicitly requests another shape. By default, use bold section labels, not
#,##, or###headings outside a detailed**Test Scenario**section. - Use this visible schema for non-bug drafts:
**Title****Problem****Action****Outcome****Acceptance Criteria****Developer Notes****Test Scenario**
- For
Bug, add**Reproduction Steps**immediately after**Problem**. Keep it as simple numbered steps that QA, product, or developers can follow. - When producing manual QA content in
**Test Scenario**, follow the Manual QA Scenario Contract inreferences/output-packet.md: risk-based scenarios, aTest environment notesblock, steps suited to the UI, API, or backend under test, observable expected outcomes, behaviour-focused titles, and real verification traps. Mark(needs dev support)only when staging genuinely requires it. Use NZ English by default, yielding to the user's or project's locale. - Treat type templates as content guidance, not fixed prose or scenario quotas. Keep the packet schema; adapt the wording, format within sections, and detail to the actual work.
- Put supporting detail, assumptions, raw notes, and source excerpts in
context.md, not in the main work item draft. - Write for mixed audiences. Prefer plain language, explain the business effect, and keep implementation detail only where it materially changes the request.
- Apply
references/writing-style.mdto the packet prose. Preserve the fixed Azure section labels and order unless explicitly overridden, project terminology, requested locale, and exact literals before applying adapted Google style preferences. - For security, upgrade, compliance, maintenance, and dependency work, use the same type/process precedence rather than assuming these always require
Task. Preserve direct title prefixes such asSECURITY:,MAINTENANCE:, orCOMPLIANCE:when the source context supports them. - When run inside a repository, perform a codebase pass before finalizing
work-item.md:
- identify the project structure and likely owning modules with
git status --short,rg --files, package manifests, routing files, service folders, tests, and nearby docs - search for domain terms from the work item title, symptoms, UI labels, API names, entities, errors, and likely file names
- read the smallest relevant files needed to understand the affected path
- add concise file references and as many short snippets as materially help implementation or triage; zero is fine, and filler is not
- put longer snippets, investigation notes, and rejected leads in
context.md - do not invent snippets or include unrelated code just to prove investigation happened
Type Contract
Product Backlog Item: use for Scrum backlog work, or as the fallback when type and process are unknown. Usetemplates/product-backlog-item-template.md.Epic: use for a larger scenario or initiative that groups multiple features.Feature: use for a concrete capability with user or business value. Usetemplates/feature-template.md.User Story: use for who/what/why statements that describe a user need without prescribing implementation. Usetemplates/user-story-template.md.Task: use for sprint-scale execution work. Usetemplates/task-template.md.Issue: use for blockers or non-code project issues that could slow or stop delivery. Usetemplates/issue-template.md.Bug: use for a code defect with reproducible behavior. Usetemplates/bug-template.md; includeReproduction Steps.
Recommended Workflow
- Read the source context and extract the core problem, audience, and desired outcome.
- If the caller is inside a repository, inspect the codebase and collect relevant file paths, functions, config, tests, and short snippets.
- Choose the best-fit work item type with
references/official-primitives.md. - Run
python3 scripts/create_work_item_packet.py --title "<title>"in the caller's current directory for the fallback PBI. Pass both--type <type>and--process <process>when the process is known;--processrecords metadata and does not infer the type. Add--context-filewhen notes already exist on disk. If the project's type is unsupported, report the helper limitation instead of claiming an unsupported flag or mapping is native. - Fill
work-item.mdusing the selected template,references/writing-style.md, and the packet rules inreferences/output-packet.md, including the Manual QA Scenario Contract when**Test Scenario**contains manual QA scenarios. - Keep the final file surgical, plain, and ready to paste into Azure DevOps. Do not add extra top-level sections unless the user explicitly asks for them.
Sources and maintenance
Keep the local-packet boundary, source fidelity, and helper contract stable. If type semantics or instructions are insufficient, stale, or conflicting, consult the relevant Microsoft Learn documentation or supplied project process definition; do not browse routinely. Report limits and propose a sourced correction with a sample packet or regression case. Change the canonical skill only when maintenance is in scope, never silently update an installed copy or make live Azure DevOps changes.
Reading Guide
| Need | Read |
|---|---|
| Official Azure Boards type semantics and cross-process notes | references/official-primitives.md |
| Mixed-audience field prose, terminology, procedures, links, accessibility, and style precedence | references/writing-style.md |
| Packet layout, section-writing rules, Manual QA Scenario Contract, and current-directory behavior | references/output-packet.md |
| Failure modes and classification traps | references/gotchas.md |
| Product Backlog Item template | templates/product-backlog-item-template.md |
| Epic template | templates/epic-template.md |
| Feature template | templates/feature-template.md |
| User story template | templates/user-story-template.md |
| Task template | templates/task-template.md |
| Issue template | templates/issue-template.md |
| Bug template | templates/bug-template.md |
Gotchas
- This skill creates a local packet, not a live Azure DevOps item.
Product Backlog Item,Feature,User Story, andTaskare not interchangeable. A PBI is the default Scrum backlog item, aFeaturegroups or frames a deliverable capability, aUser Storyis explicit Agile-process wording, and aTaskcaptures execution work.Bugmeans a code defect. If the item is a blocker or dependency without defective behavior, useIssueinstead.- Azure DevOps work item types depend on the process. Use known Basic, Agile, Scrum, CMMI, or custom process evidence; ask only when the mapping remains unresolved.
- The main work item draft should stay light on markup. Use bold section labels and avoid heading syntax.
- Bugs need a
**Reproduction Steps**section with simple numbered steps. If the context lacks that detail, ask for it or call out the gap incontext.md. - Do not bury the business impact in engineering detail. Mixed audiences should understand why the item matters after the first short section.
- Do not invent confidential environment names, URLs, customer names, or system identifiers. Redact or generalize details that are not in the user's supplied context.
- Code snippets should be evidence, not filler. Include them only when they point to a likely implementation area, defect source, test surface, config dependency, or rollout concern.
- Do not turn
**Test Scenario**into an exhaustive permutation table. Manual QA should cover the happy path and the actual risks introduced by the change. - Do not use this skill for standalone wiki pages. Its adapted documentation style applies only to the work item packet.