skills/azure-devops/azure-devops-work-items/SKILL.md
Creates, queries, updates, and links Azure Boards work items via az boards CLI. Use when filing ADO work items, running WIQL queries, or setting area path, iteration, tags, and assignee.
npx skillsauth add pkuppens/pkuppens azure-devops-work-itemsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manages Azure Boards work items with the same discipline as the agnostic issue workflow.
az boards work-item create \
--title "[FEAT]: Add hybrid retrieval" \
--type "Product Backlog Item" \
--description "## Goal\n...\n\n## Acceptance Criteria\n- [ ] ..." \
--fields "[email protected]"
Common types vary by process template: Epic, Feature, Product Backlog Item, User Story, Task, Bug.
az boards work-item show --id 12345
az boards work-item update --id 12345 --title "Updated title"
az boards work-item update --id 12345 --fields "System.Tags=ready-for-agent"
az boards query --wiql "SELECT [System.Id], [System.Title] FROM WorkItems \
WHERE [System.TeamProject] = @project \
AND [System.Title] CONTAINS 'hybrid retrieval' \
AND [System.State] <> 'Removed' \
ORDER BY [System.ChangedDate] DESC"
az boards work-item relation add --id 12345 \
--relation-type parent \
--target-id 12340
Relation types include parent, child, related, and duplicate.
Include AB#12345 in commit messages so Azure DevOps links commits to the work item automatically.
Every work item should include:
docs/workflow/README.mdtesting
Syncs remote default branch locally (checkout, fetch --prune, pull) and returns to the previous branch when it still exists. Reports stashes and worktrees not yet handled. Use when the user asks to sync main, update default branch, fetch/pull origin, or run /sync-branch.
tools
Creates, reviews, and completes Azure Repos pull requests and branch policies via az repos CLI. Use when opening ADO PRs, setting required reviewers, or configuring build validation policies.
development
Guides Azure Pipelines YAML structure, build validation on PRs, and staged deployment with environments and approvals. Use when authoring azure-pipelines.yml or configuring CI/CD on Azure DevOps.
tools
Orchestrates Azure DevOps work item, repo, and pipeline workflows using az CLI. Use when working with Azure DevOps, Azure Repos, Azure Boards, Azure Pipelines, or az devops commands.