Dx Devops Project Manage 标志

Dx Devops Project Manage

组织热门
forcedotcom
dx-devops-project-manage

使用此技能列出、查看或管理 Salesforce 组织中的 DevOps Center 项目——显示所有项目、创建项目,或更新现有项目的名称、说明或启用状态。用户提出任何列表请求时,调用此技能运行 sf devops project list;用户希望创建项目、搭建新的流水线基础、为某项功能初始化 DevOps Center、更新项目设置,或启用/停用(归档)项目时,也应调用。此技能整合了 sf devops project list/create/update。不适用于工作项、流水线、晋级或冲突操作——这些操作由其他技能处理。

Add to TypingMind

概览

发布者forcedotcom
代码仓库sf-skills
技能名称dx-devops-project-manage
星标数
1.1K
复刻数
351
附带文件
5
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 5 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 forcedotcom 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Dx Devops Project Manage AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/forcedotcom/sf-skills/tree/main/plugins/builder/dx-devops/skills/dx-devops-project-manage
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
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-project-manage .claude/skills/dx-devops-project-manage
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Dx Devops Project Manage,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Dx Devops Project Manage。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Dx Devops Project Manage 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

DevOps Center Project Management

Manages the complete DevOps Center project lifecycle — from listing existing projects through creation to updating project settings. Provides headless CLI-driven operations for autonomous release workflows.

Scope

  • In scope: List DevOps Center projects, create a new project, update project fields (name, description), resolve a project name to its ID for downstream skills
  • Out of scope: Work item lifecycle, pipeline creation/configuration, promotion/deployment, conflict detection (separate skills)

Required Inputs

Gather or infer before proceeding:

  • Operation type: list, create, or update
  • Target org: --target-org <alias> is required on every command unless the target-org config var is already set (sf config get target-org)
  • For list: no other required input (lists all projects in the org); optional name filter
  • For create: project name (required), description (optional)
  • For update: project ID (required), fields to update — at least one of name, description, or active status

Defaults unless specified:

  • Output format: --json for headless consumption
  • Project identifier: when the user gives a project name for update, resolve it to a project ID first via sf devops project list --target-org <alias> --json

If the user provides a clear request ("list all projects", "create a project called Release Alpha", "rename project X to Y"), proceed immediately without unnecessary questions.


Workflow

All operations use sf devops project 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", "what projects", "get project ID" → list operation
    • Keywords like "create", "new", "set up", "initialize" → create operation
    • Keywords like "update", "change", "rename", "modify", "edit" → update operation

Phase 2 — Execute Operation

  1. Verify org authentication before any operation, checking the same org the operation will target:

    bash
    # When a specific org is requested, check that alias (do NOT rely on the default org):
    sf org display --target-org <alias> --json
    # Only when no alias is supplied and a default org is expected:
    sf org display --json
    • If the requested org is not authenticated or authentication has expired, instruct the user to run:

      bash
      sf org login web --alias <alias>
    • Verify the authenticated org has DevOps Center enabled by attempting to list projects

    • --target-org <alias> is required on every sf devops project command unless the target-org config var is set (check with sf config get target-org). Add --target-org <alias> to all commands when targeting a specific org — a targeted operation must never require or reset the default org

    Deterministic project-list parsing, empty-list handling, name→ID resolution, idempotent create, and update are handled by the scripts in scripts/ — each script exits non-zero with an actionable message on failure. Pass the org alias as the trailing/--target-org argument when the target-org config var is not set; omit it to use the default org. The scripts read the authoritative .result.projects[] list envelope.

  2. List projects — when the user wants to see existing projects or resolve a project name to an ID:

    • Use the sf devops project list CLI (via scripts/list-projects.sh) — do NOT substitute an MCP/metadata tool (e.g. a list_devops_center_projects tool). The sf devops project CLI is the only supported, verifiable path; other tools bypass this skill and will not satisfy the operation.
    • To list all projects: run scripts/list-projects.sh [target-org] and report any errors it returns. Output is tab-separated Id Name Description, one project per line; a single line NO_PROJECTS means none exist.
    • To resolve a single project name to its ID: run scripts/list-projects.sh --resolve "<project-name>" [target-org] and report any errors it returns (exit 3 = no such project).
  3. Create a project — when the user wants to create a new project:

    • Run scripts/create-project.sh "<name>" "<description>" [target-org] and report any errors it returns. The description argument is optional.
    • The script is idempotent: it prints EXISTING <id> if a project with that name already exists, or CREATED <id> after creating and verifying a new one. Capture the returned ID for downstream operations (work items, pipelines).
  4. Update a project — when the user wants to change name, description, or active status:

    • Run scripts/update-project.sh --project (<id>|name:<name>) [--name "<new-name>"] [--description "<new-desc>"] [--is-active|--no-is-active] [--target-org <alias>] and report any errors it returns.
    • Pass --project name:<name> to update by name (the script resolves it to an ID) or --project <id> for a known ID.
    • At least one of --name, --description, or --is-active/--no-is-active must be provided (the script enforces this). Use --is-active to activate or --no-is-active to deactivate.
    • The script prints UPDATED <id> on success.

Phase 3 — Report

  1. Report results (the scripts already verified success deterministically; report their output to the user):
    • List: present projects in a readable format showing project ID, name, and description. If NO_PROJECTS was returned, state that no DevOps Center projects were found. If resolving a name to an ID, return the ID.
    • Create: return the project ID and confirm — "Project created successfully. Use this project ID for work items and pipelines: ." If the script returned EXISTING <id>, tell the user the project already existed and return that ID.
    • Update: confirm which fields were changed (e.g., "Project name updated to 'Platform Core'", or "Project deactivated").

