Skip to content

forcedotcom/sf-skills / plugins/builder/dx-devops/skills/dx-devops-project-manage

dx-devops-project-manage

Verified

Use to list, view, or manage DevOps Center projects in a Salesforce org — show all projects, create a project, or update an existing project's name, description, or active status. Invoke to run sf devops project list on any listing request, or to create a project, set up a new pipeline foundation, initialize DevOps Center for a feature, update project settings, or activate/deactivate (archive) a project. Consolidates sf devops project list/create/update. DO NOT TRIGGER for work item, pipeline, promotion, or conflict operations — those are separate skills.

FileKindSize
SKILL.mdskill md12.9 KB
examples/common-workflows.mdmarkdown5.6 KB
references/cli-commands.mdmarkdown7.2 KB
scripts/create-project.shexecutablescript2.1 KB
scripts/list-projects.shexecutablescript1.9 KB
scripts/update-project.shexecutablescript3.9 KB

scripts/create-project.sh

View on GitHub
#!/usr/bin/env bash
# Deterministically create a DevOps Center project, idempotently: if a project
# with the same name already exists, return its ID instead of creating a
# duplicate. Verifies success by re-reading the project list, so it never
# depends on the create command's own output envelope.
# Usage:
#   scripts/create-project.sh <name> [description] [target-org]
# Prints "EXISTING <id>" or "CREATED <id>" on success; exits 2 on error.

set -euo pipefail

NAME="${1:?Usage: create-project.sh <name> [description] [target-org]}"
DESC="${2:-}"
ORG="${3:-}"
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

# Idempotency preflight. list-projects.sh --resolve exits 0 (found), 3 (no such
# project), or 2 (auth / CLI / JSON failure). Only a clean "not found" (3) is
# safe to proceed on — any other failure means the list could not be read, so we
# must abort rather than risk a duplicate or writing to an unreadable org.
err=$(mktemp); rc=0
EXISTING=$("$HERE/list-projects.sh" --resolve "$NAME" "$ORG" 2>"$err") || rc=$?
if [ "$rc" -eq 0 ]; then
  rm -f "$err"; echo "EXISTING $EXISTING"; exit 0
elif [ "$rc" -ne 3 ]; then
  echo "ERROR: idempotency preflight failed (exit $rc); aborting create to avoid a duplicate or writing to an org whose project list could not be read: $(tr '\n' ' ' <"$err")" >&2
  rm -f "$err"; exit "$rc"
fi
rm -f "$err"
# rc == 3: no existing project with this name — safe to create.

flag=(); [ -n "$ORG" ] && flag=(--target-org "$ORG")
dflag=(); [ -n "$DESC" ] && dflag=(--description "$DESC")

err=$(mktemp); rc=0
sf devops project create --name "$NAME" "${dflag[@]+"${dflag[@]}"}" "${flag[@]+"${flag[@]}"}" --json >/dev/null 2>"$err" || rc=$?
if [ "$rc" -ne 0 ]; then
  echo "ERROR: project create failed (sf exited $rc): $(tr '\n' ' ' <"$err")" >&2
  rm -f "$err"; exit 2
fi
rm -f "$err"

# Verify by re-reading the list (authoritative .result.projects[] envelope).
if ID=$("$HERE/list-projects.sh" --resolve "$NAME" "$ORG"); then
  echo "CREATED $ID"; exit 0
fi
echo "ERROR: create reported success but project '$NAME' is not in the project list" >&2
exit 2
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall