agentleFS
AurelienClere-365AurelienClere-365/ado-cowork-plugin/skills/ado-work-items/SKILL.md

ado-work-items

Skill5 starsChanged 5 months agoMITView on GitHub

Use when the user wants to create, read, update, or manage Azure DevOps work items — including bugs, user stories, tasks, epics, features, and PBIs. "create a bug for the login timeout issue", "update story #42 to In Progress", "add a comment to work item #55", "link bug #77 to user story #42", "show me the backlog for the Platform project", "what work items are assigned to me", "run a work item query for open bugs in Sprint 12", "attach a file to work item #99", "close all resolved bugs in the Mobile App project", "set the story points on task #88 to 3"

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 1 is distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create, read, update, link, comment, and query Azure DevOps work items.

    line 18
  2. Very specific:

    Call wit_work_item(id) — returns all fields: title, state, assignee, area, iteration, story points, tags, description, and comment count.

    line 47
  3. Very specific:

    Call wit_work_item_write with the field patch document.

    line 56
  4. Very specific:

    Call wit_work_item_write(id, patchDocument) with only the changed fields.

    line 63
  5. Very specific:

    Call wit_backlog(project, team) to get the ordered backlog.

    line 75
  6. Very specific:

    If the user provides a saved query name, call wit_query(queryName).

    line 81
  7. Very specific:

    If the user describes criteria in plain English, build a WIQL WHERE clause and call wit_query(wiql).

    line 82
  8. Very specific:

    When creating linked items in one user request (e.g.

    line 119
  9. Very specific:

    If activeProject is set, use it automatically as the project parameter — do not ask the user to re-specify it.

    line 129
  10. Very specific:

    If no context is set and a project is required, invoke Workflow E of ado-context to resolve it (list projects, ask user to pick, then …

    line 131

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ADO Work Items

Create, read, update, link, comment, and query Azure DevOps work items. Supports all work item types: User Story, Bug, Task, Epic, Feature, PBI, Issue.

When to use

  • User wants to create a new work item (any type)
  • User wants to update fields on an existing work item (state, assignee, story points, etc.)
  • User wants to add a comment or resolve a comment thread
  • User wants to link two work items (Parent/Child, Related, Blocks, Duplicate)
  • User wants to browse the product backlog
  • User wants to run a saved or ad-hoc WIQL query
  • User wants to attach a file or screenshot to a work item

MCP tools used

ToolPurpose
wit_work_itemRead a work item by ID
wit_work_item_writeCreate or update a work item
wit_work_item_comment_writeAdd a comment to a work item
wit_work_item_link_writeAdd a link between two work items
wit_work_item_attachmentAttach a file to a work item
wit_backlogList work items in a project/team backlog
wit_queryRun a WIQL query or saved query

Workflow

Reading a work item

  1. Call wit_work_item(id) — returns all fields: title, state, assignee, area, iteration, story points, tags, description, and comment count.
  2. Present the key fields in the Work Item Detail format below.

Creating a work item

  1. Extract required fields from the user's request: work item type, title, project.
  2. Extract optional fields: description, assignee, area path, iteration path, story points, priority, tags, acceptance criteria.
  3. Call wit_work_item_write with the field patch document.
  4. Confirm creation with the new ID and a deep link to the work item.

Updating a work item

  1. Identify the work item ID from the user's request.
  2. Identify the field(s) to change.
  3. Call wit_work_item_write(id, patchDocument) with only the changed fields.
  4. Confirm the update.

Linking work items

  1. Identify source ID, target ID, and link type (Parent, Child, Related, Blocks, Duplicate).
  2. Call wit_work_item_link_write(sourceId, targetId, linkType).
  3. Confirm the link was created.

Backlog

  1. Identify project and team name.
  2. Call wit_backlog(project, team) to get the ordered backlog.
  3. Apply optional filters (type, state, assignee) in the result.
  4. Present as a Backlog table.

Query

  1. If the user provides a saved query name, call wit_query(queryName).
  2. If the user describes criteria in plain English, build a WIQL WHERE clause and call wit_query(wiql).
  3. Return results as a table (ID, Type, Title, State, Assignee).

Output Format

Work Item Detail

FieldValue
ID1042
TypeUser Story
TitleAdd MFA to login flow
StateActive
Assigned ToAlice Martin
Story Points5
IterationSprint 12
AreaPlatform/Auth
Tagssecurity, auth

Backlog

#IDTypeTitleStatePointsAssignee
11042StoryAdd MFA to login flowActive5Alice
21058BugSession token not refreshedNew——
31071TaskWrite ADR for auth serviceActive2Bob

Query results

IDTypeTitleStateAssignee
1058BugSession token not refreshedNew(unassigned)
1063BugNull ref in OrderServiceActiveAlice Martin

Notes

  • When creating linked items in one user request (e.g. "create a bug and link it to #42"), create the work item first, capture the new ID, then call wit_work_item_link_write.
  • Story Points field name varies by process template: Microsoft.VSTS.Scheduling.StoryPoints (Agile) or Microsoft.VSTS.Scheduling.Effort (Scrum). Use wit_work_item on an existing item first to confirm the correct field name.
  • To bulk-update multiple items, iterate wit_work_item_write calls; there is no bulk API.

Active context

This skill respects the session context set by the ado-context skill.

  • If activeProject is set, use it automatically as the project parameter — do not ask the user to re-specify it.
  • If no context is set and a project is required, invoke Workflow E of ado-context to resolve it (list projects, ask user to pick, then proceed).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.