Communitygithub.com

Cody-W-Tucker/skills

构建极简的发布前落地页,包含邮箱收集、品牌 Logo 和可选装饰层。读取 DESIGN.md 获取颜色、字体和布局规则。适用于产品发布、Beta 注册、早期访问和独立项目。

skills 是什么?

该技能专注于创建高质量、合规的品牌等待页面。它采用严格的基于模板的工作流程,首先读取 `DESIGN.md` 中的品牌标识(颜色、字体、布局),然后从 `assets/template.html` 加载预制的安全基础模板。该技能的核心是精确的令牌替换,对用户输入进行严格的 HTML 转义,并强制执行严格的颜色语法(仅限 `#hex`、`rgb`、`hsl`、`oklch`、`color-mix()`)以防止 CSS 注入,同时对 SVG 进行清理以阻止 XSS 攻击。它在将最终 HTML 文件输出之前,会运行一个完整的质量检查清单(P0 和 P1 等级),以确保单 CTA、无反模式(如倒计时)、移动端适配性、颜色一致性、字体约束和 WCAG 可访问性。该技能适用于任何 IDE 中的 AI 编码代理(如 Claude Code、Cursor 等),通过提供即用型、防弹的 HTML,为产品发布、Beta 注册和独立项目提供支持。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Cody-W-Tucker/skills/tree/HEAD/skills/waitlist-page

在你喜欢的 AI 中提问

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

文档

等待页面技能

发布前的页面是你与未来用户的第一次握手。这个技能构建了一个专注、诚实的入口:你的品牌标识、你在打造什么、以及一条明确的加入早期列表的路径。没有人为制造的稀缺感、虚假的倒计时或夸大其词的策略——只有一个干净、移动优先的容器,用来承载真实的兴趣。

工作流程

前置检查:加载强化模板和品牌基础

  1. 加载品牌标识 — 读取 DESIGN.md 以获取颜色系统、字体搭配和空间规则。这是你的基础。一个等待页面的成败取决于它与其所代表的品牌的一致性。如果 DESIGN.md 缺失,请在继续之前要求用户提供。
  2. 读取并复制可复用模板 — 读取 assets/template.html。此模板是所有输出的强化种子。将其复制到 index.html 作为你的基础。不要从头编写 HTML,也不要偏离此结构。该模板已包含所有必需的布局、表单结构、装饰、焦点样式和无障碍支持。

步骤:带验证和转义的令牌替换

  1. 根据输入映射令牌 — 对于模板中的每个占位符(例如 {{PRODUCT_NAME}}、{{BG_EXPRESSION}}、{{BORDER_EXPRESSION}}、{{LOGO_MARK}}),遵循以下替换规则:
    • 文本令牌 ({{PRODUCT_NAME}}、{{TAGLINE}}):在插入到 HTML 文本节点或属性值之前,对 <、>、&、"、' 进行 HTML 转义。
    • HTML 令牌 ({{LOGO_MARK}}):如果使用文字首字母,则默认进行 HTML 转义。如果使用内联 SVG,则必须使用允许列表严格对其进行清理:去除 <script> 标签、事件处理程序 (on*)、<foreignObject>、外部引用 (href、xlink:href、url()),以及任何不允许的属性/元素,然后再插入。如果 SVG 无法安全清理,则回退到转义后的文字首字母。永远不要输出未经处理的任意 HTML。确保任何 SVG 在其容器内都能干净地缩放。
    • 颜色表达式令牌 ({{BG_EXPRESSION}}、{{FG_EXPRESSION}}、{{ACCENT_EXPRESSION}}、{{DECO_EXPRESSION}}、{{STRIPE_EXPRESSION}}、{{SUCCESS_EXPRESSION}}、{{BORDER_EXPRESSION}}、{{BTN_LABEL_EXPRESSION}}、{{TICKER_BG_EXPRESSION}}、{{TICKER_FG_EXPRESSION}}、{{DECO_STROKE_EXPRESSION}}、{{LOGO_SHADOW_EXPRESSION}}、{{LOGO_FG_EXPRESSION}}):必须严格遵循明确的颜色语法(#hex、rgb/rgba、hsl/hsla、oklch 或仅使用局部变量的 color-mix())。硬性拒绝任何包含 ;、{}、<、>、注释 (/*)、@、url( 或外部引用的输入,以防止 CSS 注入。不要添加 # 前缀或额外引号。示例:rgba(196, 169, 154, 0.38)、color-mix(in srgb, var(--fg) 38%, transparent)、#FDE8DF。按原样插入到 :root CSS 变量中。如果 DESIGN.md 中定义了 --success,则从其中获取;否则仅使用允许的回退值 #2D6A4F。
    • 字体名称令牌 ({{DISPLAY_FONT_CSS}}、{{BODY_FONT_CSS}}):这些是 CSS font-family 的值,如果包含空格,则已添加引号(例如 'DM Sans'、Syne)。按原样插入到 --font-display 和 --font-body 声明中;不要添加额外的引号。
    • 字体 URL 令牌 ({{DISPLAY_FONT_URL}}、{{BODY_FONT_URL}}):空格必须编码为 + 以用于 Google Fonts URL(例如 DM+Sans、IBM+Plex+Serif)。在插入之前验证 URL 格式是否正确。
  2. 验证令牌映射规则 — 所有颜色令牌现在都在 CSS 变量中:
    • --bg = {{BG_EXPRESSION}}(例如 #FDE8DF)
    • --fg = {{FG_EXPRESSION}}(例如 #1A1410)
    • --accent = {{ACCENT_EXPRESSION}}(品牌徽章)
    • --deco = {{DECO_EXPRESSION}}(主要装饰)
    • --deco-stripe = {{STRIPE_EXPRESSION}}(强调条纹)
    • --input-border = {{BORDER_EXPRESSION}}(包含透明度的完整 CSS 表达式)
    • --success = {{SUCCESS_EXPRESSION}} 或回退 #2D6A4F
    • --btn-label = {{BTN_LABEL_EXPRESSION}}(按钮文本颜色,用于对比)
    • --ticker-bg = {{TICKER_BG_EXPRESSION}}(动画滚动条背景)
    • --ticker-fg = {{TICKER_FG_EXPRESSION}}(动画滚动条文本)
    • --deco-stroke = {{DECO_STROKE_EXPRESSION}}(SVG 描边,通常使用 12–15% 的柔和透明度)
    • --logo-shadow = {{LOGO_SHADOW_EXPRESSION}}(Logo 容器阴影,微妙的深色前景色)
    • --logo-fg = {{LOGO_FG_EXPRESSION}}(用于 Logo 首字母的对比文本颜色)
  3. 响应式布局 — 模板包含移动端优先的缩放:
    • 375px:表单堆叠为单列,Logo 缩小至 40px,装饰压缩,无水平滚动。
    • 768px:舒适的两列呼吸空间。
    • 1440px+:带大间距的居中布局。
    • 确保所有文本保持可读,并且在 375×667 和 390×844 下邮箱输入框和按钮完全可见(无裁剪)。

验证:在输出前运行硬性质量检查

  1. 运行质量检查清单 — 读取 references/checklist.md。在输出前验证每个 P0 关卡:
    • 恰好一个 CTA(邮箱表单)
    • 无倒计时器、无虚假社交证明、无表情符号
    • 在 375px 下无水平滚动
    • 邮箱输入框具有 type="email" 和 required;名字输入框无 required
    • 表单不使用 novalidate;JS 使用 checkValidity() 守卫
    • 成功消息具有 role="status" 或 aria-live="polite"
    • 所有颜色来自 DESIGN.md 或允许的回退值;无自造十六进制值
    • 所有用户文本已进行 HTML 转义;颜色令牌遵循严格语法;字体已进行 URL 编码
    • 不通过 P0 则禁止输出。 如果任何 P0 关卡失败,要求用户或修复令牌映射然后重试。
  2. 验证 P1 关卡以提高输出质量(推荐):
    • 提交按钮的悬停和激活状态
    • 带清晰反馈的表单验证
    • 滚动条动画尊重 prefers-reduced-motion: reduce
    • 所有交互元素具有可见的焦点样式(input:focus 包含 outline)
    • Tab/Enter 键盘支持
    • 正文文本的 WCAG AA 对比度(≥4.5:1)和按钮标签的(≥4.5:1)
    • Logo 存在 alt/aria-label;滚动条具有 aria-hidden="true"
    • <html lang=""> 已设置

输出

  1. 输出干净的 HTML — 单个文件,CSS 内联,图形使用 SVG。使用 data-od-id(标题、表单、Logo、滚动条、网格等)标记交互元素,以便代理无需解析即可自定义。

质量关卡

此技能强制执行一个基于模板的强化工作流程以确保合规性。你必须遵循此执行路径;偏离模板将导致输出不合格。

强制性的基于模板的执行:

  • 将 assets/template.html 作为基础读取;不要从头编写 HTML。
  • 将其复制到 index.html 并仅将 {{PLACEHOLDER}} 令牌替换为经过验证/转义的值。
  • 在输出前运行 references/checklist.md 中的每个 P0 关卡;如果任何关卡失败,修复并重新验证。

P0 关卡(必须通过):

  • 单 CTA:邮箱表单是唯一的交互元素。无导航、无次要按钮、无社交链接。
  • Logo 位置:固定在左上角,匹配 DESIGN.md 中的强调色,在移动设备上缩放(50px → 40px)。
  • 颜色一致性:每种颜色都来自 DESIGN.md 调色板。唯一允许的硬编码例外:用于 --success 的 #2D6A4F。
  • 无反模式:无倒计时器、无虚假社交证明、无表情图标、无 lorem ipsum。
  • 内容完整性:标题和文案直接关联到 product_name 和 tagline 输入——无填充性文案。
  • 移动端适配:在 375px 下无水平滚动。邮箱输入框和提交按钮在 375×667 和 390×844 下完全可见(无裁剪)。垂直溢出可滚动,不可隐藏。
  • 排版纪律:仅显示 + 正文字体(2 字体规则)。各部分的尺寸一致。
  • 表单结构:两个字段(名字可选,邮箱必填),checkValidity() 守卫,成功消息带有 role="status"。
  • 令牌转义:所有用户提供的文本已进行 HTML 转义;颜色令牌遵循严格语法且不包含不安全字符(;、{}、<、>、/*、@、url();字体名称已进行 URL 编码;{{LOGO_MARK}} 是转义后的文字首字母或严格清理过的内联 SVG(无脚本、无事件处理程序、无 foreignObject、无外部 href)。

P1 关卡(应为高质量输出而通过):

  • 英雄区域视觉上不同且位于首屏。
  • 邮箱提交按钮具有悬停和激活状态。
  • 表单验证提供清晰反馈。
  • 页面在所有移动视口下可滚动(未裁剪);CTA 无需滚动即可见。
  • 在 prefers-reduced-motion: reduce 下暂停/移除滚动条动画。
  • 所有交互元素具有可见的焦点样式(outline,不仅仅是 outline:none)。
  • 键盘:Tab 键到达每个表单字段;Enter 键提交。
  • WCAG AA 对比度:正文文本 ≥4.5:1,按钮标签 ≥4.5:1。
  • Logo 存在 alt/aria-label;滚动条具有 aria-hidden="true"。
  • <html lang=""> 设置为正确的语言代码。

装饰限制:

  • 底部区域在不分散注意力的情况下增强效果。使用透明度、柔和描边、平缓动画。
  • 无占视口高度超过 20% 的渐变。
  • 螺旋、条纹、网格或滚动条仅使用 DESIGN.md 中的颜色。

输出

仅在 references/checklist.md 中的所有 P0 关卡通过后才输出。

在标签之间输出成果物:

<artifact identifier="waitlist-id" type="text/html" title="即将推出 — {{PRODUCT_NAME}}">
<!doctype html>
<html lang="en">
...
</html>
</artifact>

在成果物上方添加一行描述;下方无内容。

输出后: 如果用户要求更改,则就地更新 index.html,并在输出下一版本之前重新运行 P0 检查清单关卡。在迭代中不要跳过验证。

Individual skills in this repo

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

Cody-W-Tucker/skills

Landing page quality assessment for paid advertising campaigns. Evaluates message match, page speed, mobile experience, trust signals, form optimization, and conversion rate potential. Use when user says landing page, post-click experience, landing page audit, conversion rate, or landing page optimization.

Cody-W-Tucker/skills

TikTok Ads deep analysis covering creative quality, tracking, bidding, campaign structure, and TikTok Shop. Evaluates 28 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.

Cody-W-Tucker/skills

YouTube Ads specific analysis covering campaign types, creative quality, audience targeting, and measurement. Evaluates video ad performance across skippable, non-skippable, bumper, Shorts, Demand Gen, and Connected TV formats. Covers VAC→Demand Gen migration, Shorts creative requirements, and CTV shoppable ads. Use when user says YouTube Ads, video ads, pre-roll, bumper ads, YouTube campaign, Shorts ads, or CTV ads.

Cody-W-Tucker/skills

Craft the story that makes investors say \"I want in.\" Master the narrative structure that Reid Hoffman, Sequoia, and top founders use to raise capital. Use when: **Preparing to fundraise** to develop your story before the deck; **Investor meetings** to structure conversations that convert; **Pitch practice** to refine your narrative arc; **Cold outreach** to write compelling investor emails; **Pivoting** to reframe your story after a change

Cody-W-Tucker/skills

Identify the best GTM motions and tools across 7 motion types: Inbound, Outbound, Paid Digital, Community, Partners, ABM, and PLG. Use when selecting marketing channels, choosing between inbound and outbound strategy, or planning cross-channel campaigns.

Cody-W-Tucker/skills

Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.

Cody-W-Tucker/skills

Optimize landing pages for maximum conversions using proven frameworks from Unbounce and Oli Gardner—apply the \"one goal, one message, one action\" principle with data-driven design, copy, and CTA best practices. Use when: **Create a new landing page** for a campaign; **Optimize an existing landing page** that isn't converting; **Review landing page design** before launch; **Improve form conversion rates** on lead gen pages; **A/B test landing page elements** systematically

Cody-W-Tucker/skills

Advanced motion patterns for React / Next.js — drag & drop, gestures, text animations, SVG path drawing, custom hooks, imperative sequences (useAnimate), loaders, and the full API decision tree. Requires motion-foundations.

Cody-W-Tucker/skills

Motion tokens, spring presets, performance rules, device adaptation, accessibility enforcement, and SSR safety for React / Next.js using motion/react. Foundation layer — all other motion skills depend on this.

Cody-W-Tucker/skills

A single-frame motion-design composition with looping CSS animations — rotating type ring, animated globe, ticking timer, parallax labels. Renders as a hero video poster you can hand straight to HyperFrames or any keyframe-based exporter. Use when the brief asks for "motion design", "animated hero", "loop", "video poster", "title card", or pairs Open Claude Design with HyperFrames for a kinetic export.

Cody-W-Tucker/skills

Production-ready animation patterns for React / Next.js — button, modal, toast, stagger, page transitions, exit animations, scroll, and layout — built on motion-foundations tokens and springs.

Cody-W-Tucker/skills

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

Cody-W-Tucker/skills

Produce a single-file slide deck in the Atelier Zero visual language (warm-paper background, italic-serif emphasis spans, coral terminating dots, surreal collage plates) — Open Design's brand deck recipe. The deck uses **horizontal magazine-style swipe pagination** (←/→, wheel, swipe), a per-slide chrome strip with brand mark and slide counter, an ESC overview grid, a coral progress bar, and inherits the canonical stylesheet + 16-slot image library from the sister `open-design-landing` skill.

Cody-W-Tucker/skills

Produce a world-class single-page editorial landing site in the Atelier Zero visual language (Monocle / Apartamento / Études editorial collage) — the same aesthetic Open Design uses for its own marketing surface. The agent fills a typed `inputs.json` from a brand brief, optionally generates 16 collage assets via gpt-image-2, then runs a pure-function composer that emits a self-contained HTML file; a separate path can mirror the Astro marketing site in `apps/landing-page/`. Drop-in scroll-reveal motion and a Headroom-style sticky nav are wired automatically.

Cody-W-Tucker/skills

Best practices for Remotion - Video creation in React. 29 domain-specific rules covering 3D, animations, audio, captions, charts, transitions, and more.

Cody-W-Tucker/skills

Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".

Cody-W-Tucker/skills

Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".

Cody-W-Tucker/skills

Master April Dunford's 8-step sales narrative from \"Sales Pitch\" (2023). Transform your positioning into a compelling story that wins enterprise deals. Use when: Structuring B2B sales presentations and demos; Creating pitch decks for complex products; Training sales teams on narrative-driven selling; Converting positioning strategy into sales conversations; Winning against entrenched competitors

Cody-W-Tucker/skills

Swiss-style user-research narrative template in warm-paper editorial aesthetics. Use when users ask for a premium research deck or story-first live artifact with minimalist typography, high-clarity layout, subtle motion, donut breakdowns, and keyboard/click navigation across slides in a single HTML file.

Cody-W-Tucker/skills

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

相关技能