Token导航 LogoToken导航

Agent Skill · 前端设计

html-generator(HTML 生成器)

html-generator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

html-generator 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 4,101。

总安装 998周安装 42GitHub Stars 23下载 349核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/camoa/claude-skills --skill html-generator

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

html-generator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。

通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限与维护状态。使用时应注意是否会触发联网、命令执行或文件读写操作。建议结合原始 README 核验具体用法和功能边界。

来源仓库内路径:skills/html-generator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/camoa/claude-skills --skill html-generator;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

html-generator 怎么安装?

在终端执行 npx skills add https://github.com/camoa/claude-skills --skill html-generator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

html-generator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

html-generator 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

html-generator 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

html-generator 用的人多吗?

公开数据是累计安装 998 次,近一周安装 42 次,下载 349 次,GitHub 23 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

html-generator 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
html-generator

HTML 生成器 · 本页

99823操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

HTML Generator Skill

Create distinctive, branded HTML pages and standalone components from a design system.

The Critical Understanding

HTML page creation is design-system-driven composition, not template filling. Each component is a standalone design artifact that works independently AND as part of a composed page. Every section should feel crafted by a senior designer — intentional, distinctive, unforgettable.

What you receive: A design system (canvas-philosophy.md + design-system.md) with design tokens, component catalog, and brand identity. What you create: Standalone HTML components + a composed single-file HTML page. The standard: Work that makes the viewer stop scrolling. Bold, distinctive, never generic.


When Called

This skill is invoked by /html-page and /html-page-quick commands. It receives:

  1. Design system files — canvas-philosophy.md + design-system.md from the project
  2. Brand philosophy — brand-philosophy.md (or sub-identity overrides)
  3. Component selections — which components to include (hero, features, CTA, etc.)
  4. Existing components — any reusable components from components/ directory
  5. Content — text, headings, descriptions for each section
  6. Style constraints — from references/web-style-constraints.md

Two Output Modes

Mode 1: Component Generation

Generate individual standalone components. Each component:

  • Is a complete HTML fragment with embedded <style>
  • References design tokens via CSS custom properties
  • Includes prop/slot metadata comments for future conversion
  • Can be viewed independently in a browser (with token fallback values)

Mode 2: Page Composition

Assemble components into a single .html file:

  • Shared CSS custom properties (design tokens) in :root
  • Responsive wrapper with meta viewport
  • Components assembled in order with consistent spacing
  • Navigation at top, footer at bottom
  • Single embedded <style> block (deduplicated from components)
  • Minimal <script> when style requires it (scroll triggers, parallax)

Part 1: Design Thinking Process

Before writing any HTML, internalize the design system:

  1. Verify brand exists — if no design-system.md in the project, STOP and suggest /design-html first. If no brand-philosophy.md, suggest /brand-extract first. Never proceed with default/example values.
  2. Read the canvas philosophy — absorb its aesthetic movement, not just rules
  3. Load design tokens — colors, fonts, spacing become CSS custom properties
  4. Understand the style — read enforcement blocks from references/web-style-constraints.md
  5. Consider the content — what is the page's purpose? Who sees it? What should they feel?
  6. Plan differentiation — what makes THIS page visually memorable vs. generic?

The Differentiation Test

Before generating, ask: "Could this page belong to any brand?" If yes, push harder. Then ask: "What is the ONE thing someone will remember about this page?" — a dramatic type scale, a surprising color moment, an unexpected layout break. If you cannot name it, the design is not distinctive enough.

Incorporate:

  • The canvas philosophy's unique movement name and spirit
  • Unexpected layout choices (asymmetry, overlap, grid-breaking)
  • Typography as art (size contrasts, weight mixing, letter-spacing play)
  • Atmosphere (gradient meshes, noise textures, patterns, shadows with depth)
  • The brand's personality expressed through micro-interactions (hover states, transitions)

Intentionality Over Intensity

Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and layered effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details. The key is intentionality, not intensity — a Swiss design executed with mathematical precision is as powerful as a Memphis design executed with wild energy. Never apply "bold" uniformly; calibrate to the style.


Part 2: Brand Integration

Design Tokens → CSS Custom Properties

