@W-21582128@: Introduce Skill to Construct a Salesforce Experience React Site#53
@W-21582128@: Introduce Skill to Construct a Salesforce Experience React Site#53MadMagyar92 wants to merge 11 commits intoforcedotcom:mainfrom
Conversation
| @@ -1,5 +1,5 @@ | |||
| --- | |||
| name: salesforce-experience-site | |||
| name: salesforce-experience-site-lwr | |||
| @@ -1,5 +1,5 @@ | |||
| --- | |||
| name: salesforce-experience-site | |||
| name: salesforce-experience-lwr-site | |||
There was a problem hiding this comment.
Please follow the recommended naming recommendation for skills
Just to follow consistent pattern which we are about to do for all other existing type is generating* i.e. generating-experience-lwr-site
|
|
||
| | Metadata Type | Template Reference | | ||
| |--------------|-------------------| | ||
| | Network | [configure-metadata-network.md](docs/configure-metadata-network.md) | |
There was a problem hiding this comment.
We delegate each metadata file template to a doc as reference. In the future, these could be made a part of an sf generate command. However, since these is no such command at this time, using these sub files.
| Determine values for all five properties before constructing anything. Use the resolution strategies in the table above, falling through each option until a value is found. | ||
|
|
||
| ### Step 2: Create the Project Structure | ||
| Call the `get_metadata_api_context` MCP tool to retrieve schemas for `Network`, `CustomSite`, `DigitalExperienceConfig`, and `DigitalExperienceBundle` metadata types. These schemas define the valid XML structure for each file. |
There was a problem hiding this comment.
I need to:
- change this
get_metadata_api_contextcall to eitherget_metadata_type_contextorget_metadata_type_fields - move this to
Step 3
| | DigitalExperience (sfdc_cms__site) | [configure-metadata-digital-experience.md](docs/configure-metadata-digital-experience.md) | | ||
|
|
||
| ### Step 4: Resolve Additional Configurations | ||
| Address any extra configurations the user requests. Use the schemas returned by `get_metadata_api_context` in Step 2 to understand each field's purpose, and update only the minimum necessary fields. |
There was a problem hiding this comment.
This needs to use either get_metadata_type_fields and/or get_metadata_type_fields_properties to determine the field purposes for additional configurations. Maybe this could use some of the output from Step 3
| @@ -0,0 +1,67 @@ | |||
| --- | |||
| name: salesforce-experience-react-site | |||
There was a problem hiding this comment.
@hsinghbisht-sfdc The Expert for this Skill was already present in 260/patch (not main), so it wasn't copied over. Adding it now as part of this PR.
References: Contributing guide · Skill authoring guide · Agent Skills spec
What changed
Why
Notes
Needed for TDX.
Skills
Manual checklist
Description quality
Instructions
Context efficiency
templates/,examples/, ordocs/subdirectoriesAutomated checks
Enforced by CI (
npm run validate:skills) per the Agent Skills spec:SKILL.mdnamematches directory name;descriptionis present, ≥ 20 words, ≤ 1024 characters, and includes trigger language