yukk4159-bit/charcard-workshop/tavern-helper-frontend
如果 `xxx` 文件夹中既有 `index.ts` 文件也有 `index.html` 文件, 则它是一个酒馆助手前端界面. 前端界面以无沙盒 iframe 的形式在酒馆消息楼层中前台显示, 有一个内嵌在消息楼层中的界面, 你可以在其中添加静态内容、样式、脚本等. 酒馆消息楼层中的文本原本只支持静态内容、不支持执行代码 (`<script>` 部分会被删除), 前端界面则补足了这一点, 并可以通过酒馆助手接口做到操作酒馆变量、开关世界书条目等功能. 当涉及酒馆助手前端界面、需要制作伴随消息楼层的界面或者涉及这些功能时, 你应该参考本 skill.
Agent skill · version 0.0.0-main.1795957403.g5496bb7 · from yukk4159-bit/charcard-workshop
Install
npx yarkr-cli add skill:yukk4159-bit/charcard-workshop/tavern-helper-frontendWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:yukk4159-bit/charcard-workshop/tavern-helper-frontend
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:yukk4159-bit/charcard-workshop/tavern-helper-frontendOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:yukk4159-bit/charcard-workshop/tavern-helper-frontendWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.