
Platform Value Set Generate
Generates and validates GlobalValueSet and StandardValueSet metadata for Salesforce, the two flavors of reusable picklists. Reach for it when you need a value set shared across multiple fields or when customizing a standard catalog picklist like Industry or Lead Source. The spec is refreshingly explicit about the distinction: GlobalValueSets live in their own folder, use customValue elements, and let you create new sets. StandardValueSets can only modify existing catalog entries, use standardValue elements, and require surgical updates with only the values you're changing. One gotcha worth noting: ignore the __gvs suffix you'll see in API 57.0+ orgs, it's display only and will break deployments if you use it in metadata.
- skills.sh installs
- 5.2K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add forcedotcom/sf-skills --skill platform-value-set-generate --agent claude-codeInstalls into .claude/skills of the current project.
Files
Overview
Generates and validates the two reusable picklist value-set metadata types — GlobalValueSet (a new reusable set shared across fields) and StandardValueSet (customizing a built-in catalog picklist like Industry or Lead Source) — and wires a CustomField to one via <valueSetName>.
For authoritative Metadata API type, field, and enum details beyond this skill, use the platform-metadata-api-context-get skill.
Scope
- In scope: creating a GlobalValueSet, customizing a StandardValueSet, referencing either from a field, and the related deployment errors.
- Out of scope: a one-off inline picklist on a single field with no reuse → use
platform-custom-field-generate(inline<valueSetDefinition>). Generating the field that references a value set is alsoplatform-custom-field-generate's job; this skill produces the value set itself.
Two different metadata types — do not confuse them:
Sponsors
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- Productivity & Planning, Sales & Marketing
- First seen
- Jul 14, 2026
More from forcedotcom/sf-skills
All 158- Integration Eventing Cdc Configure5.2K
- Integration Eventing Subscription Configure5.2K
- Platform Trust Archive Manage5.2K
- Experience Ui Bundle File Upload Generate5.2K
- Experience Ui Bundle Features Generate5.1K
- Dx Devops Test Failures Analyze5.1K
- Data360 Schema Get5.1K
- Dx Devops Test Pipeline Configure5.1K
- Experience Ui Bundle Site Generate5K
- Dx Devops Test Suite Assignments Configure5K
- Dx Devops Test Suite Run5K
- Experience Cms Brand Apply5K
- Experience Ui Bundle Agentforce Client Generate5K
- Data360 Code Extension Generate5K
- Platform Agentexchange Partner Offers Configure5K
- Dx Code Analyzer Custom Rule Create4.9K
- Platform Agentsetup Categories Fetch4.9K
- Omnistudio Datamapper Generate4.9K
- Omnistudio Omniscript Generate4.9K
- Omnistudio Dependencies Analyze4.9K
- Omnistudio Integration Procedure Generate4.8K
- Omnistudio Callable Apex Generate4.8K
- Omnistudio Flexcard Generate4.8K
- Omnistudio Datapacks Deploy4.8K