forcedotcom avatar

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-code

Installs 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 also platform-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
1samber avatarsubstack-ghostwritingsamber/cc-skillsWrite, optimize, and grow Substack content — both newsletter issues (email-first) and web posts (web-first articles/essays). Covers ghostwriting with voice matc5.2Kskills.sh installs
2anthropics avatarsource-managementanthropics/knowledge-work-pluginsManages connected MCP sources for enterprise search. Detects available sources, guides users to connect new ones, handles source priority ordering, and manages 5.2Kskills.sh installs
3marimo-team avatarretro-marimo-pairmarimo-team/marimo-pairSession retrospective for improving marimo-pair and marimo._code_mode. Use when the user wants to analyze friction from a pairing session, identify what went wr5.2Kskills.sh installs
4affaan-m avatarteam-agent-orchestrationaffaan-m/eccRun team-based orchestration for agent squads using work items, ownership, agent Kanban, merge gates, and control pane handoffs.5.1Kskills.sh installs
5trkbt10 avatarindexion-readmetrkbt10/indexion-skillsREADME construction — initialize template structure, generate per-package READMEs from doc comments, plan writing tasks, assemble root README from docs/ and pac5.1Kskills.sh installs
6anthropics avatarsearchanthropics/knowledge-work-pluginsSearch across all connected sources in one query. Trigger with "find that doc about...", "what did we decide on...", "where was the conversation about...", or w5.1Kskills.sh installs