What problem does it solve? Writing and debugging Salesforce CLI v2 (sf) commands is error-prone: retired sfdx force:* syntax, ambiguous org resolution, unparsable human output, and CI authorization failures routinely break pipelines. This Skill provides the deterministic command knowledge needed to run sf correctly in scripts, hooks, and CI gates. ## Core Features & Use Cases - Complete topic and flag reference: Covers sf org, sf project, sf apex, sf data, sf package, sf schema, sf config, sf alias, sf plugins, and sf code-analyzer, plus global flags like --json, --target-org, and --api-version. - Non-interactive CI authorization: Documents JWT bearer and sfdx-url login flows, connected app setup, and hardened environment variables for GitHub Actions, Jenkins, and CircleCI. - JSON automation recipes: Provides jq extraction patterns for org display, project deploy, apex run test, and data query payloads, plus exit-code semantics for gate scripting. - Use Case: A CI pipeline fails with expired access/refresh token during deployment. Use this Skill to diagnose the auth failure, reauthorize with sf org login jwt, and add --target-org plus --json guards so the deploy gate fails deterministically instead of silently targeting the wrong org. ## Quick Start Ask the assistant to write a CI script that authorizes a Salesforce org with JWT and validates a deployment using sf project deploy validate with JSON output parsing.