Read the project's design-system.md and map ALL token sections to :root custom properties. This includes:

  • Colors — --color-primary, --color-secondary, --color-accent, --color-bg, --color-bg-alt, --color-text, --color-text-muted
  • Typography — --font-heading, --font-body, --font-size-* scale
  • Spacing — --space-xs through --space-2xl
  • Layout — --max-width, --border-radius, --min-tap-target
  • Interaction — --timing-fast, --timing-base, --timing-slow, --easing-default
  • Forms (if page has forms) — --color-error, --color-success, field/label/error styling

The design-system.md is the single source of truth for all token values. Do not hardcode values — read them from the file.

Brand Bias Prevention

Before generating any HTML, verify:

□ All colors use CSS custom properties from design-system.md (--color-primary, etc.)
□ No hardcoded hex values except #FFFFFF/#000000 for universal black/white
□ font-family from design-system.md, never "Inter", "Roboto", or "Arial" as defaults
□ If no design-system.md exists: STOP, suggest /design-html first
□ Background colors, accent colors, text colors all traced to design tokens

Never copy hex codes or font names from reference file examples into generated HTML. All visual values must flow from: design-system.md → CSS custom properties → component styles.

Color Dominance Principle

Dominant colors with sharp accents outperform timid, evenly-distributed palettes. Use --color-primary as the dominant voice (headings, CTAs, navigation active states), --color-accent as the sharp punctuation (links, hover states, highlights), and let --color-bg and --color-text do the quiet structural work. If the palette feels "even" — one color is not leading — push the primary harder or pull the secondary back.

Font Loading

Use Google Fonts via <link> with system font fallback stack:

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=FontName:wght@300;400;500;600;700&display=swap" rel="stylesheet">

Choose DISTINCTIVE fonts — never default to Inter, Roboto, or Arial. Every design system deserves fonts that match its personality.


Part 3: Component Generation

Rules for Every Component

  1. Standalone validity — each component works as a standalone HTML file
  2. Shared tokens — all components reference the same CSS custom property names
  3. Consistent naming — {type}-{variant}.html (e.g., hero-centered.html)
  4. Prop/slot metadata — HTML comments marking content insertion points
  5. Responsive — mobile-first, works at all 3 breakpoints
  6. Accessible — semantic HTML, ARIA labels where needed, focus management
  7. Interactive states — every clickable/tappable element must define hover, focus, and active styles using the interaction tokens from design-system.md
  8. Touch-ready — interactive elements meet --min-tap-target size with adequate spacing

Metadata Comments Format (MANDATORY)

Every component MUST include conversion-ready metadata comments. These enable automated conversion to Drupal SDC, React, and other frameworks. Without them, the design-system-converter cannot identify components, props, or slots.

Component boundaries — wrap the entire component:

<!-- component: hero variant: centered -->
<section class="hero">
  ...
</section>
<!-- /component: hero -->

Props — place immediately BEFORE the element they annotate:

<!-- prop: headline type: string -->
<h1 class="hero__title">Your Headline</h1>

<!-- prop: show-badge type: boolean -->

Slots — wrap repeating or insertable content areas:

<!-- slot: features -->
<div class="feature-grid__list">
  <div class="feature-grid__item">
    <!-- prop: feature-title type: string -->
    <h3>Feature Title</h3>
    <!-- prop: feature-description type: string -->
    <p>Description</p>
  </div>
</div>
<!-- /slot: features -->

Icons — place before SVG elements:

<!-- icon: rocket -->
<svg>...</svg>

Supported prop types: string, boolean

These comments MUST appear in both standalone components AND composed pages. See Part 10 for preservation rules during page composition.

Component CSS Pattern

Each component scopes its styles using BEM-like class naming:

.hero { /* component root */ }
.hero__title { /* element */ }
.hero__title--large { /* modifier */ }

Components reference design tokens (not hardcoded values):

.hero {
  background: var(--color-bg);
  color: var(--color-text);
  padding: var(--space-xl) var(--space-md);
  font-family: var(--font-body);
}

Part 3.5: Icon Integration

Lucide icons (1,500+ icons) are available as inline SVG via a CLI script.

Fetching Icons

# Get inline SVG for one or more icons
node "$BRAND_CONTENT_DESIGN_DIR/scripts/html-icons.js" get rocket lightbulb shield

# Search by keyword
node "$BRAND_CONTENT_DESIGN_DIR/scripts/html-icons.js" search chart

# List icons in a category
node "$BRAND_CONTENT_DESIGN_DIR/scripts/html-icons.js" category business

