From c38730ee6cb6d01f0be32bdcacaa75470fe10d91 Mon Sep 17 00:00:00 2001 From: k-j-kim Date: Wed, 1 Apr 2026 16:14:05 -0700 Subject: [PATCH] fix: remove React references from skill descriptions for framework agnosticism --- skills/building-ui-bundle-frontend/SKILL.md | 2 +- skills/generating-ui-bundle-features/SKILL.md | 2 +- skills/generating-ui-bundle-metadata/SKILL.md | 2 +- skills/generating-ui-bundle-site/SKILL.md | 2 +- skills/implementing-ui-bundle-file-upload/SKILL.md | 2 +- skills/using-ui-bundle-salesforce-data/SKILL.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/skills/building-ui-bundle-frontend/SKILL.md b/skills/building-ui-bundle-frontend/SKILL.md index 1ecbfbe..7ac48c3 100644 --- a/skills/building-ui-bundle-frontend/SKILL.md +++ b/skills/building-ui-bundle-frontend/SKILL.md @@ -1,6 +1,6 @@ --- name: building-ui-bundle-frontend -description: "MUST activate before editing ANY file under uiBundles/*/src/ for visual or UI changes to an EXISTING app — pages, components, sections, layout, styling, colors, fonts, navigation, animations, or any look-and-feel change. Activate when the project contains appLayout.tsx, routes.tsx, src/pages/, src/components/, or global.css. This skill contains critical project-specific conventions (appLayout.tsx shell, shadcn/ui components, Tailwind CSS, Salesforce base-path routing, module restrictions) that override general React knowledge. Without this skill, generated code will use wrong imports, break routing, or ignore project structure. Do NOT use when creating a new app from scratch (use building-ui-bundle-app instead)." +description: "MUST activate before editing ANY file under uiBundles/*/src/ for visual or UI changes to an EXISTING app — pages, components, sections, layout, styling, colors, fonts, navigation, animations, or any look-and-feel change. Activate when the project contains appLayout.tsx, routes.tsx, src/pages/, src/components/, or global.css. This skill contains critical project-specific conventions (appLayout.tsx shell, shadcn/ui components, Tailwind CSS, Salesforce base-path routing, module restrictions) that override general knowledge. Without this skill, generated code will use wrong imports, break routing, or ignore project structure. Do NOT use when creating a new app from scratch (use building-ui-bundle-app instead)." --- # UI Bundle UI diff --git a/skills/generating-ui-bundle-features/SKILL.md b/skills/generating-ui-bundle-features/SKILL.md index cb5a7ca..35f0e2b 100644 --- a/skills/generating-ui-bundle-features/SKILL.md +++ b/skills/generating-ui-bundle-features/SKILL.md @@ -1,6 +1,6 @@ --- name: generating-ui-bundle-features -description: "MUST activate when the project contains a uiBundles/*/src/ directory and the user wants to add authentication or search to their React app. Only covers two features: authentication (login, logout, protected routes, session management) and search (global search across pages and content). Always use this skill for these two features instead of building from scratch." +description: "MUST activate when the project contains a uiBundles/*/src/ directory and the user wants to add authentication or search to their app. Only covers two features: authentication (login, logout, protected routes, session management) and search (global search across pages and content). Always use this skill for these two features instead of building from scratch." --- # UI Bundle Features diff --git a/skills/generating-ui-bundle-metadata/SKILL.md b/skills/generating-ui-bundle-metadata/SKILL.md index 9293517..3288364 100644 --- a/skills/generating-ui-bundle-metadata/SKILL.md +++ b/skills/generating-ui-bundle-metadata/SKILL.md @@ -1,6 +1,6 @@ --- name: generating-ui-bundle-metadata -description: "MUST activate when the project contains a uiBundles/*/src/ directory and scaffolding a new UI bundle or React app, or when editing ui-bundle.json, .uibundle-meta.xml, or CSP trusted site files. Scaffold with sf template generate ui-bundle --template reactbasic and configure ui-bundle.json (routing, headers, outputDir) and CSP Trusted Sites. Activate when the task involves files matching *.uibundle-meta.xml, ui-bundle.json, or cspTrustedSites/*.cspTrustedSite-meta.xml." +description: "MUST activate when the project contains a uiBundles/*/src/ directory and scaffolding a new UI bundle or app, or when editing ui-bundle.json, .uibundle-meta.xml, or CSP trusted site files. Scaffold with sf template generate ui-bundle and configure ui-bundle.json (routing, headers, outputDir) and CSP Trusted Sites. Activate when the task involves files matching *.uibundle-meta.xml, ui-bundle.json, or cspTrustedSites/*.cspTrustedSite-meta.xml." --- # UI Bundle Metadata diff --git a/skills/generating-ui-bundle-site/SKILL.md b/skills/generating-ui-bundle-site/SKILL.md index 4691e2a..98174d2 100644 --- a/skills/generating-ui-bundle-site/SKILL.md +++ b/skills/generating-ui-bundle-site/SKILL.md @@ -1,6 +1,6 @@ --- name: generating-ui-bundle-site -description: "MUST activate when the project contains a uiBundles/*/src/ directory and the task involves creating or configuring site infrastructure. Create or configure a Salesforce Digital Experience Site for hosting a React 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 React app." +description: "MUST activate when the project contains a uiBundles/*/src/ directory and the task involves creating or configuring site infrastructure. Create or configure 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." --- # Digital Experience Site for React UI Bundles diff --git a/skills/implementing-ui-bundle-file-upload/SKILL.md b/skills/implementing-ui-bundle-file-upload/SKILL.md index 7e911f6..1d7070e 100644 --- a/skills/implementing-ui-bundle-file-upload/SKILL.md +++ b/skills/implementing-ui-bundle-file-upload/SKILL.md @@ -1,6 +1,6 @@ --- name: implementing-ui-bundle-file-upload -description: "MUST activate when the project contains a uiBundles/*/src/ directory and the task involves uploading, attaching, or dropping files. Add file upload functionality to React UI bundles with 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." +description: "MUST activate when the project contains a uiBundles/*/src/ directory and the task involves uploading, attaching, or dropping files. Add file upload functionality to UI bundles with 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." --- # File Upload API (workflow) diff --git a/skills/using-ui-bundle-salesforce-data/SKILL.md b/skills/using-ui-bundle-salesforce-data/SKILL.md index d9fff97..e077667 100644 --- a/skills/using-ui-bundle-salesforce-data/SKILL.md +++ b/skills/using-ui-bundle-salesforce-data/SKILL.md @@ -1,6 +1,6 @@ --- name: using-ui-bundle-salesforce-data -description: "MUST activate when the project contains a uiBundles/ directory and the task involves ANY Salesforce record operation — reading, creating, updating, or deleting. This includes forms that submit to Salesforce, pages that display Salesforce records, and 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 React UI bundles. Does not apply to authentication/OAuth setup, schema changes, Bulk/Tooling/Metadata API, or declarative automation." +description: "MUST activate when the project contains a uiBundles/ directory and the task involves ANY Salesforce record operation — reading, creating, updating, or deleting. This includes forms that submit to Salesforce, pages that display Salesforce records, and 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." --- # Salesforce Data Access