/dx-devops:dx-devops-project-managefrom Salesforce DevOps Center
Lists, creates, and updates DevOps Center projects in a Salesforce org via sf CLI commands. Handles project lifecycle including naming, description changes, and activation/deactivation.
Ships in Salesforce DevOps Center. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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.
Gather or infer before proceeding:
--target-org <alias> is required on every command unless the target-org config var is already set (sf config get target-org)Defaults unless specified:
--json for headless consumptionsf devops project list --target-org <alias> --jsonIf 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.
All operations use sf devops project CLI commands with --json output for structured consumption.
Verify org authentication before any operation, checking the same org the operation will target:
# 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
sf org login web --alias <alias>
--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 orgDeterministic 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-orgargument when thetarget-orgconfig var is not set; omit it to use the default org. The scripts read the authoritative.result.projects[]list envelope.
List projects — when the user wants to see existing projects or resolve a project name to an ID:
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.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.scripts/list-projects.sh --resolve "<project-name>" [target-org] and report any errors it returns (exit 3 = no such project).Create a project — when the user wants to create a new project:
scripts/create-project.sh "<name>" "<description>" [target-org] and report any errors it returns. The description argument is optional.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).Update a project — when the user wants to change name, description, or active status:
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.--project name:<name> to update by name (the script resolves it to an ID) or --project <id> for a known ID.--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.UPDATED <id> on success.NO_PROJECTS was returned, state that no DevOps Center projects were found. If resolving a name to an ID, return the ID.EXISTING <id>, tell the user the project already existed and return that ID.| Constraint | Rationale |
|---|---|
Always use the sf devops project CLI | List/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 flag | Structured output is required for headless consumption; human-readable output is unreliable for parsing |
--target-org required unless config var set | Every sf devops project command requires --target-org <alias> unless the target-org config var is already set |
| Project ID required for update | Use --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 create | A project cannot be created without a name |
| At least one update field required | Update command fails if none of --name, --description, or --is-active is provided |
Use --is-active / --no-is-active for activation | Activate with --is-active, deactivate with --no-is-active; do not pass a value |
| Idempotent create operations | Check for an existing project with the same name before creating a duplicate |
| Never use interactive prompts | Skills run in headless environments; all inputs must be via CLI flags |
| A project is a prerequisite for work items and pipelines | Downstream skills (work-item-manage, pipeline-manage) need the project ID this skill returns |
| Issue | Resolution |
|---|---|
| No default org set | Run 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 tool | A 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 enabled | If 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 envelope | project list returns records under .result.projects[] (capitalized Id/Name/Description), NOT .result[]; the scripts already use the correct path |
| Duplicate project name | Idempotent create check should catch this; return the existing project ID instead of creating a duplicate |
| Empty project list | No projects exist yet; guide the user to create one before setting up work items or pipelines |
| Missing update field | Update fails if none of --name, --description, or --is-active is provided; ensure at least one is passed |
No default org and no --target-org | Commands 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 |
Deliverables vary by operation:
Id Name Description lines (or NO_PROJECTS) from scripts/list-projects.shEXISTING <id> or CREATED <id> from scripts/create-project.shUPDATED <id> from scripts/update-project.shOutputs are derived from the sf devops project CLI via the scripts/ helpers, which read the authoritative .result.projects[] list envelope.
Before reporting results to the user:
sf org display --json?--target-org <alias> supplied to the script (or the target-org config var confirmed set)?NO_PROJECTS, was this communicated to the user?CREATED <id> or EXISTING <id>, and was the ID reported?--project <id> or --project name:<name>?--is-active/--no-is-active)?UPDATED <id>?| When | Delegate to |
|---|---|
| User wants to create, list, or update work items in a project | dx-devops-work-item-manage (pass the project ID from this skill) |
| User wants to create or configure a pipeline for a project | dx-devops-pipeline-manage |
| User wants to promote or deploy changes | dx-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.
| File | When to read / run |
|---|---|
scripts/list-projects.sh | Workflow step 3 — list all projects or resolve a project name to an ID (--resolve); handles the empty-list case |
scripts/create-project.sh | Workflow step 4 — idempotently create a project and verify it via re-read |
scripts/update-project.sh | Workflow step 5 — update name/description/active status by ID or name |
references/cli-commands.md | When you need detailed CLI flag documentation, JSON output schemas, or error handling patterns |
examples/common-workflows.md | When the user's request matches a common pattern (name resolution, idempotent creation, project setup as a workflow entry point) |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
devops-center, salesforce-cli, project-management, sf-devops
npx claudepluginhub forcedotcom/sf-skills --plugin dx-devops8 skills in this plugin
/dx-devops-conflict-resolveUse this skill to diagnose and resolve what blocks a DevOps Center promotion of a work item's feature branch: Git merge conflicts and deployment failures. DevOps Center is Git-backed, so overlapping metadata changes surface as merge conflicts against the target stage branch, resolved with git (detect, resolve markers, commit, push). Deploy failures often cite a missing dependency a full promotion can fix when the component already exists on the branch. TRIGGER when the user wants to check a work item for conflicts before promoting, resolve merge conflicts or leftover conflict markers in metadata files (.xml, .object-meta.xml, .cls), reconcile a feature branch with its target stage branch, or diagnose why a DevOps Center promotion or deployment failed and whether a full promotion or a missing-dependency fix will resolve it. DO NOT TRIGGER for running the promotion itself (use dx-devops-promote), creating or updating work items (use dx-devops-work-item-manage), or deploying metadata directly to an org./dx-devops-pipeline-manageUse this skill to manage the full lifecycle of a DevOps Center pipeline — list all pipelines, get a single pipeline's details, create a new pipeline linked to a Git repository, add or remove stages, rename a stage, add or remove Salesforce environments on stages, attach or detach projects, and activate or deactivate the pipeline. Invoke when the user wants to set up a release pipeline, wire promotion stages across integration, UAT, staging, and production orgs, connect environments to stages, attach a project, or activate a continuous delivery pipeline. Uses sf devops pipeline and sf devops stage commands with --json output. DO NOT TRIGGER for work-item lifecycle, promotion or deployment execution, conflict detection, or standalone project creation (separate skills).3 plugins in 2 repositories ship this exact skill · first indexed Sep 27, 2026
Other plugins' skills for the same job