forcedotcom avatar

Platform Metadata Api Context Get

This is your go-to when you're hand-editing Salesforce metadata XML files or need to know what fields a metadata type supports. It covers all 604 Metadata API types with their field definitions, required attributes, and XML structure. The skill is built around JSON files that include verbose WSDL segments, so the key workflow is loading only specific sections you need (like "fields" or "description") rather than whole files, which saves 60-80% of your token budget. Comes with Python, JavaScript, and bash examples showing exactly how to extract sections programmatically. Most useful when you're working in a Salesforce DX project and need to understand what goes in those .object-meta.xml or .flow-meta.xml files.

skills.sh installs
6.2K
GitHub stars
1.2K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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.

Sponsors

Details

Repository
github.com/forcedotcom/sf-skills
Categories
Frontend Development, Backend & APIs, DevOps & CI/CD, Release Management, Automation & Workflows, Sales & Marketing
First seen
Jul 14, 2026

More from forcedotcom/sf-skills

All 158
1affaan-m avatarjava-coding-standardsaffaan-m/eccJava coding standards for Spring Boot and Quarkus services: naming, immutability, Optional usage, streams, exceptions, generics, CDI, reactive patterns, and pro6.2Kskills.sh installs
2vinvcn avatarimprove-codebase-architecturevinvcn/mattpocock-skills-zh-cn扫描代码库中的深化机会,生成可视化 HTML 报告,然后围绕你选中的候选项继续追问。6.1Kskills.sh installs
3affaan-m avatarremotion-video-creationaffaan-m/eccBest practices for Remotion - Video creation in React. 29 domain-specific rules covering 3D, animations, audio, captions, charts, transitions, and more.6Kskills.sh installs
4forcedotcom avatarplatform-custom-tab-generateforcedotcom/sf-skillsUse this skill when users need to create or configure Salesforce Custom Tabs. Trigger when users mention tabs, navigation tabs, object tabs, web tabs, Visualfor6Kskills.sh installs
5jeffallan avatarfullstack-guardianjeffallan/claude-skillsBuilds security-focused full-stack web applications by implementing integrated frontend and backend components with layered security at every level. Covers the 5.9Kskills.sh installs
6bencium avatarbencium-impact-designerbencium/bencium-marketplaceCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applicat5.9Kskills.sh installs