网页制作

SKILL前端设计
前端设计 未标注权限 许可证不明确
安装这个技能

Turn a downloaded static site template (typical case - a 模板王/站长素材 style preview HTML plus its same-named _files asset folder, or any Bootstrap/jQuery one-pager zip) into a themed, content-personalised single-page site without rewriting the template. Covers asset reconnaissance, template anatomy mapping, colour-system override via an appended CSS skin layer, authoritative copy sourcing, inserting new sections (stat counters, timeline, media gallery, pull-quote, relation-card grid), scroll-interaction enhancement, safe batch link replacement, local video embedding, and headless-browser screenshot verification. Use when the user hands over a template HTML/zip and asks to remake it as a personal or topic home page, re-skin its colours, add sections, embed local videos, or restyle a Bootstrap-based one-pager.

一句话选型结论

按资料字段整理

网页制作是前端设计类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类前端设计 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_6b5657bb/wangyezhizuo
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

前端设计
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_6b5657bb仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791679461
正文体量12.4 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
出页面与组件

按描述生成页面结构和组件草稿。

调整样式与布局

改间距、配色与响应式布局。

生成设计说明

把设计稿整理成开发能接的说明。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在前端设计场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
网页制作当前 未标注权限 未标注 未标注 未标注 有
前端设计 只读 GitHub 仓库 882.3 万 Codex、Claude、Cursor 有
Vercel 组合模式 联网访问 GitHub 仓库 385.9 万 Codex、Claude、Cursor 有
Vercel React native skills 前端 只读 GitHub 仓库 246.9 万 Codex、Claude、Cursor 有
adapt 搜索 浏览器控制 GitHub 仓库 202.7 万 Codex、Claude、Cursor 有
使用我的浏览器 浏览器控制 GitHub 仓库 184.8 万 Codex、Claude、Cursor 有

SKILL.md 全文

12.4 KB
模型实际读到的说明书原文,来自技能仓库

Web Template Theming

Overview

Re-skin and extend an existing static-site template instead of rebuilding it. The template supplies
layout, grid, animations and JS behaviour; this skill supplies a colour override layer, a content
swap
, new sections, and interaction polish — all appended, so the original style.css /
script.js stay untouched and the change is reversible.

Core rule: override, never rewrite. Every visual change goes into one appended <style> block that
loads after the template's own CSS; every content change is a targeted string replacement, never a
hand-retyped block.

When to use

Use when the user supplies a template (HTML file, or a zip whose root holds a preview HTML plus
<name>_files/) and wants any of:

  • a personal / topic / character / product home page built on that template
  • a different colour scheme from the template's default
  • extra sections (stats, timeline, video gallery, quote strip, relation grid) inserted into it
  • local images or videos embedded into it
  • the template's demo copy replaced with real content

When not to use

  • The user wants a page built from scratch with no template → build it directly instead.
  • The user only wants a small text edit → just edit the file.
  • The template is a JS-framework SPA (React/Vue build output) → out of scope; only use this skill for
    plain HTML + CSS/JS templates.

Core principles

  1. Append, don't rewrite. Add one <style> block after the last template <link> and one <script>
    after the last template <script>. Never edit style.css / script.js in place — the user may want
    the original behaviour back, and in-place edits make diffs unreviewable.
  2. Back up before touching. Copy the target HTML to <name>.backup.html first.
  3. Read the CSS before overriding. Grep style.css for the class names you intend to restyle; the
    override must match the template's real specificity or it silently loses. Note colours that appear in
    pseudo-elements, gradients and vendor CSS (Bootstrap/MDB), not just in the main sheet.
  4. Content must be sourced, not invented. For a real person / work / product, fetch the facts from an
    authoritative reference (encyclopaedia entry, official site) and keep originals where the user supplied them.
  5. Batch replacements go through a script with assertions. Replacing 16 links by hand breaks silently.
    Use scripts/safe_replace.py, which asserts each old occurs exactly the expected number of times.
  6. Content must never depend on JS to be visible. Scroll-reveal / counter effects are enhancements;
    if the script fails, every section must still be readable.

Workflow

Step 0 — Reconnaissance and backup

  1. If given a zip, extract to a scratch directory and list files. A 模板王-style download looks like:

<page>.html <- outer preview shell, NOT the template <page>_files/ <- real template assets index.html <- the actual template markup style.css responsive.css ... <- theme sheets *.js.下载 <- scripts, saved with a bogus extension *.jpg / *.png

Read <page>_files/index.html to see the template's real structure; the outer HTML is only a wrapper.
2. Record: the CSS/JS file list, the asset folder name, and which classes the sections use.
3. Copy the working HTML to <name>.backup.html.

Step 1 — Map the template anatomy

Read the template's style.css and write down the selectors you will need. See
references/template-anatomy.md for a worked mapping of a Bootstrap + MDB + Owl Carousel portfolio
template (menu, tabs, cards, form, footer), including the class names and the traps in each.

At minimum locate and note:

  • the nav / hamburger menu structure and its .js expectations
  • one card component per content type (service / project / news / contact)
  • the section wrapper class that controls background colour
  • which colours come from the template vs. from vendor CSS

Step 2 — Prepare content

  1. Decide the theme (subject, tone, colour direction) with the user if not stated.
  2. Fetch factual content from an authoritative source; keep a section list so navigation can mirror it.
  3. Inventory the user's local media (images, videos) and rename to ASCII filenames where possible —
    non-ASCII filenames in src need URL-encoding and are a common silent-failure source.

Step 3 — Inject the theme skin

  1. Copy or adapt assets/theme-skin.css. It is a complete, working skin (dark ink × jade palette) built
    for the template mapped in references/template-anatomy.md; rewrite its palette variables for the
    user's theme and drop the sections that do not apply.
  2. Insert it as a <style> block immediately after the last template <link rel="stylesheet"> and
    before </head>. Use scripts/inject_theme.py to do this deterministically:

bash python scripts/inject_theme.py <html> <css-file> [--backup]

  1. Walk the override checklist in references/theme-override-map.md — it lists every colour source that
    a naive override misses (pseudo-element arrows, gradient stops, focus rings in vendor CSS, and
    class-name collisions with Bootstrap utilities).

Step 4 — Insert new sections

  1. Pick snippets from assets/snippets/, which are self-contained and only depend on classes defined in
    assets/theme-skin.css:
file section notes
00-progress-bar.html top scroll progress bar place right after <body>
10-stats.html animated number strip needs the counter JS in 90-enhance.js
20-realm-timeline.html zig-zag timeline (odd/even nodes) copy the node block per entry
40-clips.html 2×2 video gallery see references/media-embed.md
50-quote.html full-bleed pull-quote strip check the class is not a Bootstrap utility
60-relations.html relation-card grid
70-scroll-top.html back-to-top button needs 90-enhance.js
90-enhance.js progress bar + counters + reveal + video autopause wrap in one IIFE, place after template scripts
  1. Insert new sections at a boundary where the background colour already alternates correctly —
    match the neighbouring section's background class so the seam is invisible.
  2. Every new section must also be added to the nav submenu and the footer index, otherwise the page
    looks half-finished. Do this in the same pass.
  3. Strip the data-page-node-id attributes and the original subject's copy when reusing a snippet.

Step 5 — Interaction enhancement

Use assets/snippets/90-enhance.js as the starting point. It bundles: scroll progress bar, requestIdle
counters, IntersectionObserver reveal, and video autopause. Three rules baked into it:

  • Reveal must be opt-in at runtime: the script adds .hl-pending only to elements below the fold, so
    content is visible by default if the script never runs. Never ship opacity:0 in the stylesheet.
  • Always add a timed fallback (setTimeout ~3s) that clears pending states and pins counters to their
    target values — guarantees correctness even if IntersectionObserver misbehaves.
  • Wire the back-to-top button from JS and toggle a .show class; do not leave an inline display:block.

Step 6 — Batch content and link replacement

Replace demo copy / buttons with real content and links using scripts/safe_replace.py:

python scripts/safe_replace.py <html> replacement.tsv

The TSV is old<TAB>new<TAB>expected_count per line. The script asserts each old appears exactly
expected_count times and aborts otherwise, so a partially-applied edit is impossible. For external
links add target="_blank" rel="noopener noreferrer" and give them a distinct arrow (↗) vs. the
internal →.

Step 7 — Verify

Never deliver without looking at it. Capture screenshots with a headless Chromium/Edge —
scripts/shot.sh wraps the working command line for Windows/macOS/Linux, and
references/verification-headless.md documents the flags, the required path style, and the known
gotchas (path conversion, profile lock, screenshot height limit, how to scroll to a given section).

Check at minimum: 1440-wide desktop full page, 767-wide mobile, and one shot per newly added section.
Compare against the backup to confirm every change landed.

Step 8 — Deliver

  1. Keep the new page beside the template's asset folder so relative paths resolve.
  2. Report the concrete file paths, which template constructs were overridden, which sections were added,
    and anything left unverified.

Pitfalls

These each cost real debugging time; check them proactively.

  • Font-icon fonts often do not exist in a scraped template — Font Awesome glyphs render as empty
    boxes (social icons, card arrows, back-to-top). Replace every ::before/<i class="fa ..."> with an
    inline SVG or a CSS content:"\2192". Grep the asset folder for woff/ttf/eot first.
  • Class-name collisions with the framework. A custom .mark collides with Bootstrap's .mark
    (which paints a cream background); likewise .box, .title, .post, .pointer. Prefix every custom
    class (e.g. hl-) and grep the vendor CSS for the name before using it.
  • Override specificity. Bootstrap/MDB rules with !important or deeper selectors beat a plain
    .foo{color:x} in your appended sheet. Match with the same selector and add !important where the
    template does.
  • Non-ASCII filenames in src silently 404. Rename assets to ASCII, or URL-encode.
  • Hiding content for animation. See Step 5 — never default to opacity:0 in CSS.
  • Broken menu JS. Hamburger menus often dereference child uls; deleting a .blog / .contact
    class or its <ul> throws and kills the whole menu. Keep the class names, change only the labels.
  • Timeline/zig-zag layouts need alternating markup, not CSS alone — mirror the node block, and reset
    the alternation in the mobile breakpoint.
  • Fixed-size screenshot ceilings. Headless screenshots fail above roughly 1440×2000 on some builds.

Resources

  • references/template-anatomy.md — worked mapping of the Bootstrap/MDB/Owl portfolio template that
    this skill was built from: class inventory, JS expectations, and what each section is made of.
  • references/theme-override-map.md — checklist of every colour source a re-skin must cover, plus the
    palette variables used by assets/theme-skin.css and the vendor-class collisions to avoid.
  • references/verification-headless.md — headless screenshot recipes and gotchas, plus how to shoot a
    specific section by offsetting the body.
  • references/media-embed.md — embedding local images and videos: aspect-ratio normalisation, native
    controls, decorative play overlays, autopause wiring, and reading MP4 duration/resolution with no
    ffmpeg installed.
  • assets/theme-skin.css — a complete, working dark theme skin. Template it: rewrite the :root
    variables, delete unused sections.
  • assets/snippets/ — drop-in HTML/JS for the added sections listed in Step 4.
  • scripts/inject_theme.py — insert a CSS file as a <style> block after the last stylesheet link.
  • scripts/safe_replace.py — count-asserted batch find/replace, driven by a TSV.
  • scripts/probe_mp4.py — read MP4 duration and resolution by parsing boxes directly (no ffmpeg).
  • scripts/shot.sh — headless-browser screenshot helper.

常见问题

5 问
答案由本站依据条目字段整理
网页制作怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_6b5657bb/wangyezhizuo。安装方式为未标注。装完刷新技能列表或重开客户端。

网页制作支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

网页制作权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

网页制作收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

网页制作用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。