前端

前端框架、UI 组件、CSS 和 Web 应用

235 个 Skills 可用

Skills 列表

design-motion-principles

design-motion-principles

823frontend

基于 Emil Kowalski、Jakub Krehel 和 Jhey Tompkins 技术的动效与交互设计专家。两种模式——构建具有目的性动效的交互组件,或审计现有动画以捕捉 AI 生成的劣质动效模式(审计会输出带品牌标识的 HTML 报告,内含循环演示)。适用于创建、添加、动画化或审查 UI 动效:过渡、悬停状态、微交互、进入/退出动画,或任何在 React、Framer Motion、CSS 或 HTML 中的动效设计工作。提供每位设计师的视角,并根据上下文进行加权。

kylezantos avatarkylezantos
获取
uplifting-components-to-slds2

uplifting-components-to-slds2

788frontend

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\".

forcedotcom avatarforcedotcom
获取
mobile-platform-offline-validate

mobile-platform-offline-validate

786frontend

Review a Lightning Web Component for **mobile offline** compatibility — the Komaci offline static analyzer that pre-primes the data graph for Salesforce Mobile App Plus and Field Service Mobile App. Produces a finding list with code-level fixes covering inline GraphQL queries in `@wire` configurations, modern `lwc:if` / `lwc:elseif` / `lwc:else` directives, and Komaci ESLint rule violations (private wire properties, non-local reactive references, getter side-effects). Use when the user asks for a \"mobile offline review\", \"Komaci check\", \"offline priming audit\", \"offline priming failure\", or \"offline data graph error\", or to validate an LWC against the `@salesforce/eslint-plugin-lwc-graph-analyzer` recommended ruleset. Do not use for generic LWC code review (use an appropriate domain review skill) or for building LWCs with native mobile capabilities (use `mobile-platform-native-capabilities-integrate`).

forcedotcom avatarforcedotcom
获取
experience-ui-bundle-frontend-generate

experience-ui-bundle-frontend-generate

783frontend

MUST activate before editing ANY file under uiBundles/*/src/ (or the bundle's index.html) for visual or UI changes to an EXISTING app — pages, components, sections, layout, styling, colors, fonts, navigation, animations, branding, or any look-and-feel change. Use this skill when modifying pages, components, layout, styling, navigation, or branding in an existing UI bundle app. Activate when the project contains appLayout.tsx, routes.tsx, src/pages/, src/components/, src/styles/global.css, or the bundle's index.html. 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 or the bundle has not been scaffolded yet (use experience-ui-bundle-app-coordinate instead).

forcedotcom avatarforcedotcom
获取
experience-ui-bundle-metadata-generate

experience-ui-bundle-metadata-generate

783frontend

Use this skill when adding a front-end React UI bundle to an existing project or configuring UI bundle metadata and config files. TRIGGER when: adding or scaffolding a new UI bundle inside a project that already exists; running sf template generate ui-bundle; editing ui-bundle.json routing, headers, or output directory; working with *.uibundle-meta.xml files; or registering CSP Trusted Sites, resolving blocked images or fonts or external API calls, or editing cspTrustedSites/*.cspTrustedSite-meta.xml files. DO NOT TRIGGER when: creating a brand-new Salesforce project from scratch, where the whole SFDX starter project (UI bundle plus Experience Site metadata and toolchain) is generated together (use experience-ui-bundle-project-generate).

forcedotcom avatarforcedotcom
获取
experience-ui-bundle-file-upload-generate

experience-ui-bundle-file-upload-generate

783frontend

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.

forcedotcom avatarforcedotcom
获取
experience-ui-bundle-agentforce-client-generate

experience-ui-bundle-agentforce-client-generate

783frontend

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 in a UI Bundle project. TRIGGER when: project contains a uiBundles/*/src/ directory and the task involves adding or modifying a chat widget, chatbot, or conversational AI; files under uiBundles/*/src/ import AgentforceConversationClient; user asks to add any chat or agent functionality to a page. DO NOT TRIGGER when: user wants to create a custom agent, chatbot, or chat widget component from scratch; the project has no uiBundles directory.

forcedotcom avatarforcedotcom
获取
design-systems-slds2-migrate

design-systems-slds2-migrate

780frontend

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\".

forcedotcom avatarforcedotcom
获取
building-components

building-components

776frontend

构建现代、可访问且可组合的UI组件的指南。适用于构建新组件、实现无障碍功能、创建可组合API、设置设计令牌、发布到npm/注册表或编写组件文档时使用。

vercel avatarvercel
获取
platform-flexipage-generate

platform-flexipage-generate

774frontend

当用户需要创建、生成、修改或验证 Salesforce Lightning 页面(FlexiPages)时使用此技能。当用户提到 RecordPage、AppPage、HomePage、Lightning 页面、页面布局、向页面添加组件或页面自定义时触发。当用户说“创建 Lightning 页面”、“向页面添加组件”、“自定义记录页面”、“生成 FlexiPage”或处理 FlexiPage XML 文件并需要组件、区域或部署错误帮助时,也使用此技能。始终将此技能用于任何与 FlexiPage 相关的工作,即使他们只是在 Salesforce 上下文中提到“页面”。当用户询问 Visualforce 页面、没有 FlexiPage 上下文的 Aura 组件、UI 中的页面布局分配,或不涉及将组件放置在 FlexiPage 上的 Lightning Web Component 开发时,请勿触发。

forcedotcom avatarforcedotcom
获取
platform-custom-application-generate

platform-custom-application-generate

774frontend

当用户需要创建或配置基于标签的Salesforce自定义应用程序,包括导航、品牌和操作覆盖时,使用此技能。当用户提及自定义应用程序、应用程序元数据、应用程序导航或将标签组织到应用程序中时触发。当用户想要为标签和页面创建应用程序容器时使用。当目标是在App Launcher中托管React UI捆绑包时,请勿使用——这种情况请使用experience-ui-bundle-custom-app-generate。

forcedotcom avatarforcedotcom
获取
design-systems-slds-apply

design-systems-slds-apply

774frontend

使用正确的蓝图、样式钩子、工具类和图标来应用符合 SLDS 的 UI。在构建任何需要 SLDS 的 UI 时使用,包括在 Lightning 基础组件和 SLDS 蓝图之间选择、应用样式钩子进行主题化、使用工具类进行布局和间距,或选择图标。触发词包括“构建模态框”、“创建表单”、“数据表”、“SLDS 样式”、“使用钩子设置样式”、“添加图标”。

forcedotcom avatarforcedotcom
获取
design-systems-slds-validate

design-systems-slds-validate

774frontend

Audit Lightning Web Components for SLDS compliance and produce a scored quality report. Runs the SLDS linter, analyzes CSS for theming hook usage and pairing, checks HTML for accessibility attributes, and scores findings across categories into an overall grade. Use when asked to \"score my component\", \"SLDS scorecard\", \"quality report\", \"audit SLDS compliance\", \"how good is my SLDS\", \"check component quality\", \"rate my component\", \"evaluate my component\", \"is this component ready to ship?\", \"look at my LWC for issues\", \"audit this before I submit\", \"review my component before code review\", or any time a user wants a quality assessment or production-readiness check on an LWC or SLDS component. Not for fixing violations (use design-systems-slds2-migrate) or building new components (use design-systems-slds-apply).

forcedotcom avatarforcedotcom
获取
generating-lwc-components

generating-lwc-components

766frontend

基于PICKLES方法论和165分评分的Lightning Web Components。当用户创建或编辑LWC组件、构建wire service模式或为LWC编写Jest测试时使用此技能。触发条件:用户创建/编辑LWC组件,涉及lwc/**/*.js、.html、.css、.js-meta.xml文件,或询问关于wire service、SLDS或Jest LWC测试。不触发条件:Apex类(使用generating-apex)、Aura组件或Visualforce。

