@salesforce/afv-skills 1.36.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 +1 -1
- package/skills/experience-lwr-site-generate/SKILL.md +1 -2
- package/skills/platform-custom-field-generate/SKILL.md +7 -1
- package/skills/platform-lightning-app-coordinate/SKILL.md +3 -3
- package/skills/platform-report-generate/SKILL.md +1 -1
- package/skills/platform-value-set-generate/SKILL.md +6 -2
package/package.json
CHANGED
|
@@ -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:
|
|
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: ["
|
|
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 `
|
|
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`/`
|
|
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`)?
|