شعار Dx Devops Work Item Manage

Dx Devops Work Item Manage

مؤسسةشائع
forcedotcom
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 and push code changes to work item branches. 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.

نظرة عامة

الناشرforcedotcom
المستودعsf-skills
اسم المهارةdx-devops-work-item-manage
النجوم
1.1K
التفريعات
351
الملفات المرفقة
2
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 2

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها forcedotcom على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Dx Devops Work Item Manage في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/forcedotcom/sf-skills/tree/main/plugins/builder/dx-devops/skills/dx-devops-work-item-manage
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/forcedotcom/sf-skills.git /tmp/sf-skills
mkdir -p .claude/skills
cp -r /tmp/sf-skills/plugins/builder/dx-devops/skills/dx-devops-work-item-manage .claude/skills/dx-devops-work-item-manage
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Dx Devops Work Item Manage في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Dx Devops Work Item Manage تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Dx Devops Work Item Manage بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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) to retrieve branch name, files to commit, commit message
  • 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)

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

All operations use sf devops work-item CLI commands with --json output for structured consumption.

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:

    bash
    sf org display --json
    • If no default org is set or authentication has expired, instruct the user to run:
      bash
      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
  2. List work items — when the user wants to see existing work items:

    bash
    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:
      bash
      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:

    bash
    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 list first and return the existing work item
  4. Execute commit operation — when operation type is commit:

    • DevOps Center creates a dedicated feature branch for each work item (returned in the create operation)
    • The user must commit and push changes to this branch before transitioning status or creating a PR
    • Standard git workflow:
      bash
      git checkout <branch-name>
      git add <files>
      git commit -m "<commit-message>"
      git push origin <branch-name>
    • The branch name is available from the work item's branch field (retrieve via list or create operation)
    • Changes must be committed before the work item can be marked "Ready to Promote" or before creating a PR
  5. Update work item — when the user wants to change subject, description, or status:

    bash
    sf devops work-item update \
      --work-item-name <WI-name> \
      --subject "<new-subject>" \
      --description "<new-description>" \
      --status "<In Progress|Ready to Promote>" \
      --json
    • Work item identifier is required: use --work-item-name <WI-000001> (preferred) or --work-item-id <id>
    • If the user provides a work item by subject instead of name, resolve it to a name first:
      bash
      sf devops work-item list --project-id <id> --json | jq -r '.result[] | select(.subject == "<user-provided-subject>") | .name'
      Then pass the returned name (e.g., WI-000001) to the update command
    • At least one of --subject, --description, or --status must be provided
    • Valid status values: "In Progress" or "Ready to Promote" (exact strings with spaces)
    • Only include flags for fields being updated (omit unchanged fields)
    • Verify the command returns status 0 (success)
    • Parse the JSON response: .result.name, .result.subject, .result.status contain the updated values
    • For status transitions specifically: after the command completes, explicitly confirm the new status by checking .result.status in the response. If the status field is absent from the update response, re-query the work item via list to verify the status persisted
  6. Create pull request — when the user wants to create a PR for code review:

    bash
    sf devops review create \
      --work-item-name <WI-name> \
      --json
    • Work item identifier is required: use --work-item-name <WI-000001> (preferred) or --work-item-id <id>
    • If the user provides a work item by subject instead of name, resolve it to a name first:
      bash
      sf devops work-item list --project-id <id> --json | jq -r '.result[] | select(.subject == "<user-provided-subject>") | .name'
      Then pass the returned name (e.g., WI-000001) to the review create command
    • Creates PR via DevOps Center API using VCS credentials stored in the org
    • No local VCS authentication required — DevOps Center handles GitHub/Bitbucket auth
    • Works with GitHub and Bitbucket
    • Verify the command returns status 0 (success)
    • Parse the JSON response: .result.pullRequestUrl contains the PR URL, .result.status contains the PR status (typically "open" for newly created PRs), .result.number contains the PR number
    • If the command fails with a VCS credentials error, instruct the user to configure VCS credentials in the DevOps Center org (Setup → DevOps Center → VCS Credentials)
    • If the command fails with "PR already exists" error, report that a PR already exists for this work item (idempotent operation)

Phase 3 — Verify and Report

  1. Verify operation success:

    • For list: confirm the CLI returned status 0, parse the JSON .result[] array, and verify it contains work items (or is empty if no matches). If the user specified a project by name, confirm the resolved project ID matches.
    • For create: verify the CLI returned status 0 and the JSON output contains .result.name (work item ID like WI-000001), .result.branch (branch name), and .result.environment fields.
    • For commit: verify each git command returned exit code 0. If git push succeeds, the commit is saved to the work item branch.
    • For update (general fields): verify the CLI returned status 0 and compare the returned JSON fields against the user's requested changes. If updating subject, confirm .result.subject matches the new value.
    • For update (status transition): verify the CLI returned status 0, then explicitly confirm the status transition by checking .result.status in the JSON response matches the target status (e.g., "Ready to Promote"). If the response doesn't include the status field, re-run sf devops work-item list filtered to this work item and verify the status persisted.
    • For create-review: verify the CLI returned status 0 and the JSON output contains .result.pullRequestUrl (the PR URL) and .result.status (should be "open" or equivalent). If VCS credentials are missing, the CLI returns an error — surface this to the user.
  2. Report results:

    • List: present work items in a readable format showing work item name, subject, status, branch, and environment. If filtering by status was requested, show only matching work items.
    • Create: return the work item name (e.g., WI-000001), branch name, environment, and confirm "Work item created successfully."
    • Commit: confirm which files were staged, the commit SHA (from git output), and "Changes committed and pushed to branch ."
    • Update (general): confirm which fields changed with before/after values (e.g., "Subject updated from 'X' to 'Y'").
    • Status transition: explicitly state the transition with old → new status (e.g., "Status updated: In Progress → Ready to Promote").
    • Create-review: return the PR URL and confirm "Pull request created successfully. Status: open. URL: "