# List all categories
node "$BRAND_CONTENT_DESIGN_DIR/scripts/html-icons.js" categories

The get command outputs each SVG on its own line prefixed with <!-- icon: {name} -->.

Embedding Pattern

Icons use currentColor for stroke and inherit size from the parent container:

<div class="feature-grid__icon" aria-hidden="true">
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
    fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
    <!-- paths from script output -->
  </svg>
</div>

CSS Styling

Control icon size and color through the container:

.feature-grid__icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
}
.feature-grid__icon svg {
  width: 100%;
  height: 100%;
}

When to Use Icons

  • Use icons when a clear visual metaphor exists (rocket for launch, shield for security)
  • Pair icons with text labels — never use icons alone for meaning
  • Skip icons when no good match exists; forced icons weaken the design

Accessibility

  • Decorative icons (paired with text): aria-hidden="true" on the SVG
  • Meaningful icons (convey info alone): role="img" aria-label="Description" on the SVG

Part 4: Style Enforcement

Read references/web-style-constraints.md for the selected style and enforce:

  • Per-section limits — word counts, element counts per section
  • Spacing values — padding, margin ranges in CSS units
  • Typography rules — weights, sizes, letter-spacing
  • Color strategy — how many colors, contrast requirements
  • Layout directives — CSS Grid/Flexbox patterns required
  • JS allowance — which styles allow/require minimal JavaScript
  • Anti-patterns — what NEVER to do with this style

Read the enforcement block and apply it to every component and composed page.


Part 5: Responsive Design

Mobile-first approach with 3 breakpoints:

/* Mobile: 375px (default) */
.component { /* base mobile styles */ }

/* Tablet: 768px */
@media (min-width: 768px) {
  .component { /* tablet overrides */ }
}

/* Desktop: 1200px */
@media (min-width: 1200px) {
  .component { /* desktop overrides */ }
}

Responsive Patterns

  • Navigation: Hamburger on mobile → horizontal on desktop
  • Hero: Stacked on mobile → side-by-side on desktop
  • Grids: 1 col mobile → 2 col tablet → 3-4 col desktop
  • Typography: Scale down 15-20% on mobile
  • Spacing: Reduce section padding 30-40% on mobile
  • Images: Full-width on mobile, constrained on desktop

Part 6: CSS-First Interactivity

Prefer CSS solutions. Use JS only when CSS cannot achieve the effect.

Motion Hierarchy

Focus the motion budget on one high-impact moment per page. One well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions on every element. Decide: is it the hero entrance, the stats counting up, or the card grid cascading in? Pick one, make it great, and keep the rest subtle.

CSS-Only Patterns

  • Hover effects: transform, box-shadow, opacity transitions
  • Accordions: <details> + <summary> elements
  • Scroll snap: scroll-snap-type for carousel-like sections
  • Animations: @keyframes for loading, reveals, decorative motion
  • Smooth scroll: scroll-behavior: smooth
  • Focus states: :focus-visible with custom outlines

Minimal JS (When Required by Style)

Some styles (Kinetic, 3D/Immersive, Parallax effects) need vanilla JS:

// Intersection Observer for scroll reveals
const observer = new IntersectionObserver((entries) => {
  entries.forEach(entry => {
    if (entry.isIntersecting) {
      entry.target.classList.add('revealed');
    }
  });
}, { threshold: 0.1 });

document.querySelectorAll('[data-reveal]').forEach(el => observer.observe(el));

Rules for JS:

  • Vanilla JS only — no frameworks, no jQuery, no build tools
  • Progressive enhancement — page works without JS
  • Respect prefers-reduced-motion — disable animations when set
  • Minimal footprint — under 50 lines when possible

Part 7: Typography as Art

Typography is the primary design tool for HTML pages. Make bold choices:

Font Pairing Strategy

  • Heading + Body: Contrasting but harmonious (serif heading + sans body, or vice versa)
  • Weight contrast: Use the full weight range (300-900) for hierarchy
  • Size contrast: Headlines should be DRAMATICALLY larger than body (3x-6x)
  • Letter-spacing: Loose for uppercase headings, tight for large display text
  • Line-height: Generous for body (1.6-1.8), tighter for headlines (1.0-1.2)

