@salesforce/afv-skills 1.7.4 → 1.8.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.
Files changed (39) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
  3. package/skills/building-ui-bundle-frontend/SKILL.md +2 -0
  4. package/skills/deploying-ui-bundle/SKILL.md +2 -0
  5. package/skills/developing-agentforce/SKILL.md +1 -1
  6. package/skills/developing-datacloud-code-extension/SKILL.md +321 -0
  7. package/skills/developing-datacloud-code-extension/references/README.md +193 -0
  8. package/skills/developing-datacloud-code-extension/references/quick-reference.md +269 -0
  9. package/skills/generating-apex/SKILL.md +4 -2
  10. package/skills/generating-apex-test/SKILL.md +3 -1
  11. package/skills/generating-custom-application/SKILL.md +2 -0
  12. package/skills/generating-custom-field/SKILL.md +3 -1
  13. package/skills/generating-custom-lightning-type/SKILL.md +2 -0
  14. package/skills/generating-custom-object/SKILL.md +3 -1
  15. package/skills/generating-custom-tab/SKILL.md +3 -1
  16. package/skills/generating-flexipage/SKILL.md +2 -0
  17. package/skills/generating-flow/SKILL.md +2 -0
  18. package/skills/generating-lightning-app/SKILL.md +1 -1
  19. package/skills/generating-list-view/SKILL.md +2 -0
  20. package/skills/generating-permission-set/SKILL.md +1 -1
  21. package/skills/generating-ui-bundle-features/SKILL.md +2 -0
  22. package/skills/generating-ui-bundle-metadata/SKILL.md +2 -0
  23. package/skills/generating-ui-bundle-site/SKILL.md +2 -0
  24. package/skills/generating-validation-rule/SKILL.md +2 -0
  25. package/skills/getting-datacloud-schema/SKILL.md +380 -0
  26. package/skills/getting-datacloud-schema/references/README.md +191 -0
  27. package/skills/getting-datacloud-schema/scripts/get_dlo_schema.py +244 -0
  28. package/skills/getting-datacloud-schema/scripts/get_dmo_schema.py +233 -0
  29. package/skills/implementing-ui-bundle-agentforce-conversation-client/SKILL.md +1 -1
  30. package/skills/implementing-ui-bundle-file-upload/SKILL.md +2 -0
  31. package/skills/observing-agentforce/SKILL.md +1 -1
  32. package/skills/switching-org/SKILL.md +1 -1
  33. package/skills/testing-agentforce/SKILL.md +1 -1
  34. package/skills/uplifting-components-to-slds2/SKILL.md +3 -1
  35. package/skills/using-ui-bundle-salesforce-data/SKILL.md +2 -0
  36. package/skills/trigger-refactor-pipeline/SKILL.md +0 -191
  37. package/skills/trigger-refactor-pipeline/assets/test_template.apex +0 -321
  38. package/skills/trigger-refactor-pipeline/references/handler_patterns.md +0 -442
  39. package/skills/trigger-refactor-pipeline/scripts/analyze_trigger.py +0 -258
