Communitygithub.com

精品站点锻造

把一句话简报做成有动效的营销站。先研究真实参考站,用效果图给出四个视觉方向,再按选定方向搭建,并在桌面和手机浏览器里验收。

精品站点锻造 是什么?

一套拒绝单一生成外观的落地页流程。它研究参考网站,分成四个方向并配上图像样稿,然后用 Vite、React、Tailwind 和 Motion 实现被选中的方向,并在真实浏览器里核对。

兼容平台~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/zhengsuanfa/premium-site-forge/tree/HEAD/skills/premium-site-forge

在你喜欢的 AI 中提问

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

文档

Premium Site Forge

One sentence in → a site that looks like it won Site of the Day.

The method is a funnel: research wide → diverge into 4 directions → let the user pick from real images → converge and build → verify in a browser. Never skip the picking step: it is what makes a one-shot result land.

brief ─► 1 research ─► 2 four directions ─► 3 Codex mockups ─► USER PICKS ─► 4 build ─► 5 3D assets ─► 6 browser QA ─► ship

0 · Intake (≤ 1 question)

Only ask what changes the output: the brand + one-line business (or "use a placeholder"). Everything else has a sensible default. If the user gave no brand, use a fictional placeholder (e.g. NOVAX) and keep all copy swappable. Write copy in the user's language.

1 · Research (parallel, ~5 min)

Spawn one research subagent (background) while you check tooling. Brief it with the sources and the exact deliverable in references/reference-sites.md → "Research brief". It must return concrete visual signatures (hex, fonts, hero composition, signature motion), not adjectives.

Meanwhile check tooling:

codex --version && codex features list | grep image_generation   # must be true
node -v

If Codex is unavailable, fall back to describing each direction with a quick HTML mock rendered in the browser and screenshot it — but say so.

2 · Four directions

Synthesize exactly 4 clearly different directions. Start from the proven set in references/directions.md (Dark Precision · Warm Editorial · Aurora Glass · Industrial Instrument) and adapt palette/copy to the brand. Each direction = palette (hex) + fonts + hero picture + signature motion + which references/components it borrows.

3 · Mockups with Codex → user picks

  1. Write one prompt file per direction using the template in references/codex-prompts.md (tall 1024×1536 full-page mockup, real short copy in the user's language, nav → hero → logo strip → bento → stats → CTA).
  2. Run them in parallel:
    scripts/gen-previews.sh previews/prompts previews
    
    (~2–4 min; images land in previews/*.png.)
  3. Look at every image yourself before showing it. Regenerate any with broken text or layout.
  4. Send all 4 to the user (file cards) and ask them to choose with a single multiple-choice question (AskUserQuestion if available). Recommend one. Do not start building before they pick.

4 · Build

Default stack (fast, AI-friendly, zero design-system lock-in): Vite + React + TypeScript + Tailwind v4 (@tailwindcss/vite) + motion (motion/react) + lenis.

Fast path for Aurora Glass: copy templates/aurora-glass/ — it is the complete, verified example site (see the repo's examples/). Re-skin tokens in src/index.css and copy in each component.

For other directions, keep the same section blueprint and swap the surface treatment — see references/blueprint.md for:

  • section order and what each section must prove
  • the component recipe list (shader hero, glass pill nav, blur-in headline, interactive command palette, logo marquee, spotlight bento, sticky scroll story with tracing beam, count-up stats, aurora CTA, giant wordmark footer)
  • per-direction swaps (e.g. Industrial → dot-matrix display font, dial SVG, split-flap numbers)

Rules that keep it premium:

  • One accent system, tokens on @theme; 1px hairlines at 8–14% white; film grain at ~5%.
  • Display type heavy (900) and tight (−0.02em); body 15–19px with relaxed leading; mono for labels.
  • Motion uses one ease: cubic-bezier(0.16, 1, 0.3, 1). Entrances = opacity + y + blur. Nothing bounces.
  • Every animated thing must respect prefers-reduced-motion.
  • Real copy only. No lorem ipsum. Numbers look specific (11.8 ms, not "fast").

5 · 3D assets with Codex

Feature cards look 10× better with glossy object renders. Generate them on pure black and key them to alpha:

scripts/gen-asset.sh public/img/chip.webp "a futuristic AI processor chip, frosted glass top, embossed N glyph"

Run several in parallel (background &). scripts/luma_key.py does the keying; never rely on mix-blend-mode: screen (see pitfalls).

6 · Verify in a real browser — mandatory

Start the dev server and drive a browser (built-in browser pane, Playwright, or scripts/capture.mjs):

node scripts/capture.mjs ./shots http://localhost:5173/   # needs playwright-core + installed Chrome

Check at 1440×900 and 375×812: hero legibility over the shader, every section after scroll-reveal, sticky story at each step, mobile wrapping, console errors. Walk references/pitfalls.md — every item there broke at least once. Fix, re-shoot, then report.

7 · Deliver

Tell the user: how to run it, which file holds what, what is placeholder (brand, copy, numbers), and what you could not verify. Offer the next step (swap in real brand/copy, deploy).

Files

PathUse
references/reference-sites.mdcurated cases + research brief for the subagent
references/directions.mdthe 4 proven directions with full specs
references/codex-prompts.mdmockup + 3D asset prompt templates
references/blueprint.mdsection blueprint, component recipes, direction swaps
references/pitfalls.mdbugs we hit and their fixes
scripts/gen-previews.shparallel Codex mockups
scripts/gen-asset.sh + luma_key.py3D render → transparent WebP
scripts/capture.mjsdesktop + mobile screenshots for QA/README
templates/aurora-glass/complete working site (Aurora Glass)

相关技能