forcedotcom avatarforcedotcom
获取
pwa-development

pwa-development

704frontend

渐进式Web应用 - Service Worker、缓存策略、离线支持、Workbox

alinaqi avataralinaqi
获取
motion

motion

696frontend

Use when adding animations with Motion Vue (motion-v) - provides motion component API, gesture animations, scroll-linked effects, layout transitions, and composables for Vue 3/Nuxt

onmax avataronmax
获取
vueuse

vueuse

695frontend

Use when working with VueUse composables - track mouse position with useMouse, manage localStorage with useStorage, detect network status with useNetwork, debounce values with refDebounced, and access browser APIs reactively. Check VueUse before writing custom composables - most patterns already implemented.

onmax avataronmax
获取
nuxt

nuxt

688frontend

用于 Nuxt 4+ 项目开发,提供服务器路由、基于文件的路由、中间件模式、Nuxt 特有的组合式函数和配置,并附带最新文档。涵盖 h3 v1 辅助函数(验证、WebSocket、SSE)和 nitropack v2 模式。已更新至 Nuxt 4.3+。

onmax avataronmax
获取
reka-ui

reka-ui

688frontend

使用 Reka UI(无样式 Vue 组件)时使用——提供组件 API、无障碍模式、组合(asChild)、受控/非受控状态、虚拟化及样式集成。原 Radix Vue。

onmax avataronmax
获取
nuxt-ui

nuxt-ui

688frontend

Use when building styled UI with @nuxt/ui v4 components - create forms with validation, implement data tables with sorting, build modal dialogs and overlays, configure Tailwind Variants theming. Use vue skill for raw component patterns, reka-ui for headless primitives.

onmax avataronmax
获取
motion-framer

motion-framer

629frontend

适用于 React 和 JavaScript 的现代动画库。使用 motion 组件、变体、手势(悬停/点击/拖拽)、布局动画、AnimatePresence 退出动画、弹簧物理和基于滚动的效果,创建流畅、生产就绪的动画。在构建交互式 UI 组件、微交互、页面过渡或复杂动画序列时使用。

freshtechbro avatarfreshtechbro
获取
threejs-webgl

threejs-webgl

629frontend

用于 Three.js 3D Web 开发的综合技能。在构建交互式 3D 场景、WebGL/WebGPU 应用程序、产品配置器、3D 可视化或沉浸式 Web 体验时使用此技能。当任务涉及 Three.js、3D 渲染、场景、相机、网格、材质、灯光、动画、纹理或 WebGL/WebGPU 渲染时触发。

freshtechbro avatarfreshtechbro
获取
angular-component

angular-component

597frontend

创建遵循 v20+ 最佳实践的现代 Angular 独立组件。用于构建基于信号的输入/输出、OnPush 变更检测、宿主绑定、内容投影和生命周期钩子的 UI 组件。在创建组件、将基于类的输入重构为信号、添加宿主绑定或实现可访问的交互式组件时触发。

analogjs avataranalogjs
获取
angular-signals

angular-signals

596frontend

在 Angular v20+ 中实现基于信号(signal)的响应式状态管理。用于创建响应式状态(signal())、派生状态(computed())、依赖状态(linkedSignal())和副作用(effect())。当涉及状态管理问题、从 BehaviorSubject/Observable 模式迁移到信号、或实现响应式数据流时触发。

analogjs avataranalogjs
获取