write-react-component-design
Write React design records. Use when the user explicitly requests one.
来源信息
- 仓库
- videojs/video.js
- 最近来源活动
- 2026年8月10日 17:26
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 40,059
- Forks
- 7,486
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- write-react-component-design
- description
- Write React design records. Use when the user explicitly requests one.
# React component design records
Read `internal/design/README.md`, nearby records, and relevant React code, tests, exports, and package metadata.
1. Require an explicit request. Use its path or the smallest UI record location, with React scope clear.
2. State the component boundary and only the rationale or constraint that code and tests cannot explain.
3. Cover ownership, anatomy, props, context, rendering, CSS APIs, opt-outs, exports, or bundle cost only when they explain the choice.
4. Link source instead of copying inventories or mechanics. Include alternatives or consequences only when material.
Keep it to a few paragraphs. Do not add an HTML contract or companion record without a separate request.
## Example
Input: “Write a React component design record for chapter selection.”
Output: A compact React decision, its non-inferable rationale, and useful source links.
在 GitHub 查看