platform-custom-tab-generate
Skill by forcedotcom
Creates and configures Salesforce Custom Tabs for object, web and Visualforce navigation. Built for developers and admins who write CustomTab metadata files for Salesforce deployments.
Install platform-custom-tab-generate
Built from the published package, never by AI.
git clone --depth 1 https://github.com/forcedotcom/sf-skills /tmp/sf-skills && mkdir -p ~/.claude/skills && cp -r /tmp/sf-skills/skills/platform-custom-tab-generate ~/.claude/skills/platform-custom-tab-generateRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install platform-custom-tab-generate in Claude Code
git clone --depth 1 https://github.com/forcedotcom/sf-skills /tmp/sf-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sf-skills/skills/platform-custom-tab-generate ~/.gemini/antigravity-cli/skills/platform-custom-tab-generateAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install platform-custom-tab-generate in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through creating Salesforce Custom Tabs stored as CustomTab metadata. It covers three tab types: object tabs for custom or standard objects, web tabs for external websites or web applications, and Visualforce tabs for Visualforce pages. For each type it lists the allowed XML elements, the forbidden elements that cause deployment errors, and the file naming pattern to use.
The source gives exact templates and rules. It requires the CustomTab root element and the soap.sforce.com/2006/04/metadata namespace, and it asks for a unique motif per tab. It also notes that object tabs take their label from the object. The skill is aimed at Salesforce developers and admins who build navigation or troubleshoot tab deployment errors. Its metadata sets minApiVersion to 60.0.
Written from the project's SKILL.md and checked against it.
What it can do
- Object tabsCreates a tab for a custom or standard object with a motif icon.
- Web tabsBuilds a web tab that links to an external website or web application.
- Visualforce tabsSets up a tab that opens a Visualforce page.
- Motif selectionPicks a motif that fits each tab's purpose instead of reusing one icon.
- Element validationKeeps tab files to the allowed elements and avoids forbidden ones.
- Deployment troubleshootingHelps troubleshoot deployment errors related to custom tabs.
What you need
- Salesforce API version 60.0 or later
Try asking
- Create an object tab for my Space_Station__c object with a fitting motif.
- Make a web tab named Knowledge Base that links to our help site.
- Set up a Visualforce tab for the CustomPage page.
Good to know
- Object tab files may contain only customObject and motif elements.
- Object tabs cannot have a label element; the label comes from the object.
- Elements not on the allowlist, such as isHidden or tabVisibility, cause deployment errors.
- Web tabs must include urlEncodingKey set to UTF-8.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/platform-custom-tab-generate/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to platform-custom-tab-generate
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
platform-custom-tab-generate: common questions
What types of Salesforce custom tabs does this skill create?
The source covers object tabs, web tabs and Visualforce tabs. It states the required and optional elements for each type.
Why does my custom tab deployment fail?
The source says forbidden elements such as sobjectName, fullName or tabVisibility cause deployment errors. Only the elements in the allowlist table are valid.
Does the skill set the tab icon?
Yes. The source asks for a motif that semantically matches the object or purpose, and says not to reuse the same motif for every tab.
How do I install platform-custom-tab-generate?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is platform-custom-tab-generate free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is platform-custom-tab-generate safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to platform-custom-tab-generate?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
