generating-custom-tab

Generate Salesforce CustomTab metadata XML for object, web, and Visualforce tabs.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/cchrisv/professorFlowVisualPicker --skill generating-custom-tab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generating-custom-tab
Source: https://github.com/cchrisv/professorFlowVisualPicker/tree/main/.agents/skills/generating-custom-tab
Command: npx skills add https://github.com/cchrisv/professorFlowVisualPicker --skill generating-custom-tab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Salesforce admins and developers spend time configuring tab navigation across objects, external content, and Visualforce pages; this skill automates the creation of correctly structured CustomTab metadata to streamline deployment.

Core Features & Use Cases

  • Generates a valid CustomTab root with correct elements for object, web, and Visualforce tabs.
  • Enforces required elements and motifs to ensure deploy-ready XML.
  • Supports common use cases such as linking to custom objects, external content, or Visualforce pages.

Quick Start

Create a new CustomTab and populate required fields such as customObject, motif, and one of url or page depending on the tab type.

Frequently Asked Questions about generating-custom-tab

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate CustomTab metadata for Salesforce deployment?

To generate CustomTab metadata for Salesforce deployment, populate a valid CustomTab root element with required fields such as customObject, motif, and either a url or page depending on the specific tab type.

What is the correct XML structure for a Salesforce CustomTab?

A valid Salesforce CustomTab requires a root CustomTab element and correct customObject and motif settings. It enforces required elements while forbidding disallowed elements to ensure the XML is deploy-ready.

Does CustomTab metadata support Visualforce pages and external web tabs?

CustomTab metadata supports object tabs, web tabs, and Visualforce tabs. It generates the correct elements for each type, linking to custom objects, external content URLs, or specific Visualforce pages.

What motifs are required when configuring Salesforce tab metadata?

Motifs are required elements in Salesforce tab metadata to define the tab icon. The skill enforces correct motif settings alongside the customObject element to ensure the generated XML is valid for deployment.

Why does my Salesforce CustomTab deployment fail with invalid XML elements?

Salesforce CustomTab deployment fails if the metadata XML includes disallowed elements. The skill conforms to the Salesforce metadata XML structure by enforcing required elements and forbidding invalid ones to prevent deployment errors.