SKILL6.0K installs1.1K

Platform Metadata Api Context Get

REQUIRED companion for Salesforce metadata generation — load this schema/API-context skill in the SAME turn as ANY metadata generation skill; if you load a generator, you ALSO load this. Use it whenever you create, generate, add, edit, or author metadata or a *-meta.xml file: custom object, custom field, formula field, picklist, lookup, master-detail, validation rule, permission set, profile, custom tab, lightning record page, flexipage, list view, custom application, flow, layout, record type, sharing rules, report, and 604 Metadata API types. It provides the authoritative schema, fields, field properties, required flags, allowed enum values, and XML structure so generated *-meta.xml deploys cleanly — skipping it causes hallucinated element names and deploy failures. Trigger on *-meta.xml, metadata schema, api context, 'Salesforce metadata', or 'sfdx project'. DO NOT use for SOQL, DML, runtime sObject access, or Tooling API records.

Type
Skill
Author
forcedotcom
GitHub stars
1.1K
Installs
6.0K
Last updated
October 30, 2026

Install

npx skills add https://github.com/forcedotcom/sf-skills --skill platform-metadata-api-context-get

About this skill

Provides the authoritative schema, field properties, required flags, and XML structure for Salesforce Metadata API types so generated *-meta.xml files deploy cleanly. It is meant to be loaded alongside any metadata generation skill in the same turn, covering objects, fields, validation rules, permission sets, flows, layouts, and hundreds of other types. Skipping it tends to produce hallucinated element names and deploy failures.

Summary written with AI assistance from the project's public description.


Categories


More from forcedotcom


Similar Skills