Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

html-visualHTML visual 搜索

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

4,343

周安装

174

GitHub Stars

7

下载量

1,406
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:html-visual(HTML visual 搜索)
来源仓库:https://github.com/2ykwang/agent-skills
仓库路径:skills/html-visual
安装命令:
npx skills add https://github.com/2ykwang/agent-skills --skill html-visual
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/2ykwang/agent-skills --skill html-visual

简介

用于优化 HTML 页面的视觉设计与交互体验,提升界面可用性。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中审查排版、配色与组件层级。
  • 通过 GitHub 仓库安装,需结合现有设计系统实施改动。
  • 不应堆砌装饰元素,应以用户任务为核心调整结构。
  • 建议通过浏览器预览检查文本溢出与响应式表现。

SKILL.md

Input

$ARGUMENTS

Instructions

Visualize the user's request as an interactive single HTML file. First, read references/common-rules.md to review common rules.

Type Determination

Determine the type from the first argument ($0).

ArgumentTypeFilename Pattern
mockupUI mockup (high-fidelity)mockup-{name}.html
wireframeWireframe (low-fidelity, hand-drawn style)wireframe-{name}.html
erdERDerd-{name}.html
flowFlowchart / Sequence diagramflow-{name}.html
chartData chartchart-{name}.html
slidesPresentationslides-{name}.html
archArchitecture diagramarch-{name}.html
dashboardComposite dashboarddashboard-{name}.html
timelineTimeline / Gantt charttimeline-{name}.html
mindmapMindmapmindmap-{name}.html
kanbanKanban boardkanban-{name}.html
tableInteractive data tabletable-{name}.html

No match: Infer the type from the request content. If unable to infer, ask the user. When inferred, use visual-{name}.html as the filename.

{name} rule: Extract the core noun from the request and convert to kebab-case. e.g., "user login form" → login-form, "payment flow" → payment-flow.

Input Handling

  • File path provided: Read and analyze the file, then visualize. e.g., /html-visual erd schema.prisma → Analyze the Prisma schema to auto-generate ERD
  • Existing HTML modification: Read and modify the existing file. Do not recreate from scratch.
  • Natural language only: Infer the type, then generate.

Context Gathering

  • Description is sufficient: Generate immediately (e.g., "simple login form mockup")
  • Project code reference needed: Read code/schema/API first (e.g., "our project's ERD", "current payment flow")
  • Criterion: If the request contains project context references like "our", "current", "project's", read the code first.

Type-Specific Guides

mockup

  • Device frame: Actual device frame shape for mobile/tablet UI
  • Multiple screens: Side-by-side layout + screen labels
  • Placeholder data: Realistic data matching project context
  • Tab/swipe for screen transitions

wireframe

  • Hand-drawn (sketch) style: Slightly irregular lines, hand-drawn feel
  • Black-and-white or grayscale. Minimal color
  • Text areas shown as gray blocks (no "Lorem ipsum")
  • Focus on layout and information structure, exclude visual details

erd

  • Entity boxes with attribute lists. Distinguish PK/FK
  • Relationship lines: 1:1, 1:N, N:M notation. Auto-track on node drag
  • Include relationship type legend

flow

  • Node types: Start/End (circle), Process (rectangle), Decision (diamond)
  • Directional arrows. Auto-track on node drag
  • Display branch conditions on connection lines

chart

  • Auto-select appropriate chart type for the data (bar, line, pie, scatter, etc.)
  • Axis labels + units, hover tooltips, legend
  • Use Chart.js or D3.js

slides

  • Reveal.js CDN-based
  • Slide transition animations
  • Code block highlighting (highlight.js)
  • Speaker notes support (toggle with S key)

arch

  • Separate system components by layer/zone (Frontend / Backend / DB / External)
  • Label communication lines with protocols (HTTP, gRPC, pub/sub, etc.)
  • Zoom/pan support
  • D3.js force-directed or direct SVG generation

dashboard

  • Arrange multiple charts/metrics in grid layout
  • KPI cards at the top (numbers + change rates)
  • Cross-chart interaction: Click one → filter others

timeline

  • Horizontal or vertical timeline
  • Event nodes + date labels
  • Zoom/scroll for period navigation
  • Use Mermaid gantt or D3.js

mindmap

  • Radial expansion from center node
  • Node collapse/expand
  • Use Mermaid mindmap or direct SVG generation

kanban

  • Columns: TODO / In Progress / Done (customizable)
  • Drag and drop cards between columns
  • Display labels/tags on cards

table

  • Sort by clicking column headers (ascending/descending)
  • Search/filter at the top
  • Pagination or virtual scroll
  • Cell highlight, row selection

Procedure

  1. Identify type + target. Ask if ambiguous. Read the file if a path is provided.
  2. Context gathering decision. Determine if project context is needed. If so, read relevant code/docs.
  3. Read references/common-rules.md. Review common principles, aesthetics, CDN, and error prevention rules.
  4. Read references/html-boilerplate.md. Start from the base HTML template.
  5. Generate HTML following the type-specific guide.
  6. Validate: Review the generated HTML.

- No smart quotes (curly quotes) in HTML attributes - No unclosed tags - No overlapping nodes/elements - If issues found, fix and re-validate

  1. Instruct to open {filename}.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.68%
按下载量换算474

Claude

31.87%
按下载量换算448

Cursor

19.16%
按下载量换算269

Gemini CLI

8.45%
按下载量换算119

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills