forcedotcom avatar

Platform Custom Tab Generate

This generates Salesforce Custom Tab metadata files for object, web, and Visualforce tabs. It's surprisingly strict about XML structure because Salesforce will reject deployments for tiny mistakes like adding a label element to an object tab or including forbidden fields like sobjectName. The skill includes an explicit allowlist of valid elements per tab type and calls out common deployment errors. Worth using if you're tired of debugging metadata validation failures. One nice touch: it reminds you to pick semantically appropriate motifs instead of defaulting every tab to the same icon, which matters more than you'd think for navigation UX.

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

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/forcedotcom/sf-skills
Categories
Frontend Development, Sales & Marketing
First seen
Jul 14, 2026

More from forcedotcom/sf-skills

All 158
1jeffallan 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
2bencium 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
3figma avatarimplement-designfigma/mcp-server-guideTranslates Figma designs into production-ready code with 1:1 visual fidelity. Use when implementing UI from Figma files, when user mentions "implement design", 5.9Kskills.sh installs
4affaan-m avatarflutter-dart-code-reviewaffaan-m/eccLibrary-agnostic Flutter/Dart code review checklist covering widget best practices, state management patterns (BLoC, Riverpod, Provider, GetX, MobX, Signals), D5.8Kskills.sh installs
5coralogix avatarcx-telemetry-queryingcoralogix/cx-cliUse this skill for any question involving telemetry data: "investigate an issue", "debug a problem", "find out why something is slow", "check error rates", "ana5.8Kskills.sh installs
6github avatarsecurity-reviewgithub/awesome-copilotAI-powered codebase security scanner that reasons about code like a security researcher — tracing data flows, understanding component interactions, and catching5.8Kskills.sh installs