跳到正文
cccskills
GitHub Copilot 官方免费在 GitHub 公开

react-components

CoreAI Sandbox component usage: import boundaries, published CoreAI documentation, and local adapter inspection. USE WHEN: editing any `*.tsx` file, picking a component, or writing component imports.

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

github/replica星标 29(GitHub 29 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.4 KB

SKILL.md(原文)

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

CoreAI Sandbox Component Usage

Import Boundary

Import CoreAI components, styling APIs, and tokens directly from @coreai-ds/react-components.

import { Button, Dropdown, Spinner } from '@coreai-ds/react-components';

Import CoreAI-Sandbox-owned components and adapters from ~/components/common.

import { Card, ExternalLink, Image, Link, TabLinkList } from '~/components/common';

The app barrel exports only repository-owned behavior. It does not re-export CoreAI. Never import components from @fluentui/react-components directly. Direct imports from @fluentui/react-icons remain supported.

Use the local Link for React Router navigation, ExternalLink for external URLs, Card for all cards, and Image for theme-aware and deployment-safe image sources. ESLint restricts direct Link, Card, and Image imports from @coreai-ds/react-components; only the local adapter implementations may import those underlying CoreAI components.

Skill Boundary

  • This skill owns CoreAI Sandbox's repository boundary: decide whether the need is satisfied by CoreAI or by an existing app-owned adapter, composition, hook, theme utility, or asset.
  • coreai-ds-fluentui-react owns external package documentation retrieval and version checks. Invoke it for every CoreAI component or prop decision instead of restating its catalog here.
  • Local source under app/components/common/** is authoritative only for CoreAI-Sandbox-owned behavior; it is not a substitute for CoreAI documentation.

Choose and Verify Components

  1. Invoke the coreai-ds-fluentui-react skill and retrieve the relevant published documentation before selecting, changing, or reviewing a component or its props. Follow its discovery, version-check, and retrieval-failure workflow. Do not infer APIs from stock Fluent behavior.
  2. Verify the selected API against the installed package when documented versions differ. Report missing guidance or unsupported APIs rather than silently substituting prior knowledge.
  3. Check app/components/common/index.ts for an existing CoreAI-Sandbox-owned export only when the requested behavior is product-specific or integrates an app concern such as React Router.
  4. When a local export exists, read its source under app/components/common/** before using it. Published package documentation does not define CoreAI-Sandbox-owned behavior.
  5. Prefer an existing documented component or template over recreating the same interaction with custom markup and CSS.

Do not maintain a static component catalog in this skill. Published CoreAI documentation is the source of truth for CoreAI components, and the app barrel and local source are the source of truth for repository-owned exports.

Semantics

Use links for navigation and buttons for actions. Do not make a Button navigate or use a link to perform an action. Use Link for app routes and ExternalLink for URLs outside the app.

Related skills

  • css-styling — required when writing styles for the component
  • icons — for icon selection and bundling
  • coreai-ds-fluentui-react — required for CoreAI component documentation and API decisions

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

accessibility-audit

GitHub Copilot 官方免费

Audits actual components and routes against applicable WCAG 2.2 A/AA criteria using consumer-owned design-system evidence and repository tools. Use when asked for an accessibility audit, a11y check, keyboard or focus review, contrast check, or screen-reader verification.

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

github/replica292026年10月27日 更新

add-seed-data

GitHub Copilot 官方免费

Creates or updates believable deterministic raw fixture scenarios without breaking an existing prototype. Use when asked to add or change fixtures, seed data, sample data, scenarios, or cross-record relationships. Not for UI redesign, live-data infrastructure, or unrelated commands.

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

github/replica292026年10月27日 更新

agent-browser

GitHub Copilot 官方免费

Use for explicit agent-browser CLI checks or a named browser capability neither the Copilot canvas nor configured Playwright MCP can supply. Ordinary rendered checks and browser selection belong to browser-canvas-validation.

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

github/replica292026年10月27日 更新

browser-canvas-validation

GitHub Copilot 官方免费

Use the Copilot browser canvas first for rendered route checks, interaction tests, screenshots and visual, responsive or accessibility evidence. Use configured isolated Playwright MCP only when the canvas is unavailable for a required check.

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

github/replica292026年10月27日 更新

code-review

GitHub Copilot 官方免费

Review Replica pull requests using the same shared conventions and project guides as implementation agents. Use when reviewing changes to code, tests, workflows, or documentation in this repository.

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

github/replica292026年10月27日 更新

component-design-system-review

GitHub Copilot 官方免费

Reviews existing UI components for design-system consistency, states, responsiveness and accessibility using consumer-owned context. Use when asked to review component quality, check design-system adherence or audit component consistency.

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

github/replica292026年10月27日 更新

查看 github 的全部技能

报告此技能的问题