Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dx-devops-work-item-manage

БесплатноБез исполняемых скриптовНе проверен

Use this skill to manage the full lifecycle of DevOps Center work items — list, create, update, commit changes, perform status transitions, and create pull…

forcedotcomот forcedotcom★ 1 200 звёзд на GitHub

Об этом скилле

DevOps Center Work Item Management

Manages the complete work item lifecycle in DevOps Center — from creation through status transitions to promotion readiness. Provides headless CLI-driven operations for autonomous release workflows.

Scope

  • In scope: List work items, create new work items, commit changes to work item branches, update work item fields (subject, description, status), transition work item status (New → In Progress → Ready to Promote), create pull requests for work item branches
  • Out of scope: Promotion/deployment, conflict detection, pipeline or project management (separate skills)

Required Inputs

Gather or infer before proceeding:

  • Operation type: list, create, update, commit, or create-review
  • For list: project ID (required) — obtain via sf devops project list --json if not provided
  • For create: project ID (required), subject (required), description (optional)
  • For commit: work item name or ID (required), commit message, and either the files to commit (git path) or the components to commit (API path). Optional: dev org alias — the org that holds the changes. When provided, try the DevOps Center commit API first (see step 5); otherwise use git
  • For update: work item name (e.g., WI-000001) or work item ID (required), fields to update (subject, description, status)
  • For create-review: work item name (e.g., WI-000001) or work item ID (required). Optional: dev org alias. When provided, try the DevOps Center review API first (see step 7); otherwise use sf devops review create

Defaults unless specified:

  • Output format: --json for headless consumption
  • Work item identifier: prefer --work-item-name (WI-000001) over --work-item-id when both are available (names are human-readable)

If the user provides a clear request ("list work items for Project Alpha", "create work item to fix login bug", "move WI-12345 to In Progress", "create PR for WI-12345"), proceed immediately without unnecessary questions.


Workflow

Operations use sf devops work-item CLI commands with --json output; the API commit path also uses sf api request rest and sf data query.

Phase 1 — Identify Operation

  1. Determine the operation type from user intent:
    • Keywords like "list", "show", "find" → list operation
    • Keywords like "create", "new", "add" → create operation
    • Keywords like "commit", "push", "save changes", "git commit" → commit operation
    • Keywords like "update", "change", "modify", "edit", "move", "transition", "advance", "mark as" → update operation
    • Keywords like "create PR", "pull request", "code review", "review", "open PR" → create-review operation

Phase 2 — Execute Operation

  1. Verify org authentication before any operation:

    sf org display --json
    
    • If no default org is set or authentication has expired, instruct the user to run:
      sf org login web --set-default --alias <alias>
      
    • Verify the authenticated org has DevOps Center enabled by attempting to list projects
    • If the user wants to target a specific org, use --target-org <alias> on all subsequent commands
    • For the API commit path, run sf org display --target-org <alias> --json for both the dev org and the hub org
  2. List work items — when the user wants to see existing work items:

    sf devops work-item list --project-id <project-id> --json
    
    • --project-id is required — if the user provides a project name instead of ID, first run sf devops project list --json to resolve the name to an ID
    • Verify the command returns status 0 (success)
    • Parse the JSON output: the work items are in the .result[] array
    • Each work item has: name (e.g., WI-000001), subject, branch, environment, status, description
    • Present in a readable format showing work item name, subject, status, branch, and environment
    • If .result[] is an empty array, confirm "No work items found in project ."
    • If the user requested filtering by status (e.g., "show work items in Ready to Promote status"), run:
      sf devops work-item list --project-id <id> --json | jq '.result[] | select(.status == "<requested-status>")'
      
      Then present the matching work items
  3. Create a work item — when the user wants to create a new work item:

    sf devops work-item create \
      --project-id <project-id> \
      --subject "<subject>" \
      --description "<description>" \
      --json
    
    • --project-id is required (obtain from user or via sf devops project list --json)
    • --subject is required (user-facing title)
    • --description is optional (defaults to blank if omitted)
    • Capture the returned work item name (e.g., WI-000001), branch name, and environment from JSON output for future operations
    • Idempotent: if the user attempts to create a duplicate (same subject + project), check via li
Полный SKILL.md на GitHub

Установить dx-devops-work-item-manage в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/common-workflows.mdreferences/cli-commands.mdreferences/commit-api.mdreferences/review-api.md

FAQ

Что делает скилл dx-devops-work-item-manage?

Use this skill to manage the full lifecycle of DevOps Center work items — list, create, update, commit changes, perform status transitions, and create pull requests. Update fields like subject, description, and status. Commit changes to work item branches, through the DevOps Center commit API or git. Create pull requests for work item branches via DevOps Center API. Invoke when the user wants to track, find, create, or update a work item, commit changes to a work item branch, advance a work item's status through the pipeline, or create a pull request for code review. Consolidates sf devops work-item and review operations. DO NOT TRIGGER for promotion or deployment operations, or conflict detection.

Как установить скилл dx-devops-work-item-manage?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dx-devops-work-item-manage запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить dx-devops-work-item-manage с