/sf-devops:dx-devops-project-managefrom Salesforce — DevOps & Orgs
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 & Orgs. 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 reej-consulting/reej-sf-skills --plugin sf-devops27 skills in this plugin
/automation-sandbox-post-copy-config-generateGenerates the JSON config file that the Salesforce sandbox post-copy automation tool consumes, from a customer SOP in any format (PDF, xlsx, csv, JSON, docx, Markdown, plain text, or a screenshot of an endpoint table). Use when the user asks to create, build, generate, produce, or convert a post-copy or post-refresh automation config — turning a sandbox-refresh SOP into a JSON array of OutboundMessages (OBM), RemoteSiteSettings, ScheduledApex, and Flows entries with ConfigurationName, Label, Fields, IsActive, and ExecutionOrder. Also trigger for phrasings like "post-copy config", "post-refresh automation JSON", "update the outbound message (OBM) endpoints after refresh", "convert this SOP to config", "remote site settings JSON", "refresh planner to JSON", or "sandbox refresh config". DO NOT TRIGGER when: user wants to deploy the generated config to an org (use platform-metadata-deploy), or apply/execute/run/dry-run the post-copy automation JSON against a sandbox (use automation-sandbox-post-copy-configure)./automation-sandbox-post-copy-configureApply a Salesforce sandbox post-copy automation JSON config against a target org. Use when the user asks to apply, run, execute, dry-run, or preview a post-copy or post-refresh config file (e.g. `post-copy-config.json`) against a sandbox — including activating/deactivating a Flow (PATCH `FlowDefinition.Metadata.activeVersionNumber` to the version, or `null`), re-pointing an OBM endpoint, updating a RemoteSiteSetting URL, or re-scheduling a ScheduledApex job after refresh. Also trigger for phrasings like "apply post-copy config", "run post-copy automation", "activate Flow <name> post-refresh", "deactivate Flow <name>", "re-point outbound messages after refresh", or "configure sandbox after refresh". Per entry, derive the Tooling API sobject, verify via describe, resolve the Id via SOQL, then PATCH the compound `Metadata` field (`ScheduledApex` uses anonymous Apex). DO NOT TRIGGER for generating config JSON from an SOP (use `automation-sandbox-post-copy-config-generate`) or for deploying metadata XML./dx-app-analytics-queryISV App Analytics metadata types — AppAnalyticsQueryRequest and AppAnalyticsSettings. Use this skill when the user asks about retrieving managed package usage data, configuring App Analytics simulation mode, querying subscriber snapshots, or understanding the AppAnalyticsQueryRequest lifecycle (New → Pending → Complete → Expired). TRIGGER when: user mentions App Analytics, AppAnalyticsQueryRequest, AppAnalyticsSettings, package usage data, subscriber analytics, ISV analytics, or simulation mode for app analytics. DO NOT TRIGGER when: the task is about standard Salesforce reports/dashboards (use reporting skills), custom SOQL on Account/Contact (use querying-soql), or Data Cloud query/search (use retrieving-datacloud)./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)./dx-devops-promoteUse this skill to drive the full DevOps Center promotion workflow for work items and pipeline stages — validate preconditions, prepare work items, optionally combine work items that share metadata, promote one or more work items or an entire stage to a target pipeline stage, and complete the promotion to finalize the deployment. TRIGGER when the user wants to promote a work item, advance changes to the next environment or stage, combine work items for a single promotion, or move metadata through the release pipeline. The mandatory validate step runs automatically at the start. DO NOT TRIGGER for work item creation or status updates (use dx-devops-work-item-manage), for conflict detection, or for polling an existing promotion's status.3 plugins in 2 repositories ship this exact skill · first indexed Sep 27, 2026
Other plugins' skills for the same job