← 返回 Skills 市场
fuller-stack-dev

Make Html

作者 Jason (Json) · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
42
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install make-html
功能描述
Aggressively produce self-contained HTML artifacts instead of Markdown for substantial agent outputs. Use when the user asks for a doc, plan, spec, report, r...
使用说明 (SKILL.md)

Make HTML

Default Posture

Make an HTML artifact for substantial deliverables. When in doubt, use HTML. Markdown and plain chat are fallbacks for brief exchanges, not the default for work a human needs to read, compare, present, share, or manipulate.

Usually produce a single self-contained .html file. If the environment cannot create files, output the complete HTML document in one fenced html block and name the intended filename.

Do not ask permission to use HTML unless the user requested a conflicting output format.

Use the strongest version of the medium. Do not wrap a Markdown-shaped answer in HTML. If the content is a comparison, make it comparable. If it is a timeline, draw a timeline. If it is a diagram, draw the diagram. If it is an editor, make the export path central.

Workflow

  1. Classify the job shape: comparison, plan, review, code map, explainer, report, dashboard, diagram, deck, prototype, or editor.
  2. Read the relevant reference file:
    • references/recognition.md when deciding whether the task deserves HTML.
    • references/artifact-patterns.md for static or mostly static documents.
    • references/interaction-patterns.md for prototypes, explainers, dashboards, and editors.
    • references/visual-quality.md before writing the final artifact structure and styling.
    • references/validation.md before returning any nontrivial artifact, especially artifacts with JavaScript, SVG, tables, diagrams, or dense responsive layouts.
    • references/source-style.md when the artifact is about an existing product, repository, brand, app, docs site, or design system.
    • references/custom-themes.md when the user asks for a saved/custom/personal theme, when a theme name is provided, or when no source style exists and themes/ contains a default or clearly matching theme.
    • themes/fallback-theme.md when no source/project style can be found after a quick style search, or when the artifact has no natural brand.
    • references/example-layout-catalog.md when the task resembles one of the HTML-effectiveness example pages, or when choosing a specific style, layout, or interaction recipe.
    • Read multiple references when the artifact spans categories, such as a plan with mockups and a flowchart.
  3. Resolve style provenance before writing CSS: source-backed style with concrete files/tokens, an explicitly selected saved theme, or the built-in fallback theme. Do not invent an unlabeled generic theme between these choices.
  4. Choose a page structure that makes the shape of the information obvious. Prefer side-by-side layouts, timelines, maps, tables, diagrams, controls, and navigation over long linear prose.
  5. Write a complete HTML5 document with inline CSS and, when useful, inline JavaScript.
  6. For editor-style artifacts, include a visible export path such as copy as Markdown, copy as JSON, copy diff, copy prompt, or download file.
  7. Include enough source excerpts, labels, assumptions, and style provenance inside the page for the artifact to stand alone.
  8. Validate the artifact before returning it. At minimum, check self-containment, required HTML tags, dynamic render output when JavaScript is present, and narrow-viewport behavior.

Universal Requirements

  • Use one self-contained .html file by default.
  • Include \x3C!doctype html>, \x3Chtml lang="en">, \x3Cmeta charset="utf-8">, a viewport meta tag, and a meaningful \x3Ctitle>.
  • Put CSS in a \x3Cstyle> block and JavaScript in a \x3Cscript> block. Do not require a bundler, package install, or build step.
  • Work offline by default. Do not require network calls, remote fonts, CDN scripts, or external stylesheets for the artifact to render. Use inline SVG, inline data, and data URIs when assets are necessary.
  • Prefer semantic HTML: header, main, section, article, nav, aside, table, details, button, label, and form controls where they fit.
  • Use inline SVG, canvas, CSS, and native controls freely when they make the artifact clearer.
  • Make the page responsive. It should remain readable on narrow screens without page-level horizontal scrolling. Intentional horizontal scrolling is acceptable only inside bounded regions such as code blocks, dense tables, and large diagrams.
  • Chip-like UI must wrap instead of scrolling horizontally. This includes jump links, filter chips, segmented controls, badges, button groups, tag rows, and legends. Never hide these controls in a horizontal scroll strip.
  • Force long tokens to wrap where they appear in prose, callouts, badges, cells, and inline code. Local paths, URLs, branch names, hashes, commands, and long identifiers must not widen the whole page.
  • Do not size text with viewport units. Use explicit sizes plus media-query breakpoints so headings and labels fit predictably.
  • Use clear hierarchy and dense, scannable layout. Avoid filling the page with decorative shells that do not add meaning.
  • Styling precedence is: source/project style, explicitly requested saved theme, saved default or clearly matching theme, then fallback theme.
  • When claiming source/project style, the artifact must be backed by concrete style evidence such as CSS variables, theme config, UI component source, local screenshots, or product pages. Source content alone is not source style.
  • When no source style evidence is found, use themes/fallback-theme.md directly. Do not create a neutral light dashboard, generic docs UI, or model-invented palette as a substitute fallback.
  • Add a compact style provenance note in the artifact, usually in the footer or a source/evidence section: name the source files/tokens, saved theme, or fallback theme used.
  • Make state visible. Selected tabs, active filters, changed values, warnings, and recommendations should be obvious at a glance.
  • Selection state must be real. Tabs, chips, filters, segmented controls, nav pills, selected cards, and toggles must update their visual state and aria-selected, aria-pressed, or aria-current value when the user changes selection. Do not hard-code the first item as active unless it is the only possible state.
  • Make interactive controls discoverable and reversible. Sliders, toggles, filters, and editors should have labels and reset behavior when helpful.
  • For comparisons, keep options aligned so the reader can compare the same dimension across choices.
  • For reports and reviews, put the conclusion, recommendation, or highest-priority findings near the top.
  • For diagrams, add labels, legends, and short explanations near the visual rather than burying them below.
  • For diagrams, prefer lane-based or layered layouts with orthogonal or clearly routed arrows. Avoid crossing arrows; if crossings appear in a screenshot, redesign the layout rather than accepting it.
  • For decks, use one \x3Csection> per slide and keyboard navigation.
  • For design references and figure sheets, include copy controls for tokens, SVG, code, or parameters.
  • For code examples, prefer tabbed examples, collapsible detail, annotated snippets, or diff blocks over plain fenced-code styling. Code samples should feel like first-class artifacts.
  • Code blocks must remain readable: style inline code with :not(pre) > code, never a bare code selector, and reset pre code to transparent background, no border, inherited block color, inherited monospace font, and preserved whitespace.
  • For long artifacts, add jump links, tabs, filters, or collapsible sections instead of making the user scroll through a wall.

