Agent Skills › videojs/video.js › maintain-vjsc-skin-gaps

maintain-vjsc-skin-gaps

GitHub

用于维护 VJSC 皮肤功能差异清单,当在 skins 包中发现或处理行为、样式等可见差异时,同步更新 gaps.md 以记录或关闭差异。

.agents/skills/maintain-vjsc-skin-gaps/SKILL.md videojs/video.js

触发场景

发现皮肤行为、样式或标记的差异 实现或故意推迟差异修复

安装

npx skills add videojs/video.js --skill maintain-vjsc-skin-gaps -g -y
更多选项

非标准路径

npx skills add https://github.com/videojs/video.js/tree/main/.agents/skills/maintain-vjsc-skin-gaps -g -y

不安装直接使用

npx skills use videojs/video.js@maintain-vjsc-skin-gaps

指定 Agent (Claude Code)

npx skills add videojs/video.js --skill maintain-vjsc-skin-gaps -a claude-code -g -y

安装 repo 全部 skill

npx skills add videojs/video.js --all -g -y

预览 repo 内 skill

npx skills add videojs/video.js --list

SKILL.md

Frontmatter
{
    "name": "maintain-vjsc-skin-gaps",
    "description": "Maintain deferred VJSC parity gaps. Use when work under packages\/skins\/src adds, closes, or explicitly defers a parity gap."
}

Track VJSC skin parity

Keep packages/skins/src/gaps.md synchronized with observable differences from the previously published skins.

Triggers

  • Discovering missing behavior, markup, selectors, data attributes, tokens, responsive rules, motion, or styles while working under packages/skins/src.
  • Implementing or deliberately deferring a documented parity gap.

Do not use this workflow for documentation-only edits or generated-output changes that do not alter observable skin behavior.

Workflow

  1. Describe the observable published behavior and identify the affected Default or Neutral skin.
  2. Inspect the equivalent source component, style rule, and generated HTML and React output. Similar names or classes are not evidence of parity.
  3. If the change implements parity, verify all affected targets and CSS or Tailwind outputs, then remove any obsolete gap.
  4. Otherwise, add or update one entry in packages/skins/src/gaps.md with Source, Gap, Affected, and Recommendation fields. Use the PR or commit when known; otherwise cite the relevant source or test.
  5. Avoid duplicates. Describe user-visible behavior rather than copying a raw diff, and remove the entry only after implementation and verification.

Example

Input: Testing shows the previously published skin has RTL control ordering without equivalent source rules.

Output: Add or update this entry in packages/skins/src/gaps.md:

## RTL control layout

- Source: `caf179b83` / #2281
- Gap: VJSC menus are directional, but control regions do not preserve legacy control order under `dir="rtl"`.
- Affected: Default and Neutral; HTML and React; CSS and Tailwind.
- Recommendation: Add directional layout rules and VJSC matrix coverage.

Validation

  • Run the narrowest affected skin tests and refresh generated VJSC snapshots when output changes.
  • Run pnpm -F @videojs/skins test for cross-target skin changes.
  • Run git diff --check.

版本历史

  • 8a0a3d8 当前 2026-10-20 08:03

同 Skill 集合

.agents/skills/change-spf-behavior/SKILL.md
.agents/skills/commit-pr/SKILL.md
.agents/skills/configure-vite-plus/SKILL.md
.agents/skills/create-html-component/SKILL.md
.agents/skills/create-issue/SKILL.md
.agents/skills/create-react-component/SKILL.md
.agents/skills/create-skill/SKILL.md
.agents/skills/create-spf-behavior/SKILL.md
.agents/skills/design-api/SKILL.md
.agents/skills/document-spf-feature/SKILL.md
.agents/skills/document-spf-use-case/SKILL.md
.agents/skills/implement-accessible-ui/SKILL.md
.agents/skills/implement-spf-feature/SKILL.md
.agents/skills/implement-spf-use-case/SKILL.md
.agents/skills/implement-ui-transition/SKILL.md
.agents/skills/investigate-issue/SKILL.md
.agents/skills/maintain-agent-docs/SKILL.md
.agents/skills/maintain-tests/SKILL.md
.agents/skills/review-accessibility/SKILL.md
.agents/skills/review-api/SKILL.md
.agents/skills/review-branch/SKILL.md
.agents/skills/review-docs/SKILL.md
.agents/skills/review-html-component-design/SKILL.md
.agents/skills/review-html-component/SKILL.md
.agents/skills/review-react-component-design/SKILL.md
.agents/skills/review-react-component/SKILL.md
.agents/skills/write-api-reference/SKILL.md
.agents/skills/write-design-doc/SKILL.md
.agents/skills/write-docs/SKILL.md
.agents/skills/write-html-component-design/SKILL.md
.agents/skills/write-locale-translations/SKILL.md
.agents/skills/write-react-component-design/SKILL.md
.agents/skills/write-rfc/SKILL.md
.agents/skills/create-rolldown-plugin/SKILL.md
.agents/skills/create-vite-plugin/SKILL.md
.agents/skills/create-vjsc-component/SKILL.md
.agents/skills/transform-rolldown-code/SKILL.md

元信息

文件数
0
版本
8a0a3d8
Hash
146f8b14
收录时间
2026-10-20 08:03

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-05 08:11
浙ICP备14020137号-1