@@ -0,0 +1,244 @@
1
+ #!/usr/bin/env python3
2
+ """
3
+ List all Data Lake Objects and retrieve schema for one DLO using REST API.
4
+ Uses SF CLI for authentication.
5
+ """
6
+
7
+ import subprocess
8
+ import json
9
+ import sys
10
+ import requests
11
+
12
+
13
+ def authenticate_to_org(org_alias):
14
+ """
15
+ Authenticate to Salesforce org using SF CLI.
16
+
17
+ Args:
18
+ org_alias: SF CLI org alias (e.g., 'afvibe')
19
+
20
+ Returns:
21
+ Tuple of (instance_url, access_token, username)
22
+ """
23
+ print(f"šŸ” Authenticating to Salesforce org '{org_alias}'...")
24
+
25
+ try:
26
+ result = subprocess.run(
27
+ ['sf', 'org', 'display', '--target-org', org_alias, '--json'],
28
+ capture_output=True,
29
+ text=True,
30
+ check=True
31
+ )
32
+
33
+ org_data = json.loads(result.stdout)
34
+
35
+ if org_data.get('status') != 0:
36
+ raise Exception(f"SF CLI returned error: {org_data}")
37
+
38
+ org_info = org_data['result']
39
+
40
+ if org_info.get('connectedStatus') != 'Connected':
41
+ raise Exception(f"Org '{org_alias}' is not connected. Run: sf org login web --alias {org_alias}")
42
+
43
+ instance_url = org_info['instanceUrl']
44
+ access_token = org_info['accessToken']
45
+ username = org_info.get('username', 'Unknown')
46
+
47
+ print(f"āœ… Authenticated as: {username}")
48
+ print(f"šŸ“ Instance: {instance_url}\n")
49
+
50
+ return instance_url, access_token, username
51
+
52
+ except subprocess.CalledProcessError as e:
53
+ raise Exception(f"SF CLI command failed: {e.stderr}")
54
+ except (json.JSONDecodeError, KeyError) as e:
55
+ raise Exception(f"Failed to parse SF CLI output: {e}")
56
+
57
+
58
+ def list_all_dlos(instance_url, access_token, api_version='v64.0'):
59
+ """
60
+ List all Data Lake Objects using SSOT REST API.
61
+
62
+ Args:
63
+ instance_url: Salesforce instance URL
64
+ access_token: OAuth access token
65
+ api_version: API version (default: v64.0)
66
+
67
+ Returns:
68
+ List of DLO dictionaries
69
+ """
70
+ url = f"{instance_url}/services/data/{api_version}/ssot/data-lake-objects"
71
+
72
+ headers = {
73
+ 'Authorization': f'Bearer {access_token}',
74
+ 'Content-Type': 'application/json',
75
+ 'Accept': 'application/json'
76
+ }
77
+
78
+ print("šŸ“‹ Fetching all Data Lake Objects...")
79
+ response = requests.get(url, headers=headers)
80
+
81
+ if response.status_code != 200:
82
+ raise Exception(f"API Error: HTTP {response.status_code}\n{response.text[:500]}")
83
+
84
+ response_data = response.json()
85
+
86
+ # Extract DLO list from paginated response
87
+ if isinstance(response_data, dict) and 'dataLakeObjects' in response_data:
88
+ dlos = response_data['dataLakeObjects']
89
+ total_size = response_data.get('totalSize', len(dlos))
90
+ print(f"āœ… Found {len(dlos)} DLOs (Total: {total_size})\n")
91
+ else:
92
+ # Fallback if response format is different
93
+ dlos = response_data if isinstance(response_data, list) else []
94
+ print(f"āœ… Found {len(dlos)} DLOs\n")
95
+
96
+ return dlos
97
+
98
+
99
+ def get_dlo_schema(instance_url, access_token, dlo_name, api_version='v64.0'):
100
+ """
101
+ Get detailed schema for a specific DLO.
102
+
103
+ Args:
104
+ instance_url: Salesforce instance URL
105
+ access_token: OAuth access token
106
+ dlo_name: DLO developer name (e.g., 'Employee__dll')
107
+ api_version: API version (default: v64.0)
108
+
109
+ Returns:
110
+ DLO detail dictionary with full schema
111
+ """
112
+ url = f"{instance_url}/services/data/{api_version}/ssot/data-lake-objects/{dlo_name}"
113
+
114
+ headers = {
115
+ 'Authorization': f'Bearer {access_token}',
116
+ 'Content-Type': 'application/json',
117
+ 'Accept': 'application/json'
118
+ }
119
+
120
+ print(f"šŸ” Fetching schema for DLO: {dlo_name}...")
121
+ response = requests.get(url, headers=headers)
122
+
123
+ if response.status_code != 200:
124
+ raise Exception(f"API Error: HTTP {response.status_code}\n{response.text[:500]}")
125
+
126
+ response_data = response.json()
127
+
128
+ # Extract DLO from paginated response
129
+ if isinstance(response_data, dict) and 'dataLakeObjects' in response_data:
130
+ dlos = response_data['dataLakeObjects']
131
+ if dlos:
132
+ return dlos[0] # Return first (should be only) DLO
133
+ else:
134
+ raise Exception(f"DLO '{dlo_name}' not found")
135
+ else:
136
+ # Fallback if response format is different
137
+ return response_data
138
+
139
+
140
+ def display_dlo_list(dlos):
141
+ """Display summary of all DLOs."""
142
+ print("=" * 80)
143
+ print("šŸ“Š DATA LAKE OBJECTS")
144
+ print("=" * 80)
145
+
146
+ for idx, dlo in enumerate(dlos, 1):
147
+ print(f"\n{idx}. {dlo.get('name', 'Unknown')}")
148
+ print(f" Label: {dlo.get('label', 'N/A')}")
149
+ print(f" Category: {dlo.get('category', 'N/A')}")
150
+ if 'id' in dlo:
151
+ print(f" ID: {dlo['id']}")
152
+
153
+
154
+ def display_dlo_schema(dlo_detail):
155
+ """Display detailed schema information for a DLO."""
156
+ print("\n" + "=" * 80)
157
+ print(f"šŸ” SCHEMA DETAILS FOR: {dlo_detail.get('name')}")
158
+ print("=" * 80)
159
+
160
+ print(f"\nšŸ“ Basic Information:")
161
+ print(f" Name: {dlo_detail.get('name')}")
162
+ print(f" Label: {dlo_detail.get('label')}")
163
+ print(f" Category: {dlo_detail.get('category')}")
164
+ print(f" Description: {dlo_detail.get('description', 'N/A')}")
165
+
166
+ if 'dataspaceInfo' in dlo_detail:
167
+ dataspaces = dlo_detail['dataspaceInfo']
168
+ dataspace_names = [ds.get('name', 'Unknown') for ds in dataspaces]
169
+ print(f" Dataspaces: {', '.join(dataspace_names)}")
170
+
171
+ # Display field schema
172
+ fields = dlo_detail.get('fields', [])
173
+
174
+ if fields:
175
+ print(f"\nšŸ”§ Fields ({len(fields)} total):")
176
+ print("-" * 80)
177
+
178
+ # Show all fields with detailed info
179
+ for field in fields:
180
+ print(f"\n • {field.get('name')}")
181
+ print(f" Label: {field.get('label', 'N/A')}")
182
+ print(f" Data Type: {field.get('dataType', 'Unknown')}")
183
+ print(f" Primary Key: {field.get('isPrimaryKey', False)}")
184
+ print(f" Nullable: {field.get('isNullable', True)}")
185
+
186
+ if 'length' in field:
187
+ print(f" Length: {field['length']}")
188
+ if 'precision' in field:
189
+ print(f" Precision: {field['precision']}")
190
+ if 'scale' in field:
191
+ print(f" Scale: {field['scale']}")
192
+ else:
193
+ print("\n āš ļø No fields found in schema")
194
+
195
+ # Show full JSON (optional, can be commented out)
196
+ print("\n" + "=" * 80)
197
+ print("šŸ“„ FULL SCHEMA (JSON):")
198
+ print("=" * 80)
199
+ print(json.dumps(dlo_detail, indent=2))
200
+
201
+
202
+ def main():
203
+ """Main execution function."""
204
+ if len(sys.argv) < 2:
205
+ print("Usage: python list_dlos_and_schema.py <org_alias> [dlo_name]")
206
+ print("\nExamples:")
207
+ print(" python list_dlos_and_schema.py afvibe")
208
+ print(" python list_dlos_and_schema.py afvibe Employee__dll")
209
+ sys.exit(1)
210
+
211
+ org_alias = sys.argv[1]
212
+ specific_dlo = sys.argv[2] if len(sys.argv) > 2 else None
213
+
214
+ try:
215
+ # Step 1: Authenticate
216
+ instance_url, access_token, username = authenticate_to_org(org_alias)
217
+
218
+ # Step 2: List all DLOs
219
+ dlos = list_all_dlos(instance_url, access_token)
220
+ display_dlo_list(dlos)
221
+
222
+ # Step 3: Get schema for a specific DLO
223
+ if specific_dlo:
224
+ # User specified a DLO name
225
+ dlo_detail = get_dlo_schema(instance_url, access_token, specific_dlo)
226
+ display_dlo_schema(dlo_detail)
227
+ elif dlos:
228
+ # Get schema for the first DLO
229
+ first_dlo = dlos[0]
230
+ dlo_name = first_dlo.get('name')
231
+ dlo_detail = get_dlo_schema(instance_url, access_token, dlo_name)
232
+ display_dlo_schema(dlo_detail)
233
+ else:
234
+ print("\nāš ļø No DLOs found in this org")
235
+
236
+ print("\nāœ… Done!")
237
+
238
+ except Exception as e:
239
+ print(f"\nāŒ Error: {e}")
240
+ sys.exit(1)
241
+
242
+
243
+ if __name__ == '__main__':
244
+ main()
@@ -0,0 +1,233 @@
1
+ #!/usr/bin/env python3
2
+ """
3
+ List all Data Model Objects and retrieve schema for one DMO using REST API.
4
+ Uses SF CLI for authentication.
5
+ """
6
+
7
+ import subprocess
8
+ import json
9
+ import sys
10
+ import requests
11
+
12
+
13
+ def authenticate_to_org(org_alias):
14
+ """
15
+ Authenticate to Salesforce org using SF CLI.
16
+
17
+ Args:
18
+ org_alias: SF CLI org alias (e.g., 'afvibe')
19
+
20
+ Returns:
21
+ Tuple of (instance_url, access_token, username)
22
+ """
23
+ print(f"šŸ” Authenticating to Salesforce org '{org_alias}'...")
24
+
25
+ try:
26
+ result = subprocess.run(
27
+ ['sf', 'org', 'display', '--target-org', org_alias, '--json'],
28
+ capture_output=True,
29
+ text=True,
30
+ check=True
31
+ )
32
+
33
+ org_data = json.loads(result.stdout)
34
+
35
+ if org_data.get('status') != 0:
36
+ raise Exception(f"SF CLI returned error: {org_data}")
37
+
38
+ org_info = org_data['result']
39
+
40
+ if org_info.get('connectedStatus') != 'Connected':
41
+ raise Exception(f"Org '{org_alias}' is not connected. Run: sf org login web --alias {org_alias}")
42
+
43
+ instance_url = org_info['instanceUrl']
44
+ access_token = org_info['accessToken']
45
+ username = org_info.get('username', 'Unknown')
46
+
47
+ print(f"āœ… Authenticated as: {username}")
48
+ print(f"šŸ“ Instance: {instance_url}\n")
49
+
50
+ return instance_url, access_token, username
51
+
52
+ except subprocess.CalledProcessError as e:
53
+ raise Exception(f"SF CLI command failed: {e.stderr}")
54
+ except (json.JSONDecodeError, KeyError) as e:
55
+ raise Exception(f"Failed to parse SF CLI output: {e}")
56
+
57
+
58
+ def list_all_dmos(instance_url, access_token, api_version='v64.0'):
59
+ """
60
+ List all Data Model Objects using SSOT REST API.
61
+
62
+ Args:
63
+ instance_url: Salesforce instance URL
64
+ access_token: OAuth access token
65
+ api_version: API version (default: v64.0)
66
+
67
+ Returns:
68
+ List of DMO dictionaries
69
+ """
70
+ url = f"{instance_url}/services/data/{api_version}/ssot/data-model-objects"
71
+
72
+ headers = {
73
+ 'Authorization': f'Bearer {access_token}',
74
+ 'Content-Type': 'application/json',
75
+ 'Accept': 'application/json'
76
+ }
77
+
78
+ print("šŸ“‹ Fetching all Data Model Objects...")
79
+ response = requests.get(url, headers=headers)
80
+
81
+ if response.status_code != 200:
82
+ raise Exception(f"API Error: HTTP {response.status_code}\n{response.text[:500]}")
83
+
84
+ response_data = response.json()
85
+
86
+ # Extract DMO list from paginated response
87
+ if isinstance(response_data, dict) and 'dataModelObject' in response_data:
88
+ dmos = response_data['dataModelObject']
89
+ total_size = response_data.get('totalSize', len(dmos))
90
+ print(f"āœ… Found {len(dmos)} DMOs (Total: {total_size})\n")
91
+ else:
92
+ # Fallback if response format is different
93
+ dmos = response_data if isinstance(response_data, list) else []
94
+ print(f"āœ… Found {len(dmos)} DMOs\n")
95
+
96
+ return dmos
97
+
98
+
99
+ def get_dmo_schema(instance_url, access_token, dmo_name, api_version='v64.0'):
100
+ """
101
+ Get detailed schema for a specific DMO.
102
+
103
+ Args:
104
+ instance_url: Salesforce instance URL
105
+ access_token: OAuth access token
106
+ dmo_name: DMO developer name (e.g., 'Individual__dlm')
107
+ api_version: API version (default: v64.0)
108
+
109
+ Returns:
110
+ DMO detail dictionary with full schema
111
+ """
112
+ url = f"{instance_url}/services/data/{api_version}/ssot/data-model-objects/{dmo_name}"
113
+
114
+ headers = {
115
+ 'Authorization': f'Bearer {access_token}',
116
+ 'Content-Type': 'application/json',
117
+ 'Accept': 'application/json'
118
+ }
119
+
120
+ print(f"šŸ” Fetching schema for DMO: {dmo_name}...")
121
+ response = requests.get(url, headers=headers)
122
+
123
+ if response.status_code != 200:
124
+ raise Exception(f"API Error: HTTP {response.status_code}\n{response.text[:500]}")
125
+
126
+ response_data = response.json()
127
+
128
+ # Single DMO endpoint returns the object directly (not wrapped in an array)
129
+ return response_data
130
+
131
+
132
+ def display_dmo_list(dmos):
133
+ """Display summary of all DMOs."""
134
+ print("=" * 80)
135
+ print("šŸ“Š DATA MODEL OBJECTS")
136
+ print("=" * 80)
137
+
138
+ for idx, dmo in enumerate(dmos, 1):
139
+ print(f"\n{idx}. {dmo.get('name', 'Unknown')}")
140
+ print(f" Label: {dmo.get('label', 'N/A')}")
141
+ print(f" Category: {dmo.get('category', 'N/A')}")
142
+ print(f" Creation Type: {dmo.get('creationType', 'N/A')}")
143
+ print(f" Data Space: {dmo.get('dataSpaceName', 'N/A')}")
144
+
145
+
146
+ def display_dmo_schema(dmo_detail):
147
+ """Display detailed schema information for a DMO."""
148
+ print("\n" + "=" * 80)
149
+ print(f"šŸ” SCHEMA DETAILS FOR: {dmo_detail.get('name')}")
150
+ print("=" * 80)
151
+
152
+ print(f"\nšŸ“ Basic Information:")
153
+ print(f" Name: {dmo_detail.get('name')}")
154
+ print(f" Label: {dmo_detail.get('label')}")
155
+ print(f" Category: {dmo_detail.get('category')}")
156
+ print(f" Creation Type: {dmo_detail.get('creationType', 'N/A')}")
157
+ print(f" Data Space: {dmo_detail.get('dataSpaceName', 'N/A')}")
158
+
159
+ # Display field schema
160
+ fields = dmo_detail.get('fields', [])
161
+
162
+ if fields:
163
+ print(f"\nšŸ”§ Fields ({len(fields)} total):")
164
+ print("-" * 80)
165
+
166
+ # Show all fields with detailed info
167
+ for field in fields:
168
+ print(f"\n • {field.get('name')}")
169
+ print(f" Label: {field.get('label', 'N/A')}")
170
+ print(f" Data Type: {field.get('type', 'Unknown')}")
171
+ print(f" Primary Key: {field.get('isPrimaryKey', False)}")
172
+ print(f" Creation Type: {field.get('creationType', 'N/A')}")
173
+ print(f" Usage Tag: {field.get('usageTag', 'N/A')}")
174
+
175
+ if 'length' in field:
176
+ print(f" Length: {field['length']}")
177
+ if 'precision' in field:
178
+ print(f" Precision: {field['precision']}")
179
+ if 'scale' in field:
180
+ print(f" Scale: {field['scale']}")
181
+ else:
182
+ print("\n āš ļø No fields found in schema")
183
+
184
+ # Show full JSON
185
+ print("\n" + "=" * 80)
186
+ print("šŸ“„ FULL SCHEMA (JSON):")
187
+ print("=" * 80)
188
+ print(json.dumps(dmo_detail, indent=2))
189
+
190
+
191
+ def main():
192
+ """Main execution function."""
193
+ if len(sys.argv) < 2:
194
+ print("Usage: python get_dmo_schema.py <org_alias> [dmo_name]")
195
+ print("\nExamples:")
196
+ print(" python get_dmo_schema.py afvibe")
197
+ print(" python get_dmo_schema.py afvibe Individual__dlm")
198
+ sys.exit(1)
199
+
200
+ org_alias = sys.argv[1]
201
+ specific_dmo = sys.argv[2] if len(sys.argv) > 2 else None
202
+
203
+ try:
204
+ # Step 1: Authenticate
205
+ instance_url, access_token, username = authenticate_to_org(org_alias)
206
+
207
+ # Step 2: List all DMOs
208
+ dmos = list_all_dmos(instance_url, access_token)
209
+ display_dmo_list(dmos)
210
+
211
+ # Step 3: Get schema for a specific DMO
212
+ if specific_dmo:
213
+ # User specified a DMO name
214
+ dmo_detail = get_dmo_schema(instance_url, access_token, specific_dmo)
215
+ display_dmo_schema(dmo_detail)
216
+ elif dmos:
217
+ # Get schema for the first DMO
218
+ first_dmo = dmos[0]
219
+ dmo_name = first_dmo.get('name')
220
+ dmo_detail = get_dmo_schema(instance_url, access_token, dmo_name)
221
+ display_dmo_schema(dmo_detail)
222
+ else:
223
+ print("\nāš ļø No DMOs found in this org")
224
+
225
+ print("\nāœ… Done!")
226
+
227
+ except Exception as e:
228
+ print(f"\nāŒ Error: {e}")
229
+ sys.exit(1)
230
+
231
+
232
+ if __name__ == '__main__':
233
+ main()
@@ -3,7 +3,7 @@ name: implementing-ui-bundle-agentforce-conversation-client
3
3
  description: "MUST activate when the project contains a uiBundles/*/src/ directory and the task involves adding or modifying a chat widget, chatbot, or conversational AI. Use this skill when the user asks to add, embed, integrate, configure, style, or remove an agent, chatbot, chat widget, conversation client, or AI assistant. Covers styling (colors, fonts, spacing, borders), layout (inline vs floating, width, height, dimensions), and props (agentId, agentLabel, headerEnabled, showHeaderIcon, showAvatar, styleTokens). Activate when files under uiBundles/*/src/ import AgentforceConversationClient or when adding any chat or agent functionality to a page. Never create a custom agent, chatbot, or chat widget component."
