implement-spf-use-case
GitHub实现SPF用例组合,涵盖功能变体集成、测试验证及状态更新。需先读取工作流文档,按规范拆解任务,测试驱动开发各组件边界,执行累计检查并报告进度与风险。
触发场景
安装
npx skills add videojs/video.js --skill implement-spf-use-case -g -y
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.
- Verify each required feature is implemented for the requested scope; expose missing prerequisites instead of hiding them in wiring.
- Reconcile documented assumptions with code and identify material open decisions.
- Define the smallest observable composition increment and split it into independently testable prerequisite, behavior, composition, adapter, and documentation chunks.
- Implement each chunk test-first at the correct feature, behavior, composition, or adapter boundary.
- Run cumulative SPF tests, build, and size checks proportional to impact.
- 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


