跳到正文
cccskills
免费在 GitHub 公开

component-source-router

Use when deciding whether to implement UI from native HTML/CSS, accessible primitives, shadcn-style source components, or visual component registries such as 21st.dev, Aceternity, React Bits, Motion Primitives, Magic UI, or Animate UI.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(3)

  • SKILL.md1.4 KB
  • agents/openai.yaml253 B
  • references/catalog.md1.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Component Source Router

Principle

A component source solves implementation cost; it does not define the final visual language.

Route in this order

  1. semantic native HTML/CSS when sufficient;
  2. accessible unstyled primitives for complex behavior;
  3. owned/source components when they save implementation time;
  4. animated/visual registries as inspiration or behavior prototypes;
  5. custom implementation when the signature interaction requires it.

Read references/catalog.md when choosing a source.

Before adopting an external component

Check:

  • behavior fit;
  • accessibility and keyboard model;
  • framework/runtime fit;
  • dependency cost and duplication;
  • styling reset effort;
  • responsive behavior;
  • reduced-motion behavior;
  • license/current documentation.

Integration rule

Strip generic surface styling, map to project tokens, rewrite content, adapt composition, audit states, and remove unused dependencies. If the imported component makes the page look like its registry, the integration is unfinished.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use for release-level accessibility and performance review, including WCAG 2.2 AA, keyboard/focus, target size, reduced motion, semantic controls, Core Web Vitals, images/fonts/JavaScript, and animation or 3D performance budgets.

中文简介正在准备中。当前显示原文说明。

Lrinvl1203/world-class-web-design-os82026年10月2日 更新

Use to audit a generated or heavily templated interface for generic AI aesthetics, unjustified trend patterns, component-registry residue, vague copy, repetitive motion, novelty theater, or visual decisions that lack brand/UX rationale.

中文简介正在准备中。当前显示原文说明。

Lrinvl1203/world-class-web-design-os82026年10月2日 更新

Use when a website needs a strong visual point of view, distinct concept routes, composition, typography, color/materiality, imagery direction, spatial rhythm, or a memorable signature idea.

中文简介正在准备中。当前显示原文说明。

Lrinvl1203/world-class-web-design-os82026年10月2日 更新

Use after substantial web projects or repeated design defects to convert evidence into reusable skill improvements through root-cause analysis, regression scenarios, and controlled proposals without silently changing the core OS.

中文简介正在准备中。当前显示原文说明。

Lrinvl1203/world-class-web-design-os82026年10月2日 更新

Use when the design concept calls for Three.js or React Three Fiber 3D, WebGL/WebGPU, Rive, Spline, Theatre.js, SVG, canvas, shaders, particle systems, or other immersive creative-web techniques.

中文简介正在准备中。当前显示原文说明。

Lrinvl1203/world-class-web-design-os82026年10月2日 更新

Use as an independent design-review pass after rendering a website; evaluates macro, meso, micro craft, applies the Design Quality rubric, identifies root causes, and prioritizes changes without defending the implementation intent.

中文简介正在准备中。当前显示原文说明。

Lrinvl1203/world-class-web-design-os82026年10月2日 更新

查看 Lrinvl1203 的全部技能

报告此技能的问题