Agent Skills › videojs/video.js › implement-spf-use-case

implement-spf-use-case

GitHub

实现SPF用例组合,涵盖功能变体集成、测试验证及状态更新。需先读取工作流文档,按规范拆解任务,测试驱动开发各组件边界,执行累计检查并报告进度与风险。

.agents/skills/implement-spf-use-case/SKILL.md videojs/video.js

触发场景

需要组合多个功能变体的交付场景 涉及新功能或适配器的集成与测试

安装

npx skills add videojs/video.js --skill implement-spf-use-case -g -y
更多选项

非标准路径

npx skills add https://github.com/videojs/video.js/tree/main/.agents/skills/implement-spf-use-case -g -y

不安装直接使用

npx skills use videojs/video.js@implement-spf-use-case

指定 Agent (Claude Code)

npx skills add videojs/video.js --skill implement-spf-use-case -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": "implement-spf-use-case",
    "description": "Implement an SPF use-case composition. Use when a delivery scenario combines feature variants and requires composition, tests, and status updates."
}

Implement an SPF use case

Read references/workflow.md completely before acting; it contains the detailed composition, prerequisite, implementation, testing, and cascade workflow.

Treat the use-case entry as planning input. Read it, its constituent features, current compositions/adapters, tests, and applicable conventions.

  1. Verify each required feature is implemented for the requested scope; expose missing prerequisites instead of hiding them in wiring.
  2. Reconcile documented assumptions with code and identify material open decisions.
  3. Define the smallest observable composition increment and split it into independently testable prerequisite, behavior, composition, adapter, and documentation chunks.
  4. Implement each chunk test-first at the correct feature, behavior, composition, or adapter boundary.
  5. Run cumulative SPF tests, build, and size checks proportional to impact.
  6. Collapse the use-case record to composition decisions, remaining scope, source pointers, and directly affected relationships.

Report implemented and deferred scope, evidence, record updates, and remaining risks. Do not claim the use case complete while constituents remain partial.

Example

Input: “Implement the smallest playable low-latency live composition.”

Output: A verified minimal composition, exposed prerequisites, cumulative checks, updated use-case evidence, and explicit deferred work.

版本历史

  • 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-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/maintain-vjsc-skin-gaps/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
ce155621
收录时间
2026-10-20 08:03

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