Rules / Constraints

ConstraintRationale
Always use the sf devops project CLIList/create/update MUST go through sf devops project (via the scripts/), never a salesforce_dx MCP tool or metadata query — those bypass this skill and fail the operation
All sf devops commands must use --json flagStructured output is required for headless consumption; human-readable output is unreliable for parsing
--target-org required unless config var setEvery sf devops project command requires --target-org <alias> unless the target-org config var is already set
Project ID required for updateUse --project-id (-i); resolve from a name via sf devops project list --target-org <alias> --json when the user gives a name
--name required for createA project cannot be created without a name
At least one update field requiredUpdate command fails if none of --name, --description, or --is-active is provided
Use --is-active / --no-is-active for activationActivate with --is-active, deactivate with --no-is-active; do not pass a value
Idempotent create operationsCheck for an existing project with the same name before creating a duplicate
Never use interactive promptsSkills run in headless environments; all inputs must be via CLI flags
A project is a prerequisite for work items and pipelinesDownstream skills (work-item-manage, pipeline-manage) need the project ID this skill returns

Gotchas

IssueResolution
No default org setRun sf org display --json first; if it fails, instruct the user to run sf org login web --set-default
User provides project by name, not ID (update)Resolve via scripts/list-projects.sh --resolve "<name>" [target-org], or pass --project name:<name> to scripts/update-project.sh (it resolves internally)
Tempted to use an MCP listing toolA salesforce_dx MCP tool (e.g. list_devops_center_projects) may be available, but using it bypasses this skill and the sf devops project list CLI — always list via scripts/list-projects.sh
DevOps Center not enabledIf sf devops project list errors, the org lacks DevOps Center; instruct the user to provision it in Setup → DevOps Center
Project not found (update)User provided an invalid project ID; run scripts/list-projects.sh [target-org] to show available projects
Wrong list envelopeproject list returns records under .result.projects[] (capitalized Id/Name/Description), NOT .result[]; the scripts already use the correct path
Duplicate project nameIdempotent create check should catch this; return the existing project ID instead of creating a duplicate
Empty project listNo projects exist yet; guide the user to create one before setting up work items or pipelines
Missing update fieldUpdate fails if none of --name, --description, or --is-active is provided; ensure at least one is passed
No default org and no --target-orgCommands fail with a NoOrgFound / missing target-org error; set --target-org <alias> or sf config set target-org <alias>
Activate/deactivate passes a value--is-active is a boolean flag — use --is-active or --no-is-active, never --is-active true

Output Expectations

Deliverables vary by operation:

  • List: tab-separated Id Name Description lines (or NO_PROJECTS) from scripts/list-projects.sh
  • Create: EXISTING <id> or CREATED <id> from scripts/create-project.sh
  • Update: UPDATED <id> from scripts/update-project.sh

Outputs are derived from the sf devops project CLI via the scripts/ helpers, which read the authoritative .result.projects[] list envelope.


Verification Checklist

Before reporting results to the user:

Universal Checks

  • Was org authentication verified with sf org display --json?
  • Was --target-org <alias> supplied to the script (or the target-org config var confirmed set)?
  • Did the invoked script exit 0? (Non-zero exit means the operation failed — report the script's error message.)

List Operation Checks

  • Are projects displayed with project ID, name, and description?
  • If the script returned NO_PROJECTS, was this communicated to the user?
  • If resolving a name to an ID, was the ID returned (or "not found" surfaced on exit 3)?

Create Operation Checks

  • Did the script return CREATED <id> or EXISTING <id>, and was the ID reported?

Update Operation Checks

  • Was the project identified by --project <id> or --project name:<name>?
  • Was at least one update field provided (name, description, or --is-active/--no-is-active)?
  • Did the script return UPDATED <id>?

Cross-Skill Integration

WhenDelegate to
User wants to create, list, or update work items in a projectdx-devops-work-item-manage (pass the project ID from this skill)
User wants to create or configure a pipeline for a projectdx-devops-pipeline-manage
User wants to promote or deploy changesdx-devops-promote

This skill typically runs first in a DevOps Center workflow — the project ID it returns is the entry point for work item and pipeline skills.


Reference File Index

FileWhen to read / run
scripts/list-projects.shWorkflow step 3 — list all projects or resolve a project name to an ID (--resolve); handles the empty-list case
scripts/create-project.shWorkflow step 4 — idempotently create a project and verify it via re-read
scripts/update-project.shWorkflow step 5 — update name/description/active status by ID or name
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 (name resolution, idempotent creation, project setup as a workflow entry point)

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Dx Devops Project Manage AI 技能有什么作用?

使用此技能列出、查看或管理 Salesforce 组织中的 DevOps Center 项目——显示所有项目、创建项目,或更新现有项目的名称、说明或启用状态。用户提出任何列表请求时,调用此技能运行 sf devops project list;用户希望创建项目、搭建新的流水线基础、为某项功能初始化 DevOps Center、更新项目设置,或启用/停用(归档)项目时,也应调用。此技能整合了 sf devops project list/create/update。不适用于工作项、流水线、晋级或冲突操作——这些操作由其他技能处理。

为什么在 TypingMind 中使用 Dx Devops Project Manage?

因为您只需安装一次,就能搭配任何模型使用。Dx Devops Project Manage 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Dx Devops Project Manage?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/forcedotcom/sf-skills/tree/main/plugins/builder/dx-devops/skills/dx-devops-project-manage。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Dx Devops Project Manage?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Dx Devops Project Manage 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Dx Devops Project Manage 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Dx Devops Project Manage AI 技能免费吗?

是的。forcedotcom 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