Use this skill to retrieve and ground answers in official Salesforce documentation on the public web.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionsf-docsExecute the skills CLI command in your project's root directory to begin installation:
Fetches sf-docs from jaganpro/sf-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate sf-docs. Access via /sf-docs in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
285
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
285
stars
Use this skill to retrieve and ground answers in official Salesforce documentation on the public web.
This skill is intentionally simple:
Its job is to provide a reliable online retrieval playbook for Salesforce docs that are hard to fetch, especially help.salesforce.com, JS-heavy developer.salesforce.com, Lightning Design System docs on lightningdesignsystem.com, and other official Salesforce-owned doc pages such as architect.salesforce.com and admin.salesforce.com.
An optional wrapper script is available at:
skills/sf-docs/scripts/extract_salesforce_doc.pyIt automatically routes help.salesforce.com URLs into the dedicated Help extractor and supports other official documentation pages such as *.salesforce.com and lightningdesignsystem.com through a generic browser-rendered path. For bot-sensitive pages, it also supports best-effort optional stealth mode via --stealth when playwright-stealth is installed.
The dedicated Help extractor is also available directly at:
skills/sf-docs/scripts/extract_help_salesforce.pyFind the best official Salesforce HTML page online and extract enough real content to answer confidently.
If the evidence is weak, say so clearly instead of forcing a weak answer.
Use sf-docs when a user asks for:
developer.salesforce.comhelp.salesforce.comPrefer Salesforce-owned documentation sources:
developer.salesforce.comhelp.salesforce.comarchitect.salesforce.comadmin.salesforce.comlightningdesignsystem.comAvoid third-party blogs, videos, or summary articles unless the user explicitly asks for them.
Do not fall back to PDFs.
Before fetching anything, identify the likely doc family.
| Family | Typical Source | Use For |
|---|---|---|
| Developer docs | developer.salesforce.com/docs/... |
Apex, APIs, LWC, metadata, Agentforce developer docs |
| Help docs | help.salesforce.com/... |
setup, admin, product configuration |
| Architect/Admin docs | architect.salesforce.com/..., admin.salesforce.com/... |
best practices, patterns, well-architected guidance, admin enablement |
| Design system docs | lightningdesignsystem.com/... |
SLDS, Cosmos, design tokens, component and styling guidance |
| Legacy atlas docs | developer.salesforce.com/docs/atlas.en-us.* |
older official guide and reference docs |
Extract the real target before you search:
Examples:
Lightning Message ServiceWire ServiceSystem.StubProviderAgentforce ActionsMessaging for In-App and Web allowed domainsDo not broad-crawl Salesforce docs.
Instead:
A guide landing page is not enough unless it clearly contains the exact requested concept.
This is especially important for:
developer.salesforce.comUse this playbook:
help.salesforce.comHelp pages often fail with naive fetching.
Use this playbook:
articleView?id=... URLs when availableLoading, Sorry to interrupt, CSS Error, or mostly chrome/navigation text as failed extraction, not evidenceA page is good enough to answer from only when at least one of these is true:
A page is not good enough when:
Reject these as final evidence:
When answering, include:
If evidence is weak, say so plainly.
Do not stop at the general LWC guide root. Find the exact LWC page for Lightning Message Service or follow the most relevant child links from the LWC docs until the exact concept appears.
Do not answer from the LWC homepage unless Wire Service is actually present there.
Follow the relevant child doc page for wire service or wire adapters.
Do not answer from a broad Agentforce landing page or a blog post. Find the official Agentforce developer page for actions, or follow the best matching child pages from the official Agentforce docs.
Prefer official Help articles and browser-rendered extraction. Reject generic help shells. Follow linked Help articles from nearby official messaging docs if needed.
Prefer the official Salesforce reference/developer page where the exact identifier appears. Do not substitute a broader Apex landing page if the identifier is absent.
This skill should not:
Other sf-* skills should use sf-docs when they need authoritative Salesforce documentation instead of relying on generic search alone.
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
langchain-ai/deepagents
upstash/context7
zrong/skills
google-gemini/gemini-cli
lombiq/tailwind-agent-skills
patricio0312rev/skills
Useful defaults in sf-docs — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Useful defaults in sf-docs — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
We added sf-docs from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
Solid pick for teams standardizing on skills: sf-docs is focused, and the summary matches what you get after install.
sf-docs reduced setup friction for our internal harness; good balance of opinion and flexibility.
sf-docs is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Keeps context tight: sf-docs is the kind of skill you can hand to a new teammate without a long onboarding doc.
sf-docs reduced setup friction for our internal harness; good balance of opinion and flexibility.
I recommend sf-docs for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
sf-docs fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
showing 1-10 of 44