4
4
  metadata:
5
5
  author: ACC Components
6
- version: 1.0.1
6
+ version: "1.0"
7
7
  package: "@salesforce/ui-bundle-template-feature-react-agentforce-conversation-client"
8
8
  sdk-package: "@salesforce/agentforce-conversation-client"
9
9
  last-updated: 2025-04-01
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: implementing-ui-bundle-file-upload
3
3
  description: "MUST activate when the project contains a uiBundles/*/src/ directory and the task involves uploading, attaching, or dropping files. Use this skill when adding file upload functionality to a UI bundle app. Provides progress tracking and Salesforce ContentVersion integration. This feature provides programmatic APIs ONLY — build custom UI using the upload() API. ALWAYS use this instead of building file upload from scratch with FormData or XHR."
4
+ metadata:
5
+ version: "1.0"
4
6
  ---
5
7
 
6
8
  # File Upload API (workflow)
@@ -4,7 +4,7 @@ description: "Analyze production Agentforce agent behavior using session traces
4
4
  allowed-tools: Bash Read Write Edit Glob Grep
5
5
  license: Apache-2.0
6
6
  metadata:
7
- version: "0.5.1"
7
+ version: "1.0"
8
8
  last_updated: "2026-04-08"
9
9
  argument-hint: "<org-alias> [--agent-file <path>] [--session-id <id>] [--days <n>]"
