mcpField
A
azure-devops-create-work-item

azure-devops-create-work-item

github.com/jpcaparasDevelopment5697 installsUpdated 2d ago
Repository

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

  1. 01Choose an Azure Boards work item type
  2. 02Create a local packet with supporting files
  3. 03Draft fields aligned to Azure Boards schemas
  4. 04Add reproduction steps for bugs
  5. 05Inspect repository code for relevant context

Use cases

  1. 01Turn rough requirements into a backlog item draft
  2. 02Prepare a bug report with reproducible steps
  3. 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-item

After installing, type/azure-devops-create-work-itemin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

AGENTS.md
metadata.json
README.md
skill-card.prompt.md
agents/
.gitkeep
assets/
.gitkeep
evals/
evals.json
references/
gotchas.md
official-primitives.md
output-packet.md
writing-style.md
scripts/
create_work_item_packet.py
probe_create_work_item_packet.py
test_skill.py
validate.py
templates/
bug-template.md
epic-template.md
feature-template.md
issue-template.md
product-backlog-item-template.md
task-template.md
user-story-template.md

Details

From the project README

Azure 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.md plus supporting artefacts
  • use the supplied or observed project process; fall back to Product Backlog Item when 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 Steps added for Bug
  • 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

  1. If the user wants a local Azure DevOps-ready draft from notes, chat context, or rough requirements, use this skill.
  2. 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.
  3. 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.
  4. If the type is missing, use the supplied or observed project process to choose it; fall back to Scrum Product Backlog Item when neither type nor process is known.
  5. If the type is explicit, use the matching template, flagging any conflict with the known process rather than silently remapping it.
  6. Resolve type or process ambiguity with references/official-primitives.md; ask a concise question only when the remaining uncertainty materially changes the packet.
  7. If the current directory is a project or git repository, inspect the codebase before finalizing the draft.
  8. 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

TaskCommandWhy
Create the default PBI packet in the current directorypython3 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 notespython3 scripts/create_work_item_packet.py --type bug --title "Checkout button freezes on Safari" --context-file ./notes/checkout-bug.mdSeeds context.md from existing notes
Save the packet under an explicit directorypython3 scripts/create_work_item_packet.py --type user-story --title "Resend invite from team page" --save-root ./work-itemsKeeps the packet under a chosen visible folder
Check the packet workflow end to endpython3 scripts/probe_create_work_item_packet.pyVerifies the scaffold command creates the expected artefacts
Confirm type selection and writing rulesRead references/official-primitives.mdKeeps the draft aligned to Azure Boards semantics

Operating Rules

  1. 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 Scrum Product Backlog Item only when type and process are unknown.
  2. Extract the context first. Capture the raw source material in context.md even when work-item.md becomes more concise.
  3. Pick one primary type only: Product Backlog Item, Epic, Feature, User Story, Task, Issue, or Bug.
  4. 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.
  5. Use this visible schema for non-bug drafts:
    • **Title**
    • **Problem**
    • **Action**
    • **Outcome**
    • **Acceptance Criteria**
    • **Developer Notes**
    • **Test Scenario**
  6. For Bug, add **Reproduction Steps** immediately after **Problem**. Keep it as simple numbered steps that QA, product, or developers can follow.
  7. When producing manual QA content in **Test Scenario**, follow the Manual QA Scenario Contract in references/output-packet.md: risk-based scenarios, a Test environment notes block, 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.
  8. 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.
  9. Put supporting detail, assumptions, raw notes, and source excerpts in context.md, not in the main work item draft.
  10. Write for mixed audiences. Prefer plain language, explain the business effect, and keep implementation detail only where it materially changes the request.
  11. Apply references/writing-style.md to 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.
  12. 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 as SECURITY:, MAINTENANCE:, or COMPLIANCE: when the source context supports them.
  13. 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. Use templates/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. Use templates/feature-template.md.
  • User Story: use for who/what/why statements that describe a user need without prescribing implementation. Use templates/user-story-template.md.
  • Task: use for sprint-scale execution work. Use templates/task-template.md.
  • Issue: use for blockers or non-code project issues that could slow or stop delivery. Use templates/issue-template.md.
  • Bug: use for a code defect with reproducible behavior. Use templates/bug-template.md; include Reproduction Steps.

Recommended Workflow

  1. Read the source context and extract the core problem, audience, and desired outcome.
  2. If the caller is inside a repository, inspect the codebase and collect relevant file paths, functions, config, tests, and short snippets.
  3. Choose the best-fit work item type with references/official-primitives.md.
  4. 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; --process records metadata and does not infer the type. Add --context-file when 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.
  5. Fill work-item.md using the selected template, references/writing-style.md, and the packet rules in references/output-packet.md, including the Manual QA Scenario Contract when **Test Scenario** contains manual QA scenarios.
  6. 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

NeedRead
Official Azure Boards type semantics and cross-process notesreferences/official-primitives.md
Mixed-audience field prose, terminology, procedures, links, accessibility, and style precedencereferences/writing-style.md
Packet layout, section-writing rules, Manual QA Scenario Contract, and current-directory behaviorreferences/output-packet.md
Failure modes and classification trapsreferences/gotchas.md
Product Backlog Item templatetemplates/product-backlog-item-template.md
Epic templatetemplates/epic-template.md
Feature templatetemplates/feature-template.md
User story templatetemplates/user-story-template.md
Task templatetemplates/task-template.md
Issue templatetemplates/issue-template.md
Bug templatetemplates/bug-template.md

Gotchas

  1. This skill creates a local packet, not a live Azure DevOps item.
  2. Product Backlog Item, Feature, User Story, and Task are not interchangeable. A PBI is the default Scrum backlog item, a Feature groups or frames a deliverable capability, a User Story is explicit Agile-process wording, and a Task captures execution work.
  3. Bug means a code defect. If the item is a blocker or dependency without defective behavior, use Issue instead.
  4. 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.
  5. The main work item draft should stay light on markup. Use bold section labels and avoid heading syntax.
  6. Bugs need a **Reproduction Steps** section with simple numbered steps. If the context lacks that detail, ask for it or call out the gap in context.md.
  7. Do not bury the business impact in engineering detail. Mixed audiences should understand why the item matters after the first short section.
  8. 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.
  9. 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.
  10. 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.
  11. Do not use this skill for standalone wiki pages. Its adapted documentation style applies only to the work item packet.

Comments

Markdown supported