Skip to content
forcedotcom avatar

Platform Custom Tab Generate

Strict allowlist-driven templates for Salesforce CustomTab metadata covering object, web, and Visualforce tabs with icon-motif selection.

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

Own this skill? Claim it

What it does

  • Covers the three tab types: object tabs, web tabs, and Visualforce tabs, with the exact XML elements each one accepts
  • Includes a strict element allowlist and a forbidden-element list, so deployments avoid errors from <sobjectName>, <label> on object tabs, and empty elements
  • Provides copy-ready XML templates and a guide to choosing a distinct, semantically matched motif for each tab
  • Designed for Salesforce developers configuring tab navigation for custom objects, external web content, or Visualforce pages

Install

$ npx -y skills add forcedotcom/sf-skills --skill platform-custom-tab-generate -y

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

Files

When to Use This Skill

Use this skill when you need to:

  • Create tabs for objects, web pages, or Visualforce pages
  • Add navigation tabs to applications
  • Configure tab visibility and access
  • Troubleshoot deployment errors related to custom tabs

Specification

CustomTab Metadata Specification

Overview

Custom tabs for navigating to objects, web content, or Visualforce pages within Salesforce applications.

Purpose

  • Provide navigation to custom objects
  • Link to external web content
  • Access Visualforce pages
  • Organize application navigation

Required Properties

Core Tab Properties

  • customObject: true for custom object tabs, false for all others.
  • motif: Tab icon style — choose a motif that semantically matches the object's purpose. Do NOT reuse the same motif for every tab.
  • label: Display name (required for non-object tabs ONLY; object tabs inherit label from the object)
  • url: Web URL (for web tabs)
  • page: Visualforce page name (for Visualforce tabs)

STRICT ELEMENT ALLOWLIST — READ THIS FIRST

Details

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

More from forcedotcom/sf-skills

All 78

Similar to Platform Custom Tab Generate

More Backend & APIs