Skip to main content

write-design-doc

Write or update a Video.js architecture, feature, or decision record only when the user explicitly requests that record. Use for compact, non-inferable rationale outside UI component design.

跳到安装

来源信息

仓库
videojs/v10
最近来源活动
2026年8月10日 17:26
检测到的 SKILL.md 语言
英语
星标
947
分支
91

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
write-design-doc
description
Write or update a Video.js architecture, feature, or decision record only when the user explicitly requests that record. Use for compact, non-inferable rationale outside UI component design.
# Internal records Read `internal/design/README.md` and `internal/decisions/README.md`; they define current placement, status, and format. ## Workflow 1. Confirm that the user explicitly requested creation or revision of the record. Do not invoke this skill merely because a design decision exists. 2. Use the requested artifact and path when given; otherwise choose the smallest matching design or decision location. 3. Read the relevant code, tests, history, and existing record. Treat executable sources as current behavior. 4. State the decision directly, then preserve only the important rationale, constraint, or trade-off that cannot be inferred from those sources. 5. Link source, tests, or related records instead of copying APIs, schemas, state flow, file inventories, or mechanics. 6. Include alternatives or consequences only when they materially explain the choice. Omit empty headings and speculative detail. Keep the result to a few paragraphs when possible. Do not create adjacent records, split one record into several, or turn it into an RFC without a separate explicit request. ## Example Input: “Record why source selection belongs in the core player.” Output: A compact decision and the non-inferable reason it should survive outside the code, with source links where useful.
在 GitHub 查看