10
10
  compatibility: claude-code
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: switching-org
3
- description: Switches the active Salesforce org (default target-org) using the Salesforce CLI. Use whenever someone wants to change which org CLI commands run against — whether they say "switch org", "change default org", "set my org to", "use alias", "point to", or describe wanting to work against a specific org, scratch org, sandbox, or production.
3
+ description: "Switches the active Salesforce org (default target-org) using the Salesforce CLI. Use whenever someone wants to change which org CLI commands run against — whether they say \"switch org\", \"change default org\", \"set my org to\", \"use alias\", \"point to\", or describe wanting to work against a specific org, scratch org, sandbox, or production."
4
4
  compatibility: Salesforce CLI (sf) v2+
5
5
  metadata:
6
6
  version: "1.0"
@@ -4,7 +4,7 @@ description: "Write, run, and analyze structured test suites for Agentforce agen
4
4
  allowed-tools: Bash Read Write Edit Glob Grep
5
5
  license: Apache-2.0
6
6
  metadata:
7
- version: "0.5.1"
7
+ version: "1.0"
8
8
  last_updated: "2026-04-08"
9
9
  argument-hint: "<org-alias> --authoring-bundle <AgentName> [--utterances <file>] | run <org> --target <flow://Name>"
10
10
  compatibility: claude-code
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: uplifting-components-to-slds2
3
- description: Migrate Lightning Web Components from SLDS 1 to SLDS 2 by running the SLDS linter and fixing violations. Use this skill whenever users mention SLDS 2, SLDS uplift, linter violations, LWC token migration, class overrides, hardcoded CSS values that need SLDS hook replacement, or styling hook selection. Covers all styling hook categories — color, spacing, sizing, typography, borders, radius, and shadows. Also use when users mention no-hardcoded-values, no-slds-class-overrides, lwc-to-slds-hooks, no-deprecated-tokens-slds1, or ask about SLDS component migration — even if they don't explicitly say "uplift" or "migration".
3
+ description: "Migrate Lightning Web Components from SLDS 1 to SLDS 2 by running the SLDS linter and fixing violations. Use this skill whenever users mention SLDS 2, SLDS uplift, linter violations, LWC token migration, class overrides, hardcoded CSS values that need SLDS hook replacement, or styling hook selection. Covers all styling hook categories — color, spacing, sizing, typography, borders, radius, and shadows. Also use when users mention no-hardcoded-values, no-slds-class-overrides, lwc-to-slds-hooks, no-deprecated-tokens-slds1, or ask about SLDS component migration — even if they don't explicitly say \"uplift\" or \"migration\"."
4
+ metadata:
5
+ version: "1.0"
4
6
  ---
5
7
 
6
8
  # Goal
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: using-ui-bundle-salesforce-data
3
3
  description: "MUST activate when the project contains a uiBundles/*/src/ directory and the task involves ANY Salesforce record operation — reading, creating, updating, or deleting. Use this skill when building forms that submit to Salesforce, pages that display Salesforce records, or any code that touches Salesforce objects or custom objects. Activate when files under uiBundles/*/src/ import from @salesforce/sdk-data, or when *.graphql files or codegen.yml exist. This skill owns all Salesforce data access patterns in UI bundles. Does not apply to authentication/OAuth setup, schema changes, Bulk/Tooling/Metadata API, or declarative automation."
4
+ metadata:
5
+ version: "1.0"
4
6
  ---
5
7
 
6
8
  # Salesforce Data Access