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

frontend-slides
Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.
affaan-m
prompt-optimizer
Analyze raw prompts, identify intent and gaps, match ECC components (skills/commands/agents/hooks), and output a ready-to-paste optimized prompt. Advisory role only — never executes the task itself. TRIGGER when: user says "optimize prompt", "improve my prompt", "how to write a prompt for", "help me prompt", "rewrite this prompt", or explicitly asks to enhance prompt quality. Also triggers on Chinese equivalents: "优化prompt", "改进prompt", "怎么写prompt", "帮我优化这个指令". DO NOT TRIGGER when: user wants the task executed directly, or says "just do it" / "直接做". DO NOT TRIGGER when user says "优化代码", "优化性能", "optimize performance", "optimize this code" — those are refactoring/performance tasks, not prompt optimization.
affaan-m
frontend-patterns
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
affaan-m
motion-advanced
React / Next.js 高阶动效设计模式——涵盖拖拽交互、手势操作、文本动画、SVG 路径绘制、自定义 Hook、命令式序列动画(useAnimate)、加载器(Loaders)及完整的 API 选型决策树。需先配置 motion-foundations。
affaan-m
motion-patterns
适用于 React / Next.js 的开箱即用动画范式——覆盖按钮、弹窗、Toast 提示、交错动画、页面过渡、退场动画、滚动联动及布局动画——基于 motion-foundations 的 Design Tokens 与 Spring 弹簧参数构建。
affaan-m
motion-foundations
基于 motion/react 实现 React / Next.js 的动效 Token、弹簧预设、性能规范、设备适配、无障碍强制约束及 SSR 水合安全保障。这是动效系统的底层基石——所有其他 Motion Skill 均依赖此技能。
affaan-m
angular-developer
生成 Angular 代码并提供架构指导。在创建项目、组件或服务时触发,或在寻求响应式机制(signals、linkedSignal、resource)、表单、依赖注入、路由、SSR、无障碍访问(ARIA)、动画、样式(组件样式、Tailwind CSS)、测试或 CLI 工具链的最佳实践时使用。
affaan-m
motion-ui
适用于 React/Next.js 的生产级 UI 动效系统。在实现动画、过渡效果或动效模式时使用。
affaan-m
error-handling
适用于 TypeScript、Python 和 Go 的健壮错误处理模式。涵盖类型化错误、错误边界、重试机制、熔断器以及面向用户的错误提示设计。
affaan-m
vite-patterns
Vite 构建工具实践指南,涵盖配置文件、插件开发、热更新 (HMR)、环境变量、代理设置、SSR、库模式 (Library Mode)、依赖预构建以及构建打包优化。当处理 vite.config.ts、Vite 插件或基于 Vite 开发的项目时激活此 Skill。
affaan-m
make-interfaces-feel-better
应用具体的设计工程细节,让界面更有质感、更精致。适用于 Code Review 或优化 UI 间距、字体排版、边框、阴影、动效、点击热区、图标、文本换行及交互状态等场景。
affaan-m
agent-sort
为特定仓库构建基于证据的ECC安装计划,通过并行的仓库感知审查轮次,将技能、命令、规则、钩子和额外项分类到DAILY与LIBRARY桶中。当ECC应精简为项目实际所需而非加载完整包时使用。
affaan-m
design-system
使用此技能生成或审计设计系统,检查视觉一致性,并审查涉及样式的PR。
affaan-m
nuxt4-patterns
Nuxt 4 应用模式,涵盖水合安全、性能优化、路由规则、懒加载以及使用 useFetch 和 useAsyncData 进行 SSR 安全的数据获取。
affaan-m
remotion-video-creation
Remotion(基于 React 的视频创作框架)最佳实践指南。收录 29 条涵盖 3D、动画、音频、字幕、图表、转场等特定领域的实用开发规则。
affaan-m
nextjs-turbopack
Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。
affaan-m
documentation-lookup
使用 Context7 MCP 获取最新的库和框架文档,而非依赖训练数据。适用于配置问题、API 参考、代码示例或用户提及框架(如 React、Next.js、Prisma)时。
affaan-m
prompt-optimizer
分析原始提示词,识别意图和缺口,匹配ECC组件(技能/命令/代理/钩子),并输出可直接粘贴的优化提示词。仅提供建议——绝不自行执行任务。触发条件:用户说“优化prompt”、“改进prompt”、“怎么写prompt”、“帮我优化这个指令”或明确要求提升提示词质量。也触发中文等价表述:“优化prompt”、“改进prompt”、“怎么写prompt”、“帮我优化这个指令”。不触发条件:用户希望直接执行任务,或说“直接做”。不触发条件:用户说“优化代码”、“优化性能”、“optimize performance”、“optimize this code”——这些是重构/性能任务,非提示词优化。
affaan-m
frontend-slides
从头创建或通过转换PowerPoint文件,生成视觉效果丰富、动画流畅的HTML演示文稿。适用于用户需要构建演示文稿、将PPT/PPTX转换为网页,或为演讲/提案创建幻灯片。帮助非设计人员通过视觉探索而非抽象选择来发现自己的审美偏好。
affaan-m
frontend-patterns
React、Next.js、状态管理、性能优化和UI最佳实践的前端开发模式。
affaan-m
web-artifacts-builder
用于创建复杂、多组件的 claude.ai HTML 工件的一套工具,采用现代前端 Web 技术(React、Tailwind CSS、shadcn/ui)。适用于需要状态管理、路由或 shadcn/ui 组件的复杂工件,不适用于简单的单文件 HTML/JSX 工件。
anthropics
frontend-code-review
审查 Dify 前端代码的正确性、可访问性、组件设计、dify-ui 使用、数据/查询边界、性能和测试。触发条件为 `.tsx`、`.ts`、`.js`、UI、React、Next.js、待变更或聚焦前端审查请求。
langgenius
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the `partialPrefetching` flag, opt routes in with `export const prefetch = 'partial'`, audit `<Link prefetch={true}>` calls, or resolve the link-prefetch-partial and instant-shell-url-data insights.
vercel
next-cache-components-adoption
在 Next.js 应用中开启缓存组件,并解决由此暴露的阻塞路由。当用户想要启用、采用或迁移到缓存组件、翻转 `cacheComponents` 标志、处理大量 blocking-prerender / instant 验证错误、运行 `cache-components-instant-false` codemod,或决定是使用 `export const instant = false` 将路由排除在验证之外还是原地修复时使用。
vercel