بنقرة واحدة
sf-package
Package development commands including creating, versioning, installing, listing, and promoting packages.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Package development commands including creating, versioning, installing, listing, and promoting packages.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Salesforce CLI (sf command) reference and best practices. Use this skill when working with Salesforce development, deployment, org management, data operations, or CI/CD workflows. Covers modern sf v2 commands from version 2.140.6 (June 28, 2026).
Raw REST API and GraphQL requests via sf CLI. Use for custom endpoints, GraphQL queries/mutations, and arbitrary HTTP calls to Salesforce APIs.
Data operations including SOQL queries, single record CRUD, bulk import/export/update, and search.
Org management commands including listing, displaying, opening, and creating Scratch Orgs and Sandboxes.
Agentforce agent management commands including creation, activation, deactivation, and testing.
Apex development commands including class and trigger generation, anonymous execution, unit test running, and debug log management.
| name | sf-package |
| description | Package development commands including creating, versioning, installing, listing, and promoting packages. |
sf package DevelopmentCommands for package development.
Create package.
# Create unlocked package
sf package create --name MyPackage --package-type Unlocked --path force-app
# Create managed package
sf package create --name MyManagedPackage --package-type Managed --path force-app
Create package version.
# Create version
sf package version create --package MyPackage \
--code-coverage \
--installation-key MyKey123 \
--wait 10
Install package.
# Install by ID
sf package install --package 04txx --target-org myOrg
# Install by alias
sf package install --package "MyPackage@1.0.0" --target-org myOrg
# Install with wait
sf package install --package 04txx --target-org myOrg --wait 10
List packages and versions.
# List packages
sf package list --target-org myDevHub
# List versions for specific package
sf package version list --target-org myDevHub --packages MyPackage
Promote package version to released status.
sf package version promote --package "MyPackage@1.0.0" --target-org myDevHub
Uninstall package and report status.
# Uninstall package
sf package uninstall --package "MyPackage@1.0.0" --target-org myOrg
# Report status
sf package uninstall report --request-id <request-id> --target-org myOrg
Display package ancestry and dependencies.
# Display ancestry
sf package version displayancestry --package MyPackage --target-org myDevHub
# Display dependencies
sf package version displaydependencies --package 04txx --target-org myDevHub
Manage push upgrades (managed packages).
# Schedule push upgrade
sf package push-upgrade schedule --package 04txx --start-time "2024-01-15T10:00:00"
# Report status
sf package push-upgrade report --request-id <id>