forcedotcom/sf-skills / skills/sales-agentforce-pipeline-management-configure
sales-agentforce-pipeline-management-configure
VerifiedUse to configure, set up, or repair the Sales Management agent and Agentforce Pipeline Management in a Salesforce org. Automates metadata creation for flows, prompt templates, permission sets, and data source configuration. TRIGGER when: user wants to enable Pipeline Management, configure Sales pipeline features, set up the Sales Management agent for opportunity field updates (including autonomous updates), connect enabled data sources like Einstein Conversation Insights or Einstein Activity Capture, customize opportunity stage descriptions, configure post-meeting suggestions, verify or audit configuration status, fix partially configured orgs, or troubleshoot Pipeline Management metadata issues. DO NOT TRIGGER when: user wants to build a custom agent (use agentforce-generate), configure general Agentforce tracing (use platform-tracing-agentforce-configure), work with non-Sales agents, or enable Einstein Conversation Insights or Einstein Activity Capture from scratch (provisioning is out of scope).
scripts/deploy-settings.sh
View on GitHub#!/bin/bash
# Deploy Pipeline Management settings from local metadata files
# Usage: ./deploy-settings.sh <org-alias>
set -euo pipefail
# sf CLI can emit ANSI color codes inside --json stdout, breaking jq parsing.
# 2>/dev/null only strips stderr; these env vars are the reliable fix (see PM notes).
export NO_COLOR=1
export FORCE_COLOR=0
ORG_ALIAS="${1:-}"
if [[ -z "$ORG_ALIAS" ]]; then
echo "❌ Error: Missing org alias"
echo "Usage: $0 <org-alias>"
exit 1
fi
if [[ ! -f "sfdx-project.json" ]]; then
echo "❌ Error: sfdx-project.json not found in current directory"
echo "Copy from ../assets/sfdx-project.json first"
exit 1
fi
SETTINGS_DIR="force-app/main/default/settings"
if [[ ! -d "$SETTINGS_DIR" ]]; then
echo "❌ Error: Settings directory not found: $SETTINGS_DIR"
echo "Run ./retrieve-settings.sh first to retrieve settings"
exit 1
fi
echo "📤 Deploying Pipeline Management settings to org: $ORG_ALIAS"
echo ""
# Count available settings files
SETTINGS_COUNT=$(find "$SETTINGS_DIR" -name "*.settings-meta.xml" -type f | wc -l | tr -d ' ')
if [[ "$SETTINGS_COUNT" -eq 0 ]]; then
echo "❌ No settings files found in $SETTINGS_DIR"
exit 1
fi
echo "Found $SETTINGS_COUNT settings file(s) to deploy"
echo ""
# Deploy all settings
echo "Deploying settings..."
if sf project deploy start \
--source-dir "$SETTINGS_DIR" \
--target-org "$ORG_ALIAS" \
--json 2>/dev/null | jq -e '.status == 0' >/dev/null 2>&1; then
echo "✅ Settings deployed successfully"
else
echo "❌ Deployment failed"
echo ""
echo "Retrying with verbose output..."
sf project deploy start \
--source-dir "$SETTINGS_DIR" \
--target-org "$ORG_ALIAS"
exit 1
fi
echo ""
# List deployed files
echo "Deployed settings:"
find "$SETTINGS_DIR" -name "*.settings-meta.xml" -type f | while read -r FILE; do
BASENAME=$(basename "$FILE" .settings-meta.xml)
echo " ✅ $BASENAME"
done
echo ""
echo "✅ Deployment complete"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |