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/list-projects.sh

View on GitHub
#!/usr/bin/env bash
# Deterministically list DevOps Center projects, or resolve a single project
# name to its ID. Handles the empty-list case explicitly.
# Usage:
#   scripts/list-projects.sh [target-org]
#       -> print "Id<TAB>Name<TAB>Description" for every project (one per line);
#          prints "NO_PROJECTS" to stdout and exits 0 when none exist
#   scripts/list-projects.sh --resolve <project-name> [target-org]
#       -> print the matching project's Id on stdout; exits 3 if not found
# Exits 2 on any CLI read / JSON error.
#
# project list returns SObject records under .result.projects[] with capitalized
# fields (Id, Name, Description).

set -euo pipefail

read_projects() {
  local org="$1" flag=() err rc json st
  [ -n "$org" ] && flag=(--target-org "$org")
  err=$(mktemp); rc=0
  json=$(sf devops project list "${flag[@]+"${flag[@]}"}" --json 2>"$err") || rc=$?
  if [ "$rc" -ne 0 ]; then
    echo "ERROR: could not list projects (sf exited $rc): $(tr '\n' ' ' <"$err")" >&2
    rm -f "$err"; exit 2
  fi
  rm -f "$err"
  st=$(echo "$json" | jq -r '.status // 1' 2>/dev/null || echo 1)
  if [ "$st" != "0" ]; then
    local msg; msg=$(echo "$json" | jq -r '.message // "unknown error"' 2>/dev/null || echo "unparseable response")
    echo "ERROR: 'project list' returned status $st — $msg" >&2; exit 2
  fi
  printf '%s' "$json"
}

if [ "${1:-}" = "--resolve" ]; then
  NAME="${2:?--resolve needs a project name}"; ORG="${3:-}"
  JSON=$(read_projects "$ORG")
  ID=$(echo "$JSON" | jq -r --arg n "$NAME" '.result.projects[]? | select(.Name == $n) | .Id' | head -n1)
  if [ -z "$ID" ] || [ "$ID" = "null" ]; then
    echo "ERROR: no project named '$NAME' found" >&2; exit 3
  fi
  echo "$ID"; exit 0
fi

ORG="${1:-}"
JSON=$(read_projects "$ORG")
COUNT=$(echo "$JSON" | jq '.result.projects | length')
if [ "$COUNT" -eq 0 ]; then
  echo "NO_PROJECTS"; exit 0
fi
echo "$JSON" | jq -r '.result.projects[] | "\(.Id)\t\(.Name)\t\(.Description // "")"'
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