kugamon/salesforce-core-skills / plugins/salesforce-core/skills/sf-metadata
sf-metadata
VerifiedSalesforce metadata operations expert. Use when creating custom objects, fields, validation rules, record types, permission sets, or querying org metadata structures via a Salesforce MCP server. Do NOT use for comparing metadata across two orgs (use sf-orgdiff), Named or External Credentials and Platform Events (use sf-integration), or querying and loading records (use sf- data). Usage: /sf-metadata [create|update|delete|describe] {ObjectName|FieldName|type} ...
references/layout-metadata-schema.json
View on GitHub{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "/schemas/salesforce-layout-metadata.json",
"title": "Salesforce Layout Metadata",
"description": "JSON Schema for Salesforce Layout metadata (API v66.0). Auto-generated from the org's metadata WSDL by pull_schema.py.",
"type": "object",
"$defs": {
"AnalyticsCloudComponentLayoutItem": {
"type": "object",
"properties": {
"assetType": {
"type": "string"
},
"devName": {
"type": "string"
},
"error": {
"type": "string"
},
"filter": {
"type": "string"
},
"height": {
"type": "integer"
},
"hideOnError": {
"type": "boolean"
},
"showHeader": {
"type": "boolean"
},
"showSharing": {
"type": "boolean"
},
"showTitle": {
"type": "boolean"
},
"width": {
"type": "string"
}
},
"additionalProperties": true,
"required": ["assetType", "devName"]
},
"Container": {
"type": "object",
"properties": {
"height": {
"type": "integer"
},
"isContainerAutoSizeEnabled": {
"type": "boolean"
},
"region": {
"type": "string"
},
"sidebarComponents": {
"type": "array",
"items": {
"$ref": "#/$defs/SidebarComponent"
}
},
"style": {
"type": "string"
},
"unit": {
"type": "string"
},
"width": {
"type": "integer"
}
},
"additionalProperties": true,
"required": ["isContainerAutoSizeEnabled", "region", "style", "unit"]
},
"CustomConsoleComponents": {
"type": "object",
"properties": {
"primaryTabComponents": {
"$ref": "#/$defs/PrimaryTabComponents"
},
"subtabComponents": {
"$ref": "#/$defs/SubtabComponents"
}
},
"additionalProperties": true
},
"FeedLayout": {
"type": "object",
"properties": {
"autocollapsePublisher": {
"type": "boolean"
},
"compactFeed": {
"type": "boolean"
},
"feedFilterPosition": {
"type": "string",
"enum": ["CenterDropDown", "LeftFixed", "LeftFloat"]
},
"feedFilters": {
"type": "array",
"items": {
"$ref": "#/$defs/FeedLayoutFilter"
}
},
"fullWidthFeed": {
"type": "boolean"
},
"hideSidebar": {
"type": "boolean"
},
"highlightExternalFeedItems": {
"type": "boolean"
},
"leftComponents": {
"type": "array",
"items": {
"$ref": "#/$defs/FeedLayoutComponent"
}
},
"rightComponents": {
"type": "array",
"items": {
"$ref": "#/$defs/FeedLayoutComponent"
}
},
"useInlineFiltersInConsole": {
"type": "boolean"
}
},
"additionalProperties": true
},
"FeedLayoutComponent": {
"type": "object",
"properties": {
"componentType": {
"type": "string",
"enum": [
"HelpAndToolLinks",
"CustomButtons",
"Following",
"Followers",
"CustomLinks",
"Milestones",
"Topics",
"CaseUnifiedFiles",
"Visualforce"
]
},
"height": {
"type": "integer"
},
"page": {
"type": "string"
}
},
"additionalProperties": true,
"required": ["componentType"]
},
"FeedLayoutFilter": {
"type": "object",
"properties": {
"feedFilterName": {
"type": "string"
},
"feedFilterType": {
"type": "string",
"enum": ["AllUpdates", "FeedItemType", "Custom"]
},
"feedItemType": {
"type": "string",
"enum": [
"TrackedChange",
"UserStatus",
"TextPost",
"AdvancedTextPost",
"LinkPost",
"ContentPost",
"PollPost",
"RypplePost",
"ProfileSkillPost",
"DashboardComponentSnapshot",
"ApprovalPost",
"CaseCommentPost",
"ReplyPost",
"EmailMessageEvent",
"CallLogPost",
"ChangeStatusPost",
"AttachArticleEvent",
"MilestoneEvent",
"ActivityEvent",
"ChatTranscriptPost",
"CollaborationGroupCreated",
"CollaborationGroupUnarchived",
"SocialPost",
"QuestionPost",
"FacebookPost",
"BasicTemplateFeedItem",
"CreateRecordEvent",
"CanvasPost",
"AnnouncementPost"
]
}
},
"additionalProperties": true,
"required": ["feedFilterType"]
},
"Layout": {
"type": "object",
"properties": {
"customButtons": {
"type": "array",
"items": {
"type": "string"
}
},
"customConsoleComponents": {
"$ref": "#/$defs/CustomConsoleComponents"
},
"emailDefault": {
"type": "boolean"
},
"excludeButtons": {
"type": "array",
"items": {
"type": "string"
}
},
"feedLayout": {
"$ref": "#/$defs/FeedLayout"
},
"headers": {
"type": "array",
"items": {
"type": "string",
"enum": ["PersonalTagging", "PublicTagging"]
}
},
"layoutSections": {
"type": "array",
"items": {
"$ref": "#/$defs/LayoutSection"
}
},
"miniLayout": {
"$ref": "#/$defs/MiniLayout"
},
"multilineLayoutFields": {
"type": "array",
"items": {
"type": "string"
}
},
"platformActionList": {
"$ref": "#/$defs/PlatformActionList"
},
"quickActionList": {
"$ref": "#/$defs/QuickActionList"
},
"relatedContent": {
"$ref": "#/$defs/RelatedContent"
},
"relatedLists": {
"type": "array",
"items": {
"$ref": "#/$defs/RelatedListItem"
}
},
"relatedObjects": {
"type": "array",
"items": {
"type": "string"
}
},
"runAssignmentRulesDefault": {
"type": "boolean"
},
"showEmailCheckbox": {
"type": "boolean"
},
"showHighlightsPanel": {
"type": "boolean"
},
"showInteractionLogPanel": {
"type": "boolean"
},
"showKnowledgeComponent": {
"type": "boolean"
},
"showRunAssignmentRulesCheckbox": {
"type": "boolean"
},
"showSolutionSection": {
"type": "boolean"
},
"showSubmitAndAttachButton": {
"type": "boolean"
},
"summaryLayout": {
"$ref": "#/$defs/SummaryLayout"
}
},
"additionalProperties": true
},
"LayoutColumn": {
"type": "object",
"properties": {
"layoutItems": {
"type": "array",
"items": {
"$ref": "#/$defs/LayoutItem"
}
},
"reserved": {
"type": "string"
}
},
"additionalProperties": true
},
"LayoutItem": {
"type": "object",
"properties": {
"analyticsCloudComponent": {
"$ref": "#/$defs/AnalyticsCloudComponentLayoutItem"
},
"behavior": {
"type": "string",
"enum": ["Edit", "Required", "Readonly"]
},
"canvas": {
"type": "string"
},
"component": {
"type": "string"
},
"customLink": {
"type": "string"
},
"emptySpace": {
"type": "boolean"
},
"field": {
"type": "string"
},
"height": {
"type": "integer"
},
"page": {
"type": "string"
},
"reportChartComponent": {
"$ref": "#/$defs/ReportChartComponentLayoutItem"
},
"scontrol": {
"type": "string"
},
"showLabel": {
"type": "boolean"
},
"showScrollbars": {
"type": "boolean"
},
"width": {
"type": "string"
}
},
"additionalProperties": true
},
"LayoutSection": {
"type": "object",
"properties": {
"customLabel": {
"type": "boolean"
},
"detailHeading": {
"type": "boolean"
},
"editHeading": {
"type": "boolean"
},
"label": {
"type": "string"
},
"layoutColumns": {
"type": "array",
"items": {
"$ref": "#/$defs/LayoutColumn"
}
},
"style": {
"type": "string",
"enum": ["TwoColumnsTopToBottom", "TwoColumnsLeftToRight", "OneColumn", "CustomLinks"]
}
},
"additionalProperties": true,
"required": ["style"]
},
"LayoutSectionTranslation": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"section": {
"type": "string"
}
},
"additionalProperties": true,
"required": ["label", "section"]
},
"LayoutTranslation": {
"type": "object",
"properties": {
"layout": {
"type": "string"
},
"layoutType": {
"type": "string"
},
"sections": {
"type": "array",
"items": {
"$ref": "#/$defs/LayoutSectionTranslation"
}
}
},
"additionalProperties": true,
"required": ["layout"]
},
"MiniLayout": {
"type": "object",
"properties": {
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"relatedLists": {
"type": "array",
"items": {
"$ref": "#/$defs/RelatedListItem"
}
}
},
"additionalProperties": true
},
"PlatformActionList": {
"type": "object",
"properties": {
"actionListContext": {
"type": "string",
"enum": [
"ListView",
"RelatedList",
"ListViewRecord",
"RelatedListRecord",
"Record",
"FeedElement",
"Chatter",
"Global",
"Flexipage",
"MruList",
"MruRow",
"RecordEdit",
"Photo",
"BannerPhoto",
"ObjectHomeChart",
"ListViewDefinition",
"Dockable",
"Lookup",
"Assistant"
]
},
"platformActionListItems": {
"type": "array",
"items": {
"$ref": "#/$defs/PlatformActionListItem"
}
},
"relatedSourceEntity": {
"type": "string"
}
},
"additionalProperties": true,
"required": ["actionListContext"]
},
"PlatformActionListItem": {
"type": "object",
"properties": {
"actionName": {
"type": "string"
},
"actionType": {
"type": "string",
"enum": [
"QuickAction",
"StandardButton",
"CustomButton",
"ProductivityAction",
"ActionLink",
"InvocableAction"
]
},
"sortOrder": {
"type": "integer"
},
"subtype": {
"type": "string"
}
},
"additionalProperties": true,
"required": ["actionName", "actionType", "sortOrder"]
},
"PrimaryTabComponents": {
"type": "object",
"properties": {
"containers": {
"type": "array",
"items": {
"$ref": "#/$defs/Container"
}
}
},
"additionalProperties": true
},
"QuickActionList": {
"type": "object",
"properties": {
"quickActionListItems": {
"type": "array",
"items": {
"$ref": "#/$defs/QuickActionListItem"
}
}
},
"additionalProperties": true
},
"QuickActionListItem": {
"type": "object",
"properties": {
"quickActionName": {
"type": "string"
}
},
"additionalProperties": true,
"required": ["quickActionName"]
},
"RelatedContent": {
"type": "object",
"properties": {
"relatedContentItems": {
"type": "array",
"items": {
"$ref": "#/$defs/RelatedContentItem"
}
}
},
"additionalProperties": true
},
"RelatedContentItem": {
"type": "object",
"properties": {
"layoutItem": {
"$ref": "#/$defs/LayoutItem"
}
},
"additionalProperties": true,
"required": ["layoutItem"]
},
"RelatedList": {
"type": "object",
"properties": {
"hideOnDetail": {
"type": "boolean"
},
"name": {
"type": "string"
}
},
"additionalProperties": true,
"required": ["hideOnDetail", "name"]
},
"RelatedListItem": {
"type": "object",
"properties": {
"customButtons": {
"type": "array",
"items": {
"type": "string"
}
},
"excludeButtons": {
"type": "array",
"items": {
"type": "string"
}
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"quickActions": {
"type": "array",
"items": {
"type": "string"
}
},
"relatedList": {
"type": "string"
},
"sortField": {
"type": "string"
},
"sortOrder": {
"type": "string",
"enum": ["Asc", "Desc"]
}
},
"additionalProperties": true,
"required": ["relatedList"]
},
"ReportChartComponentLayoutItem": {
"type": "object",
"properties": {
"cacheData": {
"type": "boolean"
},
"contextFilterableField": {
"type": "string"
},
"error": {
"type": "string"
},
"hideOnError": {
"type": "boolean"
},
"includeContext": {
"type": "boolean"
},
"reportName": {
"type": "string"
},
"showTitle": {
"type": "boolean"
},
"size": {
"type": "string",
"enum": ["SMALL", "MEDIUM", "LARGE"]
}
},
"additionalProperties": true,
"required": ["reportName"]
},
"SidebarComponent": {
"type": "object",
"properties": {
"componentType": {
"type": "string"
},
"createAction": {
"type": "string"
},
"enableLinking": {
"type": "boolean"
},
"height": {
"type": "integer"
},
"label": {
"type": "string"
},
"lookup": {
"type": "string"
},
"page": {
"type": "string"
},
"relatedLists": {
"type": "array",
"items": {
"$ref": "#/$defs/RelatedList"
}
},
"unit": {
"type": "string"
},
"updateAction": {
"type": "string"
},
"width": {
"type": "integer"
}
},
"additionalProperties": true,
"required": ["componentType"]
},
"SubtabComponents": {
"type": "object",
"properties": {
"containers": {
"type": "array",
"items": {
"$ref": "#/$defs/Container"
}
}
},
"additionalProperties": true
},
"SummaryLayout": {
"type": "object",
"properties": {
"masterLabel": {
"type": "string"
},
"sizeX": {
"type": "integer"
},
"sizeY": {
"type": "integer"
},
"sizeZ": {
"type": "integer"
},
"summaryLayoutItems": {
"type": "array",
"items": {
"$ref": "#/$defs/SummaryLayoutItem"
}
},
"summaryLayoutStyle": {
"type": "string",
"enum": [
"Default",
"QuoteTemplate",
"DefaultQuoteTemplate",
"ServiceReportTemplate",
"ChildServiceReportTemplateStyle",
"DefaultServiceReportTemplate",
"CaseInteraction",
"QuickActionLayoutLeftRight",
"QuickActionLayoutTopDown",
"PathAssistant"
]
}
},
"additionalProperties": true,
"required": ["masterLabel", "sizeX", "summaryLayoutStyle"]
},
"SummaryLayoutItem": {
"type": "object",
"properties": {
"customLink": {
"type": "string"
},
"field": {
"type": "string"
},
"posX": {
"type": "integer"
},
"posY": {
"type": "integer"
},
"posZ": {
"type": "integer"
}
},
"additionalProperties": true,
"required": ["posX"]
}
},
"x-salesforce-api-version": "66.0",
"$ref": "#/$defs/Layout"
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |