work-iterations

作者: microsoft

列出、建立及指派 Azure DevOps 專案與團隊的反覆運算。

npx skills add https://github.com/microsoft/azure-devops-skills --skill work-iterations

Skill Instructions

This skill always works in the context of a project. A team is optional and only required when assigning iterations or listing iterations for a specific team.

Project selection

  • If the user provides a project name in their request (for example, "for Contoso"), use that project directly and do not call core_list_projects.
  • If the user does not provide a project name, first ask the user once to provide the project name.
  • If the project name is still not provided after asking once, call core_list_projects to return a list of projects the user can choose from.

Team selection

  • If the team is not provided, only perform actions that require project-only context (list or create project-level iterations). Do not attempt to assign iterations.
  • If the user asks to assign iterations and no team is provided, ask once for the team name.
  • If the team name is still not provided after asking once, call core_list_project_teams for the selected project so the user can pick a team.

Tools

Use Azure DevOps MCP Server tools for all interactions with Azure DevOps.

  • core_list_projects: Get a list of projects in the organization.
  • core_list_project_teams: Get a list of teams for a project.
  • work_iteration_write (action: create): Create iterations in the project.
  • work_iteration_write (action: assign): Assign iterations to a team.
  • work (action: list_team_iterations): List iterations currently assigned to a team.
  • work (action: list_iterations): List iterations for the project.

Rules

1. List iterations for a project

  • When the user asks only to list iterations for a project, call work with action list_iterations for that project.
  • Do not call work_iteration_write in this case.
  • Show the results in a list, including iteration name and dates.
  • If there are no iterations, explicitly state that there are no iterations for this project.

Example

  • "list iterations for project Contoso"

2. List iterations for a project and team

  • When the user asks to list iterations for a specific project and team, call work with action list_team_iterations for the given project and team.
  • Do not call work_iteration_write in this case.
  • Show the results in a list, including iteration name and dates.
  • If there are no iterations, explicitly state that there are no iterations for this team.

Example

  • "list iterations for project Contoso and team Contoso"

3. Create iterations for a project

  • When the user asks to create iterations for a project, use the tool work_iteration_write with action create.
  • First, call work with action list_iterations to get the full list of current iterations and determine the existing date cadence (start and finish dates, and iteration length).
  • Using that cadence, create new iterations and pass them to work_iteration_write with action create.
  • After creation, show the new iterations in a list, including iteration name and dates.
  • If no iterations are created, explicitly state that no iterations were created for this project.

Example 1

  • "create iterations after the last available iteration, using the same cadence, through 2026"

    • Call work with action list_iterations to get the full list of current iterations and determine the existing date cadence.
    • Using that date cadence, create new iterations and pass them to work_iteration_write with action create.

Example 2

  • "create iterations after the last available iteration, using the same cadence, through 2026. Then assign all of those new iterations to team 'Contoso Team'"

    • Call work with action list_iterations to get the full list of current iterations and determine the existing date cadence.
    • Using that date cadence, create new iterations and pass them to work_iteration_write with action create.
    • Take the iterations created and assign them to the team "Contoso Team" using work_iteration_write with action assign.
    • Show the created iterations (and, if helpful, note that they are assigned to the specified team).

4. Assign iterations to a team

  • When the user asks to assign iterations to a team, use work_iteration_write with action assign.
  • Make sure the project and team are selected using the rules above.
  • Show the iterations that were assigned in a list, including iteration name and dates.
  • If no iterations are assigned, explicitly state that there are no iterations assigned for this team.

Example 1

  • "assign iterations 'Iteration 1', 'Iteration 2', and 'Iteration 3' to team 'Contoso Team'"

    • Call work_iteration_write with action assign with the list of iterations and team name to assign those iterations to the team.

Example 2

  • "assign all iterations in 2025 and 2026 to team 'Contoso Team'"

    • Call work with action list_iterations to get the full list of iterations.
    • From the list, find the iterations that fall within 2025 and 2026.
    • Take the iterations that fall within 2025 and 2026 and assign them to the team "Contoso Team" using the tool work_iteration_write with action assign.
    • Show the assigned iterations in a list.

來自 microsoft 的更多技能

oss-growth
microsoft
開源增長駭客角色
agent-framework-azure-ai-py
microsoft
使用Microsoft Agent Framework Python SDK(agent-framework-azure-ai)构建Azure AI Foundry代理。适用于使用AzureAIAgentsProvider创建持久化代理、使用托管工具(代码解释器、文件搜索、网络搜索)、集成MCP服务器、管理对话线程或实现流式响应。涵盖函数工具、结构化输出和多工具代理。
development
airunway-aks-setup
microsoft
在AKS上設定AI Runway——從裸叢集到執行模型。涵蓋叢集驗證、控制器安裝、GPU評估、供應商設定及首次部署。時機:「設定AI Runway」、「上線AKS叢集」、「安裝AI Runway」、「airunway設定」、「部署模型至AKS」、「在AKS上進行GPU推論」、「在AKS上設定KAITO」、「在AKS上執行LLM」、「在AKS上使用vLLM」、「在AKS上設定模型服務」、「AI Runway控制器」。
devops
appinsights-instrumentation
microsoft
使用Azure Application Insights檢測Web應用程式的指南。提供遙測模式、SDK設定與組態參考。適用時機:如何檢測應用程式、App Insights SDK、遙測模式、什麼是App Insights、Application Insights指南、檢測範例、APM最佳實踐。
devops
applicationinsights-web-ts
microsoft
使用Application Insights JavaScript SDK(@microsoft/applicationinsights-web)為瀏覽器/Web應用程式進行檢測。適用於真實使用者監控(RUM)——頁面檢視、點擊、AJAX/fetch依賴、例外、自訂事件,以及與後端OpenTelemetry追蹤關聯的瀏覽器端GenAI代理追蹤。涵蓋SDK載入器指令碼與npm設定、框架擴充(React、React Native、Angular)、點擊分析、遙測初始化器,以及從瀏覽器發出的代理/工具/模型span的OTel GenAI語意慣例。
devops
azure-ai-anomalydetector-java
microsoft
使用適用於 Java 的 Azure AI 異常偵測器 SDK 建置異常偵測應用程式。在實作單變量/多變量異常偵測、時間序列分析或 AI 驅動監控時使用。
development
azure-ai-language-conversations-py
microsoft
使用 azure-ai-language-conversations Python SDK 實作對話語言理解(CLU)。當使用 ConversationAnalysisClient 分析對話意圖與實體、建置 NLP 功能,或將語言理解整合至應用程式時使用。
development
azure-ai-ml-py
microsoft
Azure Machine Learning SDK v2 for Python。用於機器學習工作區、作業、模型、資料集、計算資源與管線。 觸發詞:「azure-ai-ml」、「MLClient」、「workspace」、「model registry」、「training jobs」、「datasets」。
development