Rules / Constraints

ConstraintRationale
All sf devops commands must use --json flagStructured output is required for headless consumption; human-readable output is unreliable for parsing
Work item identifier required for commit, update, and create-reviewUse --work-item-name (preferred) or --work-item-id; obtain from list or prior create
Project ID required for list and createAll work items belong to a project; use sf devops project list --json if not provided
At least one update field requiredUpdate command fails if no --subject, --description, or --status flag is provided
Status values must be exact strings"In Progress" and "Ready to Promote" (with spaces, proper capitalization); other values fail
Idempotent create operationsCheck for existing work item with same subject + project before creating duplicates
Changes must be committed before status transition to Ready to PromoteDevOps Center validates that the work item branch has commits before allowing promotion readiness
PR creation requires VCS credentials in orgDevOps Center API uses stored VCS credentials; no local git auth needed
Never use interactive promptsSkills run in headless environments; all inputs must be via CLI flags

Gotchas

IssueResolution
No default org setRun sf org display --json first; if it fails, instruct user to run sf org login web --set-default
User provides work item by subject, not nameResolve via: sf devops work-item list --project-id <id> --json | jq -r '.result[] | select(.subject == "<subject>") | .name'; then pass the returned name to the update/create-review command
User provides project by name, not IDFirst run sf devops project list --json and filter .result[] by .name field to find the project ID, then use that ID in the list/create command
Status update response missing status fieldThe CLI doesn't always return the status field in the update response; re-run sf devops work-item list filtered to this work item and check .result[0].status to verify the transition persisted
Work item not foundUser provided invalid work item name/ID; run list command to show available work items
Invalid status valueOnly "In Progress" and "Ready to Promote" are valid (exact strings with spaces); check spelling and capitalization
Project not foundUser provided invalid project ID; run sf devops project list --json to show available projects
Duplicate work item subjectIdempotent create check should catch this; return existing work item name instead of creating duplicate
Git push fails - no commits or branch not foundVerify files are staged with git status and branch name retrieved from work item via list command
PR creation fails - VCS credentialsVCS credentials not configured in DevOps Center UI; instruct user to configure in Setup → DevOps Center → VCS Credentials

Output Expectations

Deliverables vary by operation:

  • List: JSON array of work items with work item name (WI-######), subject, branch, environment, repository details
  • Create: Work item name (e.g., WI-000001), ID, branch name, and environment of the newly created work item
  • Commit: Confirmation of git commit and push success, with commit SHA
  • Update: Confirmation of updated fields (old value → new value for subject/description, or status change)
  • Create-review: Pull request URL, PR number, and status

Outputs are derived from sf devops work-item CLI, sf devops review create CLI, and standard git commands.


Verification Checklist

Before reporting results to the user:

Universal Checks

  • Was org authentication verified with sf org display --json?
  • Was the CLI command executed with --json flag?
  • Did the CLI return a successful exit code (0)?
  • Is the JSON output parseable and non-empty?
  • If multi-org scenario, was --target-org specified on all commands?

List Operation Checks

  • Was --project-id provided?
  • Are work items displayed with work item name, subject, branch, environment?
  • If the list is empty, was this communicated to the user?

Create Operation Checks

  • Was a work item name (WI-######) and ID returned in the JSON output?
  • Was the branch name returned in the JSON output?
  • Was --subject provided and included in the command?
  • Was --project-id provided (or obtained via project list)?

Commit Operation Checks

  • Was the work item branch name retrieved successfully?
  • Were files staged with git add?
  • Did git commit succeed with exit code 0?
  • Did git push succeed with exit code 0?

Update Operation Checks

  • Was work item identifier provided (name or ID)?
  • Was at least one update field provided (subject, description, or status)?
  • If status was updated, was it a valid value ("In Progress" or "Ready to Promote")?
  • Was the updated work item returned in JSON?

Create-Review Operation Checks

  • Was work item identifier provided (name or ID)?
  • Was a PR URL returned in JSON output?
  • Was the PR creation confirmed?

Reference File Index

FileWhen to read
references/cli-commands.mdWhen you need detailed CLI flag documentation, JSON output schemas, or error handling patterns
examples/common-workflows.mdWhen the user's request matches a common pattern (bulk updates, reassignment, idempotent creation, sequential transitions)

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة أثناء تحميل المهارة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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 and push code changes to work item branches. 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...

لماذا تستخدم Dx Devops Work Item Manage على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Dx Devops Work Item Manage عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Dx Devops Work Item Manage في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/forcedotcom/sf-skills/tree/main/plugins/builder/dx-devops/skills/dx-devops-work-item-manage. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Dx Devops Work Item Manage؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Dx Devops Work Item Manage؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Dx Devops Work Item Manage معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Dx Devops Work Item Manage مجانية؟

نعم. نشرها forcedotcom على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