Communitygithub.com

Biznomad/claude-skills

构建、重构并部署跨任意技术栈的网站——静态HTML、Next.js、Astro 或 Shopify Liquid 主题。处理设计系统、品牌感知布局、组件架构及部署流水线(Netlify、Vercel、Shopify API)。

claude-skills 是什么?

该技能(Website Builder)专为AI代理设计,用于高效完成从静态营销页到动态Web应用、Shopify主题的各类网站项目。它支持四种主流技术栈:纯HTML/CSS/JS或Astro(适合营销站、作品集)、Next.js + Tailwind(适合含认证、API、数据库的动态应用)、Liquid + JSON模板(仅限Shopify商店页面)以及Astro + MDX(适合内容密集型博客/文档)。工作流分为四个阶段:1) 根据提示词自动评估项目类型并选择最佳技术栈与部署平台(Netlify/Vercel/Shopify API);2) 在编写任何组件前建立设计系统,定义颜色、排版、间距、圆角和阴影等设计令牌;3) 针对不同技术栈采用不同组件构建方式——静态站点以移动端优先、逐区块构建;React/Next.js采用原子→分子→有机体→页面的组件优先架构;Shopify主题构建为带`{% schema %}`块的Liquid区块,以确保在Theme Customizer中可编辑;4) 部署阶段提供Netlify、Vercel和Shopify Admin API的精确命令与安全模式。特别针对Shopify容易出错的特性提供了详细的快速参考,包括区块类型正确命名、富文本字段限制、颜色方案命名约定、模板后缀安全以及API限流策略。整个技能通过`references/`目录下的详细文档(如`stack_guide.md`、`design_tokens.md`、`shopify_2_0.md`、`deployment.md`)提供深度支撑,使AI代理在收到“帮我建一个网站”、“重新设计这个页面”、“创建一个登陆页”、“构建Shopify主题”、“部署到Netlify”等请求时能准确触发并执行完整工作流。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Biznomad/claude-skills/tree/HEAD/website-builder

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

网站构建器

工作流

1. 评估项目

确定项目类型并选择技术栈:

信号技术栈部署平台
营销网站、作品集、简单页面纯 HTML/CSS/JS 或 AstroNetlify
含认证、API、数据库的动态应用Next.js + TailwindVercel
Shopify 商店页面(产品、集合、主页)Liquid + JSON 模板Shopify API
内容密集型博客/文档Astro + MDXNetlify

有关详细的技术栈选择标准,请参见 references/stack_guide.md。

2. 建立设计系统

在编写任何组件之前,先定义设计令牌:

颜色:    primary, secondary, accent, neutral (50-900), success, error
排版:    标题字体、正文字体、字号比例(xs 到 4xl)
间距:   4px 基础单位(4, 8, 12, 16, 24, 32, 48, 64)
圆角:    sm (4px), md (8px), lg (12px), full
阴影:   sm, md, lg

在所有组件中一致地应用品牌资产(Logo、颜色、字体)。有关调色板构建模式,请参见 references/design_tokens.md。有关健康/电商设计灵感(Serene Herbs, Magic Mind 风格),请参见 references/design_inspiration.md。

3. 构建组件

静态站点:逐区块构建,移动端优先。每个区块是自包含的,并带有自己的样式。

React/Next.js 应用:组件优先架构。按原子 → 分子 → 有机体 → 页面的顺序构建。

Shopify 主题:构建为带有 {% schema %} 块的 Liquid 区块,以支持 Theme Customizer 编辑。有关 Shopify 特定的模式、易错点和部署,请参见 references/shopify_2_0.md。

4. 部署

Netlify(静态站点):

npx netlify-cli deploy --prod --dir=./dist

Shopify(Liquid 区块 + JSON 模板): 使用捆绑脚本通过 Admin API 推送:

  • scripts/deploy_shopify_section.py — 推送 .liquid 区块文件
  • scripts/deploy_shopify_template.py — 推送 JSON 模板并分配产品

Vercel(Next.js):

npx vercel --prod

有关部署细节和安全模式,请参见 references/deployment.md。

Shopify 快速参考

Shopify 是最容易出错的技术栈。关键易错点:

  1. 区块类型 — 使用主题的实际区块类型名称(例如 title 而不是 @app/title)
  2. 富文本字段 — HTML 标签上不允许出现 style 属性;仅使用语义化 HTML
  3. 配色方案 — 命名为 scheme-1 到 scheme-5(而不是 background-1)
  4. image-with-text — 内容使用区块(heading, text, button),而不是区块级别的设置
  5. template_suffix 安全性 — 更改后缀会影响所有主题;始终先向在线主题推送一个回退模板
  6. API 限流 — 在 API 调用之间添加 time.sleep(0.5)

包含示例的完整 Shopify 参考:references/shopify_2_0.md

Individual skills in this repo

This repo contains 17 individual skills — each has its own dedicated page.

Biznomad/claude-skills

TikTok Ads deep analysis covering creative quality, tracking, bidding, campaign structure, and TikTok Shop. Evaluates 25 checks with emphasis on creative-first strategy, safe zone compliance, and Smart+ campaigns. Use when user says "TikTok Ads", "TikTok marketing", "TikTok Shop", "Spark Ads", "Smart+", or "TikTok campaign".

Biznomad/claude-skills

YouTube Ads specific analysis covering campaign types, creative quality, audience targeting, and measurement. Evaluates video ad performance across skippable, non-skippable, bumper, Shorts, and Demand Gen formats. Use when user says "YouTube Ads", "video ads", "pre-roll", "bumper ads", "YouTube campaign", or "Shorts ads".

Biznomad/claude-skills

Help users get promoted at work. Use when someone is preparing for a promotion conversation, building their case for advancement, trying to understand what's blocking their promotion, or figuring out how to get to the next level in their career.

Biznomad/claude-skills

CSS animation adapter patterns for HyperFrames. Use when authoring CSS keyframes, animation-delay based timing, animation-fill-mode, animation-play-state, or CSS-only motion that HyperFrames must seek deterministically during preview and rendering.

Biznomad/claude-skills

HyperFrames CLI dev loop — `npx hyperframes` for scaffolding (init), validation (lint, inspect), preview, render, and environment troubleshooting (doctor, browser, info, upgrade). Use when running any of these commands or troubleshooting the HyperFrames build/render environment. For asset preprocessing commands (`tts`, `transcribe`, `remove-background`), invoke the `hyperframes-media` skill instead.

Biznomad/claude-skills

Asset preprocessing for HyperFrames compositions — text-to-speech narration (Kokoro), audio/video transcription (Whisper), and background removal for transparent overlays (u2net). Use when generating voiceover from text, transcribing speech for captions, removing the background from a video or image to use as a transparent overlay, choosing a TTS voice or whisper model, or chaining these (TTS → transcribe → captions). Each command downloads its own model on first run.

Biznomad/claude-skills

Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, and registry discovery.

Biznomad/claude-skills

Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML. Use when asked to build any HTML-based video content, add captions or subtitles synced to audio, generate text-to-speech narration, create audio-reactive animation (beat sync, glow, pulse driven by music), add animated text highlighting (marker sweeps, hand-drawn circles, burst lines, scribble, sketchout), or add transitions between scenes (crossfades, wipes, reveals, shader transitions). Covers composition authoring, timing, media, and the full video production workflow. For dev-loop CLI commands (init, lint, inspect, preview, render) see the hyperframes-cli skill; for asset preprocessing commands (tts, transcribe, remove-background) see the hyperframes-media skill.

Biznomad/claude-skills

Optimize landing pages for higher conversion rates using proven frameworks and design patterns. Use when designing, reviewing, or improving landing pages, hero sections, pricing pages, CTAs, or when the user asks about conversion optimization.

Biznomad/claude-skills

Building promotion cases, brag documents, tracking wins, and self-advocacy for career advancement. Use when preparing for promotions, documenting accomplishments, or building your case for advancement.

Biznomad/claude-skills

Translate an existing Remotion (React-based) video composition into a HyperFrames HTML composition. Use ONLY when the user explicitly asks to port, convert, migrate, translate, or rewrite a Remotion composition as HyperFrames (e.g. "port my Remotion project to HyperFrames"). Do NOT use when (a) authoring a NEW HyperFrames composition (even if A/B-testing a Remotion video); (b) Remotion is mentioned in passing; (c) Remotion code is shared as reference, not for translation; (d) the user wants "the same video as my Remotion one" without explicitly asking to migrate the source — treat as a fresh HyperFrames build. When in doubt, default to the `hyperframes` skill. Detects unsupported patterns (useState, useEffect side effects, async calculateMetadata, third-party React component libraries, `@remotion/lambda`) and recommends the runtime interop escape hatch instead of a lossy translation.

Biznomad/claude-skills

Produce programmable videos with Remotion using scene planning, asset orchestration, and validation gates for automated, brand-consistent video content.

Biznomad/claude-skills

Generate cinematic film-style video prompts for Seedance 2.0 on Higgsfield. Use whenever the user wants cinematic, film-like, movie-quality, Hollywood-style, dramatic, or professional film-quality AI video. Triggers on: cinematic, film look, movie scene, dramatic lighting, depth of field, lens flare, anamorphic, letterbox, noir, epic, Steadicam, dolly, crane shot, or any cinematic video generation request. Always use this skill even if the user doesn't explicitly say "cinematic" but describes a film-like aesthetic.

Biznomad/claude-skills

为 Seedance 2.0(Higgsfield)生成电影级胶片风格视频提示词。在用户想要电影级、胶片感、电影质量、好莱坞风格、戏剧性或专业胶片质量的AI视频时使用。触发词:电影级、胶片感、电影场景、戏剧性打光、景深、镜头光晕、变形、信箱式、黑色电影、史诗、稳定摄像机、推车镜头、吊臂镜头或任何电影级视频生成请求。即使用户没有明确说"电影级"但描述了胶片美学,也要使用此技能。

Biznomad/claude-skills

Convert comic book panels, manga pages, webtoons, and illustrated storyboards into animated video using Seedance 2.0 on Higgsfield. Use whenever the user wants to animate comics, bring illustrations to life, convert manga to video, animate storyboards, or create motion from static sequential art. Triggers on: comic to video, manga animation, panel animation, storyboard to video, webtoon animation, comic book motion, sequential art, graphic novel animation, or any illustrate-to-animate request. Use even when user says "make this drawing move" or "animate this page.

Biznomad/claude-skills

Generate music video and beat-synced visual content prompts for Seedance 2.0 on Higgsfield. Use whenever the user wants to create a music video, lyric video, beat-synced visuals, performance video, concert visual, album art animation, or music-driven visual content. Triggers on: music video, lyric video, beat sync, music visualization, performance video, concert visual, album visual, song video, music clip, beat drop visual, rhythm sync, or any music-driven video request. Use even for "make visuals for my song" or "video for this track.

Biznomad/claude-skills

Capture a website and create a HyperFrames video from it. Use when: (1) a user provides a URL and wants a video, (2) someone says "capture this site", "turn this into a video", "make a promo from my site", (3) the user wants a social ad, product tour, or any video based on an existing website, (4) the user shares a link and asks for any kind of video content. Even if the user just pastes a URL — this is the skill to use.

相关技能