nadolskimm-max/sf-skills/sf-experience-cloud

Claude Code and agent skill by nadolskimm-max/sf-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Builds and configures Salesforce Experience Cloud sites (formerly Communities). Use when creating community sites, configuring guest user access, setting up sharing sets, managing site navigation, or building community-specific LWC components. Do NOT use for internal LWC (use sf-lwc) or permission sets (use sf-permissions).

Install

npx vskill@latest install nadolskimm-max/sf-skills/sf-experience-cloud

SKILL.md

The same SKILL.md was published earlier as nadolskimm-max/sf-skills/sf-experience-cloud.

Experience Cloud

Core Responsibilities

  1. Create and configure Experience Cloud sites
  2. Manage guest user access and sharing sets
  3. Build community-specific LWC components
  4. Configure site navigation, branding, and SEO
  5. Set up self-registration and login flows

Site Types

TemplateUse Case
Customer ServiceSelf-service portal with Knowledge, Cases
Partner CentralPartner portal with Leads, Opportunities
Customer Account PortalAccount management, order tracking
Build Your Own (LWR)Full custom using Lightning Web Runtime
Help CenterPublic Knowledge base

Site Configuration

Create via CLI
bash
# List existing sites
sf data query --query "SELECT Id, Name, UrlPathPrefix, Status FROM Site" --target-org <alias>
# Retrieve site metadata
sf project retrieve start --metadata ExperienceBundle --target-org <alias>
# Deploy site changes
sf project deploy start --metadata ExperienceBundle --target-org <alias>
Site Metadata Structure
force-app/main/default/
├── experiences/
│ └── My_Portal1/
│ ├── config/
│ │ └── My_Portal1.json
│ ├── routes/
│ ├── views/
│ └── themes/
├── networks/
│ └── My_Portal.network-meta.xml
└── networkBranding/
└── My_Portal.networkBranding-meta.xml

Guest User Security

Guest user access is the most critical security concern:

Sharing Sets (replace sharing rules for external users)
xml
<?xml version="1.0" encoding="UTF-8"?>
<SharingSet xmlns="http://soap.sforce.com/2006/04/metadata">
<accessMappings>
<accessLevel>Read</accessLevel>
<object>Knowledge__kav</object>
<objectField>IsPublished</objectField>
<userField>$User.Id</userField>
</accessMappings>
<label>Guest Knowledge Access</label>
<profiles>
<profile>My Portal Profile</profile>
</profiles>
</SharingSet>
Guest User Security Checklist
  • [ ] Guest profile has minimum permissions (no Create/Edit/Delete)
  • [ ] No access to sensitive objects (Account, Contact, Opportunity)
  • [ ] Sharing sets used instead of sharing rules for guest
  • [ ] Public API access disabled unless required
  • [ ] Rate limiting enabled
  • [ ] CAPTCHA on all forms
  • [ ] Secure cookies enabled

Community LWC Considerations

javascript
import { LightningElement } from 'lwc';
import isGuest from '@salesforce/user/isGuest';
import communityBasePath from '@salesforce/community/basePath';
import communityId from '@salesforce/community/Id';
export default class CommunityComponent extends LightningElement {
get isGuestUser() {
return isGuest;
}
get loginUrl() {
return communityBasePath + '/login';
}
}
Meta XML for Community Components
xml
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>62.0</apiVersion>
<isExposed>true</isExposed>
<targets>
<target>lightningCommunity__Page</target>
<target>lightningCommunity__Default</target>
</targets>
<targetConfigs>
<targetConfig targets="lightningCommunity__Default">
<property name="title" type="String" label="Card Title" default="Welcome"/>
</targetConfig>
</targetConfigs>
</LightningComponentBundle>

Self-Registration Flow

Guest visits site → Register button
→ Screen Flow (collects Name, Email, Password)
→ Create Contact + User (Community License)
→ Assign Permission Set
→ Redirect to home page

Anti-Patterns

Anti-PatternFix
Guest profile with CRUD accessRemove all CRUD, use sharing sets for read
No rate limitingEnable in Site Settings
Internal LWC targets on community pageUse lightningCommunity__Page target
Hardcoded internal URLsUse communityBasePath import
No login redirect for protected pagesUse @salesforce/user/isGuest check

Cross-Skill References

  • For LWC components: see sf-lwc
  • For permissions: see sf-permissions
  • For security review: see sf-security
  • For deployment: see sf-deploy

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nadolskimm-max/sf-skills/sf-experience-cloud/badge)](https://verified-skill.com/skills/nadolskimm-max/sf-skills/sf-experience-cloud)

Something wrong with this skill or its page? Tell us.