html

GitHub

用于生成或重设计自包含的单文件HTML工件。作为隐式路由器,根据需求路由至线框图、原型、计划或图表技能;若无专用技能,则直接创建报告、落地页、工具等综合型HTML内容。

skills/html/SKILL.md plannotator/effective-html

触发场景

需要生成单文件HTML报告或解释器 请求制作着陆页或演示文稿 创建交互式工具或数据故事 未指定特定子技能的综合HTML需求

安装

npx skills add plannotator/effective-html --skill html -g -y
更多选项

不安装直接使用

npx skills use plannotator/effective-html@html

指定 Agent (Claude Code)

npx skills add plannotator/effective-html --skill html -a claude-code -g -y

安装 repo 全部 skill

npx skills add plannotator/effective-html --all -g -y

预览 repo 内 skill

npx skills add plannotator/effective-html --list

SKILL.md

Frontmatter
{
    "name": "html",
    "description": "Create or redesign self-contained single-file HTML artifacts with a visual direction shaped by the user's brief, project, and subject. Use when HTML is the deliverable for a report, explainer, landing page, presentation, tool, mixed artifact, or broad request. This is the collection's only implicit router. Route clear wireframe, prototype, mockup, plan, or diagram requests to the matching direct-invocation specialist when available. Do not use for ordinary application implementation when a standalone HTML file is not the deliverable."
}

HTML

Build one self-contained HTML file that makes the subject clearer, easier to use, or easier to understand. The standard is consistent care, not a consistent look. Do not reproduce a house palette, typography stack, card system, or layout from prior runs.

Route the request first

Use the narrowest skill that owns the main review question:

  • Read and follow html-wireframe when structure, information hierarchy, navigation, or task flow is still unsettled. It should remain visibly low fidelity and may compare two or three layout directions.
  • Read and follow html-prototype when the user needs a polished mockup or a working interactive flow. A mockup is the static fidelity mode inside that skill.
  • Read and follow html-plan when the artifact is primarily a plan, roadmap, implementation sequence, or rollout document whose source commitments must remain easy to verify.
  • Read and follow html-diagram when relationships, sequence, topology, state, hierarchy, or system behavior are the main content.
  • Continue with html for reports, explainers, presentations, landing pages, data stories, tools, and mixed artifacts that do not have a clearer owner.

These sibling links are the nesting mechanism when the collection is installed together. If a specialized skill is unavailable, continue here and load the closest reference below. Do not make the user install another skill before completing the request.

Read the room before designing

Inspect the user's request and any material they supplied. When working in a repository, look for its design language in AGENTS.md, CLAUDE.md, design-system documentation, tokens, existing components, and nearby artifacts.

Authority runs in this order:

  1. The user's explicit visual and functional instructions.
  2. The project's established design system and conventions.
  3. The subject matter, audience, and purpose of this artifact.
  4. Your own design judgment.

Before coding, settle five things in working notes:

  • Audience and job: who will use this, and what should they understand or do?
  • Form: document, presentation, interface, diagram, or data visualization.
  • Register: quiet and workmanlike, polished and editorial, or intentionally expressive.
  • Fidelity: whether to preserve the user's structure and wording or synthesize more freely.
  • Interaction: what benefits from exploration, sequencing, filtering, or motion, if anything.

If the project already answers the visual questions, follow it. Otherwise read references/creative-direction.md before choosing the palette, type, composition, or motion.

Load only the guidance the artifact needs

Requests can span forms. Read every reference that materially applies, then give the artifact one coherent direction.

Build contract

  • Produce one .html file with its essential CSS and JavaScript inline. It should work when opened directly, without a build step. Do not require a network connection unless the user permits external dependencies.
  • Use real content. Do not fill prominent space with placeholder copy, decorative statistics, or controls that do nothing.
  • Let content determine structure. A sequence should read in order; a comparison should make differences easy to scan; an interface should expose state and actions; a diagram should make relationships legible.
  • Use semantic HTML, responsive layout, accessible contrast, visible keyboard focus, and reduced-motion handling. Make interactive elements work with a keyboard.
  • Keep the page body free of accidental horizontal overflow. Put intentionally broad content in a contained scrolling or pannable region.
  • Define a small set of CSS tokens for the chosen direction and use them consistently. Tokens are an implementation tool, not a predetermined palette.
  • Treat motion as explanation or feedback. If removing an animation loses no meaning or useful feedback, remove it.
  • Follow the user's or project's theme policy. When none exists, give durable utility artifacts considered light and dark themes if that improves their use. A deliberate single-theme concept is valid.

Finish the work

Write the file to the requested location, or choose a clear filename in the current workspace. When browser tooling is available, open it and inspect a wide and narrow viewport. Exercise its controls, check the console, and fix clipping, overlap, illegible text, broken states, and accidental overflow.

Before delivery, run one originality check: if the subject were swapped for a neighboring topic, would the same visual concept still make just as much sense? If yes, the direction is too generic; revise the composition, type, color, imagery, or interaction so it belongs to this subject.

Return the absolute path and a short description of the artifact's visual and interaction choices.

版本历史

  • 9982ad0 当前 2026-07-31 06:50

    新增html-wireframe、html-prototype、html-plan和html-diagram四个专业子技能,建立层级路由机制以统一HTML技能集的设计逻辑。

  • 50260e1 2026-07-05 14:36

同 Skill 集合

skills/html-diagram/SKILL.md
skills/html-plan/SKILL.md
skills/html-prototype/SKILL.md
skills/html-wireframe/SKILL.md

元信息

文件数
0
版本
4a9a1e5
Hash
c05e3976
收录时间
2026-07-05 14:36

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-02 11:00
浙ICP备14020137号-1 $访客地图$