Never Use

  • Inter, Roboto, Arial, Helvetica (unless the brand specifically uses them or the style's Visual DNA specifies them)
  • System font stack alone (always include a distinctive Google Font)
  • Single weight throughout (exploit the full weight range)
  • Uniform sizing (create dramatic scale contrast)

Anti-Convergence

NEVER converge on the same font choices across different page generations. If you generated a page with Space Grotesk last time, pick a different font this time. Each design system and page should feel independently designed. Vary display fonts, body fonts, weight distributions, and size scales between projects. The goal: if someone lined up 10 generated pages, they should look like they came from 10 different designers.


Part 8: Spatial Composition

Layout Philosophy

  • Asymmetry over symmetry — perfect symmetry is boring; controlled asymmetry creates energy
  • Overlap and layering — elements can overlap (images behind text, decorative shapes)
  • Grid-breaking — establish a grid, then intentionally break it for key moments
  • Generous negative space — sections breathe with var(--space-xl) to var(--space-2xl) padding
  • Full-bleed moments — some sections should break out of the max-width container

Background & Atmosphere

  • Gradient meshes — multi-stop gradients for depth (background: linear-gradient(135deg,...))
  • Noise/grain textures — subtle SVG noise for tactile quality
  • Geometric patterns — CSS-generated shapes, clip-paths for visual interest
  • Depth through shadow — layered box-shadow for elevation
  • Color blocking — alternating section backgrounds for rhythm

Part 9: Accessibility (MANDATORY)

Every generated page MUST pass these checks:

Requirements

  • Semantic HTML5: <header>, <nav>, <main>, <section>, <article>, <footer>
  • Heading hierarchy: h1 → h2 → h3, no skipping levels
  • Skip navigation: Hidden link to main content
  • WCAG AA contrast: 4.5:1 for normal text, 3:1 for large text
  • Focus indicators: Visible :focus-visible on all interactive elements
  • Alt text: Descriptive alt text on images (or placeholder comments)
  • ARIA labels: On navigation, landmarks, interactive elements
  • Reduced motion: @media (prefers-reduced-motion: reduce) disables animations
  • Language attribute: <html lang="en">
  • Viewport meta: <meta name="viewport" content="width=device-width, initial-scale=1">

Neumorphism Warning

When using Neumorphism style, DOUBLE-CHECK contrast ratios. Soft shadows on similar backgrounds risk failing WCAG AA. Add explicit borders or increase shadow contrast if needed.


Part 10: Page Composition

When assembling components into a full page, every component section MUST retain its metadata comments. This is the most critical requirement for framework convertibility.

Metadata Preservation (CRITICAL — ENFORCE STRICTLY)

Rules:

  • Place <!-- component: type variant: variant --> BEFORE the component's outermost HTML element
  • Place <!-- /component: type --> AFTER the component's closing tag
  • Place <!-- prop: name type: type --> immediately BEFORE the element it annotates
  • Place <!-- slot: name --> / <!-- /slot: name --> around slot content areas
  • Do NOT strip, summarize, or simplify metadata during page assembly
  • Do NOT replace metadata with section divider comments like <!-- Navigation --> or <!-- ====== HERO ====== -->

Complete composed page structure:

<body>
  <a href="#main" class="skip-link">Skip to main content</a>

  <!-- component: nav variant: sticky -->
  <header class="nav" role="banner">
    <!-- prop: site-name type: string -->
    <span class="nav__name">Site Name</span>
    <!-- slot: menu -->
    <nav role="navigation" aria-label="Main navigation">
      <a href="#">Home</a>
    </nav>
    <!-- /slot: menu -->
  </header>
  <!-- /component: nav -->

  <main id="main">
    <!-- component: hero variant: centered -->
    <section class="hero">
      <!-- prop: headline type: string -->
      <h1 class="hero__title">Page Title</h1>
      <!-- prop: subheadline type: string -->
      <p class="hero__subtitle">Subtitle text</p>
    </section>
    <!-- /component: hero -->

    <!-- component: article-card-grid variant: 3-col -->
    <section class="card-grid">
      <!-- prop: section-title type: string -->
      <h2>Latest Articles</h2>
      <!-- slot: cards -->
      <div class="card-grid__list">
        <article class="card">
          <!-- prop: card-image type: string -->
          <img src="image.jpg" alt="Article">
          <!-- prop: card-title type: string -->
          <h3>Card Title</h3>
          <!-- prop: card-excerpt type: string -->
          <p>Excerpt text</p>
        </article>
      </div>
      <!-- /slot: cards -->
    </section>
    <!-- /component: article-card-grid -->
  </main>

  <!-- component: footer variant: simple -->
  <footer class="footer" role="contentinfo">
    <!-- prop: copyright type: string -->
    <p>&copy; 2026 Brand Name</p>
  </footer>
  <!-- /component: footer -->
</body>

Every component in the page must have opening and closing component markers. No exceptions.

Also see references/html-technical.md for the full HTML boilerplate and additional technical specs.

CSS Organization in Composed Page

  1. CSS Reset — minimal reset (box-sizing, margin:0, img max-width)
  2. Design Tokens — :root custom properties
  3. Base Typography — body, headings, links, paragraphs
  4. Utility classes — .container, .sr-only, .skip-link
  5. Component styles — each component's CSS block, deduplicated

Section Spacing

  • Consistent section padding: var(--space-xl) 0 (desktop), var(--space-lg) 0 (mobile)
  • Alternating backgrounds for visual rhythm
  • No visible borders between sections (spacing and color changes create separation)

Part 11: Image Handling

Since Claude cannot generate actual images, use smart placeholders:

CSS Gradient Placeholders

.hero__image-placeholder {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  aspect-ratio: 16/9;
  border-radius: var(--border-radius);
  /* Replace with actual image:
     background: url('your-image.jpg') center/cover; */
}

Placeholder Strategy

  • Use CSS gradients that match the brand palette
  • Add aspect-ratio to maintain proportions
  • Include HTML comments with image replacement instructions
  • Use decorative CSS patterns (stripes, dots, shapes) for variety
  • For team photos: use initials or icon placeholders

Part 12: Convertibility Structure

Design components for future conversion to Drupal SDC, React, Canvas, and other frameworks. The metadata comments from Part 3 and Part 10 are what make conversion possible.

How Metadata Maps to Frameworks

HTML MetadataDrupal SDCReactTwig
<!-- component: hero -->Component directory nameComponent file nameTemplate name
<!-- prop: headline type: string -->props.headline in schemaprops.headline{{headline}}
<!-- prop: featured type: boolean -->Boolean propConditional render{% if featured %}
<!-- slot: content -->{% block content %}children{% block content %}
<!-- /component: hero -->Template boundaryComponent boundaryTemplate boundary
CSS custom propertiesSCSS variablesTheme tokensTwig with attach_library

Naming Conventions

  • Components use semantic names: hero, feature-grid, testimonials, cta
  • CSS classes use BEM: .hero__title, .feature-grid__item
  • CSS custom properties for all brand values (map to SCSS variables, CSS modules)
  • Data attributes for behavioral hooks: data-reveal, data-parallax

Anti-Patterns (NEVER)

  • No CSS frameworks — no Bootstrap, Tailwind, Foundation in output
  • No external JS — no jQuery, React, Alpine, HTMX in output
  • No broken images — use CSS placeholders, never <img src="missing.jpg">
  • No AI slop — avoid generic stock photo aesthetics, overused gradients, cliched layouts
  • No wall of text — respect per-section word limits from style constraints
  • No inline styles — all CSS in <style> block (except CSS custom property overrides)
  • No pixel units for typography — use rem/em for accessibility
  • No frameworks in font loading — Google Fonts <link> only

References

Bundled (Plugin-Specific)

Load these reference files when generating:

  • references/html-design-guide.md — Design system philosophy and content type guide
  • references/web-style-constraints.md — 21 style enforcement blocks for web
  • references/html-components.md — 15 component types with HTML/CSS patterns
  • references/html-technical.md — Technical specs, boilerplate, file format

Online Dev-Guides (Design Systems)

For design system fundamentals beyond this plugin's visual styles, use the dev-guides-navigator plugin:

Invoke /dev-guides-navigator with keywords like "design system recognition", "Bootstrap mapping", "Radix SDC", or "component classification". The navigator handles caching and disambiguation — never fetch dev-guides URLs directly.

平台分布

Codex

36.87%
按下载量换算129

Claude

31.98%
按下载量换算112

Cursor

17.47%
按下载量换算61

Gemini CLI

10.08%
按下载量换算35

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

继续浏览同类 Skills