starboom/kbcut/kbcut-style
Claude Code and agent skill by starboom/kbcut
- community
Checking that the SKILL.md file is still in the repository.
选择、列出、解析或安装 KB Cut 使用的 HyperFrames `frame.md` 风格预设与风格字体角色。适用于用户要求“用某个 frame.md”“切换 KB Cut 风格”“列出 kbcut 可用风格”“使用 founder-interview / 创始人访谈风格”“把风格复制到剪辑项目”,也作为 `$kbcut` 的子技能在包装、封面和字体落位前确定视觉规范来源。
Install
npx vskill@latest install starboom/kbcut/kbcut-styleSKILL.md
KB Cut Style
为 KB Cut 解析一个确定可用的 frame.md 和配套 template.html。本技能只处理视觉规格选择、包装模板归属、封面风格规则归属和文件落位,不转写、不剪辑、不渲染视频。
一个风格预设由三个文件共同定义:frame.md 是人读的视觉规范,template.html 是视频从里面看的可执行形态(片内三层结构),cover.html 是它从外面看的可执行形态(封面)。一个完整的风格必须同时定义这两个模板——只有包装没有封面,或者只有封面没有包装,都不算完整。模板不得引入 frame.md 未声明的层级、颜色或动效。
工作流
- 识别用户输入:
- 显式
frame.md路径:验证文件存在,直接返回该路径。 - 风格名:在内置预设和项目预设中解析。例如
founder-interview、单人访谈、创始人访谈、创始人 IP、个人 IP、创始人访谈风格都映射到founder-interview。 - 风格 ID 以预设目录名为准,内置
frame.md必须在 frontmatter 中声明同名id。 - 只要求“列出风格”:列出可用预设,不选择。
- 运行
scripts/resolve_style.py解析路径。传入当前项目根目录,以便优先发现项目里的frame-presets/<style>/frame.md。 - 确认
frame.md同时承载动态包装、封面风格规则和字体角色映射。封面的具体审美、标题规则、蒙版/压暗策略、排版结构、字体落位和验收要点属于风格预设,不写在$kbcut主入口里。 - 解析同目录的
template.html和cover.html。找到就返回绝对路径;找不到就返回null,必须显式告知调用方,不得静默让$kbcut回退到从零手写 HTML。调用方要求模板必须存在时,使用--require-template让脚本在任一模板缺失时直接失败。 - 若 KB Cut 工作项目需要独立副本,使用脚本的
--copy-to WORK_DIR/frame.md,脚本会把frame.md、同级fonts/、template.html和cover.html一并复制后再传给$kbcut。 - 把结果记录为:风格 ID、来源层级、原始
frame.md绝对路径、两个模板的绝对路径(或 null)、复制后的目标路径(如果有)。
内置风格
founder-interview/创始人访谈:创始人、老师、顾问、专家口播采访。上方固定话题与资历,正文与正常文字使用ChillDuanHeiSongMedium,需要加粗时切到ChillDuanHeiSongBold,封面标题使用优设标题黑;封面使用同一风格文件中的独立封面规则,默认提炼 6-8 个汉字、3 行排版,并采用 100% 羽化镜面蒙版形成中心聚焦。
解析优先级
- 用户显式提供的
frame.md。 - 当前项目的
frame-presets/<style>/frame.md。 - 当前项目的
frame-presets/<style>/FRAME.md。 - 本技能内置的
assets/frame-presets/<style>/frame.md。
输出约定
返回一个简洁结果,不要复述完整 frame.md 或 template.html:
风格缺少任一模板时,必须把这件事说出来,而不是省略该行:
若找不到匹配风格,列出已知风格并要求用户提供明确的 frame.md 或选择一个可用风格。
风格预设目录结构
frame.md 的 frontmatter templates 块是机器可读的占位符契约:
make-package.cjs 和 make-cover.cjs 会在生成前双向校验:模板用了未声明的占位符直接报错,声明了模板不用的占位符给出警告。技术类占位符(COMPOSITION_*、LAYOUT_VARS、FONT_*、VIDEO_SRC、COVER_BACKGROUND_SRC、DURATION_SECONDS)由脚本提供,不需要声明。
新增风格时,两个模板都要写。只做包装不做封面的风格是不完整的——用户拿不到能发布的成品。
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingkbcut-style/SKILL.md
Popularity
- Repository stars
- 59
- Repository forks
- 11
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/starboom/kbcut/kbcut-style)