@salesforce/afv-skills 1.35.0 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/afv-skills",
3
- "version": "1.35.0",
3
+ "version": "1.37.0",
4
4
  "description": "Salesforce skills for Agentforce Vibes",
5
5
  "license": "CC-BY-NC-4.0",
6
6
  "files": [
@@ -6,6 +6,8 @@ metadata:
6
6
  - tool: ["sf"]
7
7
  semver: ">=2.0.0"
8
8
  relatedSkills:
9
+ - "data360-query"
10
+ - "platform-metadata-deploy"
9
11
  - "platform-soql-query"
10
12
  version: "1.0"
11
13
  minApiVersion: "56.0"
@@ -11,8 +11,7 @@ metadata:
11
11
  semver: ">=2.0.0"
12
12
  mcpTools:
13
13
  metadata-experts:
14
- tools:
15
- - "execute_metadata_action"
14
+ tools: ["execute_metadata_action"]
16
15
  semver: ">=1.0.0"
17
16
  ---
18
17
 
@@ -3,6 +3,9 @@ name: experience-ui-bundle-site-generate
3
3
  description: "MUST activate when the project contains a uiBundles/*/src/ directory and the task involves creating or configuring site infrastructure. Use this skill when creating or configuring a Salesforce Digital Experience Site for hosting a UI bundle. Activate when files matching digitalExperiences/, networks/, customSite/, or DigitalExperienceBundle exist and need modification, or when the user wants to publish, host, or configure guest access for their app."
4
4
  metadata:
5
5
  version: "1.0"
6
+ cliTools:
7
+ - tool: ["sf"]
8
+ semver: ">=2.0.0"
6
9
  ---
7
10
 
8
11
  # Digital Experience Site for React UI Bundles
@@ -2,12 +2,10 @@
2
2
  name: mobile-apps-create
3
3
  description: "The entry point for building any Salesforce native mobile app on iOS or Android. TRIGGER when the user says: \"build a Salesforce iOS app\", \"add Salesforce login to my Android app\", \"set up Mobile SDK\", \"add MobileSync / SmartStore offline storage\", \"embed an Agentforce agent in my mobile app\", \"add Agentforce chat to iOS/Android\", or otherwise asks to create, extend, or integrate a Salesforce mobile experience in Swift or Kotlin (MSDK, Agentforce SDK, or both). SKIP when the user is building a non-Salesforce mobile app, using React Native / Flutter / Ionic without Salesforce integration, asking about generic mobile UI design, or working on a Salesforce-adjacent web/desktop surface (LWC, Experience Cloud, Mobile Publisher branding-only)."
4
4
  metadata:
5
+ version: "1.0"
5
6
  cliTools:
6
7
  - tool: ["npx"]
7
8
  semver: ">=9.0.0"
8
- relatedSkills:
9
- - "mobile-platform-native-capabilities-integrate"
10
- version: "1.0"
11
9
  ---
12
10
 
13
11
  # Salesforce Mobile
@@ -4,7 +4,13 @@ description: "Use this skill when users need to create, generate, or validate Sa
4
4
  metadata:
5
5
  version: "1.0"
6
6
  minApiVersion: "60.0"
7
- relatedSkills: ["platform-value-set-generate", "platform-validation-rule-generate"]
7
+ relatedSkills:
8
+ - "platform-validation-rule-generate"
9
+ - "platform-value-set-generate"
10
+ mcpTools:
11
+ metadata-grounding:
12
+ tools: ["search_metadata"]
13
+ semver: ">=1.0.0"
8
14
  ---
9
15
 
10
16
  # Salesforce Custom Field Generator and Validator
@@ -15,12 +15,12 @@ metadata:
15
15
  - "platform-permission-set-generate"
16
16
  - "platform-validation-rule-generate"
17
17
  mcpTools:
18
- salesforce-api-context:
19
- tools: ["get_metadata_type_sections", "get_metadata_type_context", "get_metadata_type_fields", "get_metadata_type_fields_properties", "search_metadata_types"]
20
- semver: ">=1.0.0"
21
18
  metadata-experts:
22
19
  tools: ["execute_metadata_action"]
23
20
  semver: ">=1.0.0"
21
+ salesforce-api-context:
22
+ tools: ["get_metadata_type_context", "get_metadata_type_fields", "get_metadata_type_fields_properties", "get_metadata_type_sections", "search_metadata_types"]
23
+ semver: ">=1.0.0"
24
24
  ---
25
25
 
26
26
  # Generating Lightning App
@@ -8,7 +8,7 @@ metadata:
8
8
  - "platform-custom-report-type-generate"
9
9
  mcpTools:
10
10
  salesforce-api-context:
11
- tools: ["get_metadata_type_sections", "get_metadata_type_context", "get_metadata_type_shape"]
11
+ tools: ["get_metadata_type_context", "get_metadata_type_sections", "get_metadata_type_shape"]
12
12
  semver: ">=1.0.0"
13
13
  ---
14
14
 
@@ -7,6 +7,10 @@ metadata:
7
7
  cliTools:
8
8
  - tool: ["sf"]
9
9
  semver: ">=2.0.0"
10
+ mcpTools:
11
+ metadata-grounding:
12
+ tools: ["query_metadata", "search_metadata"]
13
+ semver: ">=1.0.0"
10
14
  ---
11
15
 
12
16
  ## Overview
@@ -198,7 +202,7 @@ When customizing a **StandardValueSet** (or extending a shared GlobalValueSet),
198
202
 
199
203
  For well-known standard picklists you already know the canonical values (e.g. `Industry`, `LeadSource`, `OpportunityStage`). When you are unsure a named value exists, you can confirm it against the live org — but treat lookup as a *confirmation* step, not a required first call:
200
204
 
201
- - **Grounding MCP** (if available) exposes `search_metadata` and `query-metadata` to look up live metadata. Use them only to confirm a named value's exact `<fullName>`/`<label>` — not to pull the full list to reproduce.
205
+ - **Grounding MCP** (if available) exposes `search_metadata` and `query_metadata` to look up live metadata. Use them only to confirm a named value's exact `<fullName>`/`<label>` — not to pull the full list to reproduce.
202
206
  - **CLI fallback** — query the Tooling API directly:
203
207
 
204
208
  ```bash
@@ -291,7 +295,7 @@ Before generating value-set XML, verify:
291
295
  - [ ] When referencing from a field, is `<valueSetName>` the **bare** developer name with NO `__gvs` suffix?
292
296
 
293
297
  ### StandardValueSet Checks CRITICAL
294
- - [ ] Are you emitting modifications ONLY to values you know exist (confirmed from known standard catalogs, or via grounding `search_metadata`/`query-metadata` / Tooling API if unsure) — never invented values?
298
+ - [ ] Are you emitting modifications ONLY to values you know exist (confirmed from known standard catalogs, or via grounding `search_metadata`/`query_metadata` / Tooling API if unsure) — never invented values?
295
299
  - [ ] Is the root `<StandardValueSet>` with the correct namespace?
296
300
  - [ ] Does the root use `<fullName>` set to the fixed catalog name (NOT `masterLabel`)?
297
301
  - [ ] Are values `<standardValue>` entries (NOT `customValue`)?