Skip to content
forcedotcom avatar

Platform Metadata Api Context Get

Metadata API reference that gives authoritative schema, required flags, and XML structure for generating *-meta.xml files.

CCM score
67 of 100
skills.sh installs
6.3K
GitHub stars
1.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers 604 Salesforce Metadata API types, with fields, required flags, WSDL segments, sample XML, file suffixes, and SFDX directory locations
  • Requires section-specific loading with jq or programmatic JSON parsing, so only fields or description are read from assets/metadata_api/*.json
  • Designed as a companion to any metadata generator skill, loaded in the same turn to avoid hallucinated element names and deploy failures

Install

$ npx -y skills add forcedotcom/sf-skills --skill platform-metadata-api-context-get -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Salesforce Metadata API Skill

This skill provides comprehensive documentation for all 604 Salesforce Metadata API types. Use this skill to create, understand, and modify Salesforce metadata XML files in your Salesforce DX projects.

Overview

The Salesforce Metadata API allows you to retrieve, deploy, create, update, or delete customizations for your org. This skill gives you access to detailed documentation for each metadata type, including:

  • Field definitions and data types
  • Required vs. optional fields
  • WSDL schema definitions
  • Sample XML structures
  • File naming conventions
  • Directory locations in Salesforce DX projects

How to Use This Skill

CRITICAL: Section-Specific Consumption

ALWAYS consume only the specific sections you need from JSON files, NOT entire files.

Details

Repository
github.com/forcedotcom/sf-skills
Category
Backend & APIs
First seen
Jul 14, 2026

Questions

What does the platform-metadata-api-context-get skill do for Salesforce metadata?

It supplies the authoritative schema, fields, required flags, allowed enum values, and XML structure for Salesforce Metadata API types. Loading it when generating *-meta.xml files helps the generated metadata deploy cleanly instead of failing on invented element names.

When should I load platform-metadata-api-context-get alongside another skill?

Load it in the same turn as any metadata generation skill, since a generator and this companion skill are meant to be used together. It applies whenever you create, edit, or author custom objects, fields, permission sets, flows, record pages, or other *-meta.xml files.

How do I install the platform-metadata-api-context-get skill?

Run npx -y skills add forcedotcom/sf-skills --skill platform-metadata-api-context-get -y in a project. The skill needs jq, node, python3, and the sf CLI available on the machine, with minimum versions listed in its metadata.

More from forcedotcom/sf-skills

All 78

Similar to Platform Metadata Api Context Get

More Backend & APIs