salesforce-auto-router

Routes Salesforce task requests to specialized skills using manifest-based scoring.

1|Updated May 7, 2026
One-click install
npx skills add https://github.com/amanpraaj/sf-skill-hub --skill salesforce-auto-router-amanpraaj
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: salesforce-auto-router
Source: https://github.com/amanpraaj/sf-skill-hub/tree/main/router
Command: npx skills add https://github.com/amanpraaj/sf-skill-hub --skill salesforce-auto-router-amanpraaj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing the correct specialized skill for a Salesforce task is error-prone when dozens of skills exist across metadata, Apex, Flow, LWC, Agentforce, deployment, and testing domains. This Skill provides a single entrypoint that deterministically selects and executes the right specialized skill. ## Core Features & Use Cases - Manifest-Driven Routing: Scores candidate skills against the routing policy defined in SALESFORCE_SKILLS_MANIFEST.json using name, alias, and category matching. - Tie-Breaking and Sequencing: Keeps primary and secondary skills when scores are within one point, and sequences multi-domain tasks across metadata, Apex/Flow, UI, testing, deployment, and Agentforce. - Auditable Output: Returns the selected skill path, routing rationale, confidence level, and execution summary. - Use Case: A user asks to build and deploy a new Flow with Apex tests; the router scores the manifest, selects the Flow skill first, then sequences testing and deployment skills. ## Quick Start Tag the router skill and describe your Salesforce task, such as asking it to route and execute a request to create a validation rule and deploy it to a sandbox.

Frequently Asked Questions about salesforce-auto-router

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

FAQPage Schema
How do I route a Salesforce task to the right skill automatically?▼

Tag the router SKILL.md as your single entrypoint and describe the task normally. The router loads SALESFORCE_SKILLS_MANIFEST.json, scores candidate skills by name, alias, and category match, then executes the highest-scoring skill workflow.

What Salesforce domains does the auto router cover?▼

The router covers metadata, Apex, Flow, LWC, Agentforce, deployment, testing, data, and permissions tasks. It routes to specialized skills under the skills/salesforce directory based on manifest scoring.

How does the router handle multi-domain Salesforce tasks?▼

Multi-domain tasks are sequenced in a fixed order: metadata, then Apex or Flow, then UI, then testing and observability, then deployment, then Agentforce. Each step executes the selected specialized skill in turn.

What happens when two Salesforce skills score the same?▼

When scores tie within one point, the router keeps both a primary and a secondary skill rather than forcing a single choice. Manifest tie-breaker policy resolves close scores deterministically.

Can I audit why a specific Salesforce skill was selected?▼

Yes, the router outputs the selected skill path, a brief routing rationale, a confidence level of high, medium, or low, and an execution summary. This makes every routing decision reviewable.