When Plain Chat Is Enough

Stay out of HTML only when the response is genuinely small or the user asked for a different format:

  • A short conversational answer.
  • A command or terminal-style response.
  • A single code snippet or config block.
  • A quick list that the reader will scan once.
  • An explicit request for Markdown, JSON, plain text, or another format.

If the output starts becoming a document, switch to HTML.

Artifact Families

Common outputs this skill should create:

  • Option comparison pages with aligned tradeoffs and a recommendation.
  • Implementation plans with milestones, data flow, key code, risks, and open questions.
  • PR or code review pages with annotated diffs, severity labels, and reviewer focus areas.
  • Module maps and architecture explainers with boxes, arrows, call paths, and entry points.
  • Design system references with colors, type, spacing, components, states, and copyable tokens.
  • Component variant sheets showing every state, size, intent, and edge case.
  • Animation or interaction prototypes with live controls and exported parameters.
  • Flowcharts, timelines, process maps, and SVG figure sheets.
  • Research or learning explainers with tabs, collapsible sections, glossary, diagrams, and live demos.
  • Status reports and incident reports with metric cards, timelines, impact, root cause, and action items.
  • Slide decks implemented as HTML sections with keyboard navigation.
  • Custom editors for triage, prioritization, config, prompts, datasets, annotations, copy, and structured content.

Output Conventions

When creating a file, use a short descriptive filename such as:

  • implementation-plan.html
  • pr-review.html
  • module-map.html
  • concept-explainer.html
  • incident-report.html
  • triage-editor.html
  • prompt-tuner.html

When returning the artifact, mention what was created and where it is. Keep the chat response brief; the HTML page is the deliverable.

安全使用建议
Install this if you want the agent to prefer polished browser-viewable HTML deliverables. Be explicit when you want plain chat, Markdown, JSON, or no file creation, because the skill is designed to activate broadly and save self-contained HTML artifacts by default.
能力评估
Purpose & Capability
The artifact consistently describes an HTML artifact-generation skill: self-contained HTML documents, inline CSS/JavaScript, visual layouts, diagrams, editors, and validation guidance all fit that purpose.
Instruction Scope
The activation language is intentionally broad and defaults ambiguous substantial outputs to HTML, so users may get HTML files for ordinary plans, reviews, summaries, or explanations unless they ask for another format.
Install Mechanism
The package contains Markdown skill instructions, references, and theme files only; no executable scripts, install hooks, dependencies, binaries, or privileged setup steps were present.
Credentials
The skill may inspect project style files and local skill theme files to style generated artifacts, but this is scoped to visual provenance and does not request credentials, account sessions, network services, or broad private indexing.
Persistence & Privilege
Creating a self-contained .html file by default and saving theme files when requested are persistent local changes, but they are disclosed and proportionate to the skill's artifact-generation purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install make-html
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /make-html 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
Require auditable style provenance and mandatory fallback theme use when source style is unavailable.
v1.0.1
Keep code blocks readable by scoping inline code styles and requiring pre code resets.
v1.0.0
Initial ClawHub publish.
元数据
Slug make-html
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Make Html 是什么?

Aggressively produce self-contained HTML artifacts instead of Markdown for substantial agent outputs. Use when the user asks for a doc, plan, spec, report, r... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 42 次。

如何安装 Make Html?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install make-html」即可一键安装,无需额外配置。

Make Html 是免费的吗?

是的,Make Html 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Make Html 支持哪些平台?

Make Html 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Make Html?

由 Jason (Json)(@fuller-stack-dev)开发并维护,当前版本 v1.0.2。

💬 留言讨论