/t-tools:t-html-show [document-path]from t-tools
Generates or updates an HTML preview of a Markdown document for visual review. Delegates to a subagent and validates the result.
Ships in t-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
将一个 Markdown 文档交给 html-show subagent,生成或更新 .ai/preview/ 下的可视化审阅页。
运行时边界统一参考:${CLAUDE_PLUGIN_ROOT}/protocols/runtime-boundaries.md。
内容、路径、检查与打开规则统一以 ${CLAUDE_PLUGIN_ROOT}/protocols/html-show-contract.md 为准;PRD 额外遵循 ${CLAUDE_PLUGIN_ROOT}/protocols/prd-preview-contract.md。本 skill 只负责入口校验、委派和结果收口,不重复定义 Preview 规则。
/t-html-show <path-to-markdown>
参数必须是已存在的 Markdown 文件路径,直接来自 $ARGUMENTS;拒绝空参数、非文件路径和包含 .. 的路径。
不要用本命令创建或修改源文档:
/t-prd/t-prd-check${CLAUDE_PLUGIN_ROOT}/protocols/runtime-boundaries.md${CLAUDE_PLUGIN_ROOT}/protocols/html-show-contract.md${CLAUDE_PLUGIN_ROOT}/protocols/subagent-dispatch.md${CLAUDE_PLUGIN_ROOT}/agents/html-show.md${CLAUDE_PLUGIN_ROOT}/protocols/prd-preview-contract.md$ARGUMENTS,确认源 Markdown 文件存在。subagent-dispatch.md 委派 html-show:将完整 agent 角色定义注入 prompt,并只追加本次源文档路径。status、preview_path 和 check_result;失败时原样报告具体问题,不宣称已完成。html-show-contract.md 的「送达验证分级」执行并报告 open_result:当前会话可调用 chrome-devtools 浏览器工具时走 verified-render(new_page 打开 file:// 页、截图留证、检查 console 加载失败),否则运行 python ${CLAUDE_PLUGIN_ROOT}/scripts/open-preview.py <preview-path> --json 按返回分级报告;证据不足不得宣称"已打开"。最小委派上下文:
使用 html-show 生成或更新 HTML Preview。
源文档: <document-path>
向用户报告,第一行给一句话结论,最后一行给唯一的下一步动作(如"打开 Preview,重点审阅 <区域>"):
preview_pathdoc_typemode: create | updatevisualization_typecheck_resultopen_result(仅当执行了打开;结构见 html-show-contract.md 送达验证分级)若 subagent 返回 required_doc_updates,明确说明 Preview 不能代替源文档承载这些语义变更。
.. 或源文件不存在open_result.status=failed)发生失败时保留已生成文件,报告原因和路径;不得绕过契约或伪报成功。
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (timzaak/web-dev-skills) — no native marketplace selected
npx claudepluginhub p/timzaak-t-tools34 skills in this plugin
/t-decisionDecide whether a feature should enter the t-tools workflow before tech research or PRD./t-designGenerate technical design documents including API design, database schema, and implementation details for a feature./t-design-checkEvaluate technical design documents for implementability, completeness, and consistency with a quantitative 100-point score./t-docGenerate human-readable project documentation — tutorials, getting-started guides, architecture overviews, API references, deployment or onboarding docs — by scanning the codebase for real facts. Output prefers an existing docs-web site over docs/tutorials/. Use when the user asks to write project docs, tutorials, guides, onboarding material, or a module walkthrough. Not for PRDs, technical designs, or API schema generation./t-extension-demo-accept独立验收 Chrome 扩展真实加载后的 Playwright 用户故事演示并汇总报告;普通 Web 页面演示使用 t-web-demo-accept。Other plugins' skills for the same job