CommunityBildgithub.com

hanimaru1121/visual-mockup-designer

This skill should be used when the user wants a high-fidelity, openable HTML+Tailwind mockup of the entire landing page — colors applied from design tokens, real copy from `copy.json`, placeholder images sized correctly, and all sections from IA visible end-to-end. Triggers include "モックアップ", "mockup", "モックアップ作って", "プレビュー", "preview", "high-fidelity comp", "デザインカンプ", "デザイン案", "ビジュアル案見せて", or when the orchestrator (`lp-maker`) reaches Tier 3 Step 3. It reads `03-design/design-tokens.json`, `03-design/wireframe.svg`, `02-strategy/copy.json`, and `02-strategy/ia.json`, and writes a single-file `03-design/mockup.html` (CDN Tailwind, no build step) the user can open in any browser. This is NOT the final shippable code — it's a designed comp. Animations and interactions are marked with HTML comments for `ui-microinteraction-designer` and `animation-implementer` downstream. Make sure to use this skill whenever the user wants to "see what the LP would look like" BEFORE committing to production

Was ist visual-mockup-designer?

visual-mockup-designer is a Claude Code agent skill that this skill should be used when the user wants a high-fidelity, openable HTML+Tailwind mockup of the entire landing page — colors applied from design tokens, real copy from `copy.json`, placeholder images sized correctly, and all sections from IA visible end-to-end. Triggers include "モックアップ", "mockup", "モックアップ作って", "プレビュー", "preview", "high-fidelity comp", "デザインカンプ", "デザイン案", "ビジュアル案見せて", or when the orchestrator (`lp-maker`) reaches Tier 3 Step 3. It reads `03-design/design-tokens.json`, `03-design/wireframe.svg`, `02-strategy/copy.json`, and `02-strategy/ia.json`, and writes a single-file `03-design/mockup.html` (CDN Tailwind, no build step) the user can open in any browser. This is NOT the final shippable code — it's a designed comp. Animations and interactions are marked with HTML comments for `ui-microinteraction-designer` and `animation-implementer` downstream. Make sure to use this skill whenever the user wants to "see what the LP would look like" BEFORE committing to production.

Funktioniert mit✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/hanimaru1121/claude-skills/tree/HEAD/plugins/lp-maker/skills/visual-mockup-designer

Installed? Explore more Bild skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht visual-mockup-designer?

This skill produces a single-file HTML mockup the user can double-click to open in any browser. It uses CDN Tailwind (no build step), applies all design tokens (colors, type, spacing, radii, shadows), pulls real copy from copy.json, and renders every section from ia.json end-to-end. Critically, it is NOT production code — image slots are placeholders, animations are commented stubs, and JavaScript is minimal. The mockup exists to validate "does this design feel right?" while changes are still cheap. Building production code first means every visual revision rewires components; building a mockup first means visual decisions get locked before component architecture matters.

When to use this skill

Run this skill when:

  • lp-workspace/03-design/design-tokens.json, 02-strategy/copy.json, 02-strategy/ia.json exist, and lp-workspace/03-design/mockup.html does not (or needs regeneration)
  • The orchestrator (lp-maker) reaches Tier 3 Step 3
  • The user says "show me what it'd look like" / "design comp" / "preview"
  • Design tokens or copy changed and the mockup is stale

Do NOT use this skill when:

  • Any of the three required inputs is missing — halt and route to the owning skill
  • The user wants production code (route to lp-coder-html or lp-coder-nextjs)
  • The user wants only a wireframe (route to wireframe-generator)
  • The user wants real generated images installed (that's image-asset-generator in Tier 4)

Inputs

Required:

  1. lp-workspace/03-design/design-tokens.json — colors, typography, spacing, radii, shadows, breakpoints, tailwindConfig. WHY: the mockup must visually express the brand system; arbitrary inline styles defeat the purpose.
  2. lp-workspace/02-strategy/ia.json — sections to render and their order. WHY: every section must appear, in correct order, with correct IDs.
  3. lp-workspace/02-strategy/copy.json — actual headlines, subheads, body text, CTA labels, testimonial quotes, FAQ Q/A, pricing tier copy. WHY: lorem ipsum mockups hide hierarchy mistakes; real copy reveals them.

Optional: 4. lp-workspace/03-design/wireframe.svg — confirms structural decisions already made. WHY: if a wireframe was signed off, the mockup should preserve its block-level layout choices, not reinvent them. 5. lp-workspace/03-design/image-spec.json (if image-asset-planner already ran) — image dimensions and alt text. WHY: placeholder boxes can use the planned dimensions, so the mockup looks accurate. 6. lp-workspace/00-brief.json — project.language for <html lang>, business.brandTone for tone confirmation.

If any required input is missing, halt:

Mockup generation requires:
- lp-workspace/03-design/design-tokens.json [✓ or missing → design-system-builder]
- lp-workspace/02-strategy/ia.json [✓ or missing → lp-information-architect]
- lp-workspace/02-strategy/copy.json [✓ or missing → copywriting-generator]

Process

Step 1. Validate upstream and read inputs

Read all three required JSON files. Read optional inputs if present. Verify design-tokens.json has color.primary, color.neutral, typography.fontFamily, typography.scale, spacing, radius. If tailwindConfig is present, capture it for injection.

Step 2. Decide the HTML document shell

Build a single <html> document with:

  • <!doctype html>
  • <html lang="{project.language}"> — defaults to "ja" for Japanese projects, "en" otherwise. WHY: lang attribute drives screen reader pronunciation, font rendering hints, and SEO.
  • <head> containing:
    • <meta charset="utf-8">
    • <meta name="viewport" content="width=device-width, initial-scale=1"> — WHY: without this, mobile shows a zoomed-out desktop layout.
    • <title> from copy.json.meta.title if present, else business.productOrService
    • <meta name="description"> from copy.json.meta.description if present (it's just a mockup hint, but SEO tools downstream will reuse it)
    • Google Fonts link tag for any non-system fonts in design-tokens.typography.fontFamily (e.g. Noto Sans JP, Inter, Playfair Display)
    • Tailwind CDN: <script src="https://cdn.tailwindcss.com"></script>. WHY: zero build step means the user opens the file and it just works.
    • Tailwind config injection: <script>tailwind.config = { theme: { extend: { ... from design-tokens ... } } };</script> — copy the structure from design-tokens.tailwindConfig and convert to inline JS. WHY: this maps bg-primary-500, text-neutral-900, rounded-lg, etc. to the actual brand values, so every Tailwind class throughout the mockup expresses the design system.
    • A small <style> block ONLY for things Tailwind config can't express (e.g. body { font-family: var(--font-body); }, custom font-feature-settings for Japanese). Keep under 30 lines.

WHY one file: the user can email, airdrop, or share it as a single attachment, open it offline (except font/CDN load), drag-drop into Figma's HTML importer, or hand it to a developer as a reference. Multiple files force a build/serve step that derails the review.

Step 3. Render sections in IA order

Iterate ia.json.sections in order. For each:

  • Wrap in <section id="{id}" class="..."> with vertical padding from spacing tokens (typical: py-16 md:py-24). WHY: stable IDs allow anchor links and downstream code to reference sections.
  • Add an HTML comment header above each section: <!-- Section: {id} ({type}) — purpose: {purpose} --> so reviewers (and lp-coder-html downstream) understand intent.
  • Apply alternating background where IA flow benefits from rhythm (e.g. bg-white / bg-neutral-50). Two-tone alternation only — three-tone fragments visual flow.

Per section type, render with real copy from copy.json[id]:

Header — <header class="sticky top-0 z-40 bg-white/80 backdrop-blur"> with logo wordmark (use brand name as text if no logo), nav links (desktop only — hidden behind hamburger on mobile via Tailwind responsive classes), primary CTA pinned right.

Hero — Two-column grid on md:+, single column on mobile. Left: <h1 class="text-4xl md:text-6xl font-bold leading-tight">{copy.hero.headline}</h1> then subhead <p class="text-lg md:text-xl text-neutral-600 mt-4">{copy.hero.subhead}</p> then primary CTA button + secondary CTA link, then trust strip (3–4 logo placeholders or stat row). Right: image placeholder using image-spec.json dimensions if available, else 16:9 ratio. WHY: the H1 is the single most consequential element on the page; render it as tall, bold, leading-tight text per typographic best practice.

Problem / Pain — Centered headline, then a 3-column grid (grid grid-cols-1 md:grid-cols-3 gap-8) of pain-point cards. Each card: icon placeholder (use a Tailwind-styled SVG checkmark, X, or alert in text-primary-500), heading, 2-line body.

Solution — Two-column block. Copy-left with headline + body. Diagram-right or product image-right.

Benefits — 3-column grid of icon + headline + body. Icons use text-primary-500 for tint.

Features — Alternating image-left/right rows for top-level features (use IA enumeration); or a 2x2 grid for compact feature cards.

Social Proof / Testimonials — 3-column grid of testimonial cards. Each card: bg-white shadow-md rounded-lg p-6, avatar circle (initials inside if no image), name, role, quote with leading quotation mark styling.

Logo Cloud — flex flex-wrap items-center justify-center gap-8 grayscale opacity-70. Use text wordmarks as placeholders for logos. WHY: real logo placement requires permission; grayscale + placeholder communicates intent without overpromising.

Case Study — 2-column block with image-left, copy-right (results bullets with large numbers in text-primary-600, quote, attribution).

Pricing — 3-column tier card grid (grid grid-cols-1 md:grid-cols-3 gap-6). Middle card has border-2 border-primary-500 shadow-xl scale-105 and a "Recommended" badge. Each card: tier name, price (large), per-period suffix, feature list with checkmark icons, CTA button. WHY: middle-card emphasis exploits the decoy effect documented in pricing research.

FAQ — <details> elements styled with Tailwind (group, chevron rotation on open). Each Q is <summary>, answer is the rest. WHY: native <details> gives a working accordion with zero JavaScript — perfect for a mockup.

Objection Handling — Alternating Q/A blocks, or a 2-column "truth / reality" layout.

Guarantee — Centered single block, badge SVG + headline + body, bg-primary-50 tinted background.

Urgency / Scarcity — Banner stripe bg-primary-900 text-white py-4 with countdown placeholder (<span class="font-mono">00:00:00</span>) + inline CTA. Only include if IA has this section.

About / Founder Story — 2-column: portrait-left + copy-right with quoted callout.

CTA section — Centered <h2> + subhead + large primary button + small risk-reversal note ("No credit card required" / "30 seconds to complete").

Footer — 4-column grid on desktop (Product / Company / Legal / Contact), single accordion on mobile. Include links for legal compliance notation, privacy policy, and terms of use for Japanese projects (anchors only — actual text is in Tier 9 legal-compliance-checker). Bottom row: copyright + social icon row.

Step 4. Apply design tokens consistently throughout

Every visual property must come from tokens, not inline arbitrary values:

  • Colors: bg-primary-*, text-neutral-*, bg-accent-* — NEVER bg-[#xxxxxx]. WHY: arbitrary hexes defeat the system and make later edits combinatorial.
  • Typography: heading elements use font-heading (mapped via Tailwind config), body uses default (font-body mapped from tokens). Sizes from text-* scale.
  • Spacing: p-*, m-*, gap-* from the 8pt scale only.
  • Radii: rounded-* from the scale.
  • Shadows: shadow-* from the scale.

WHY this discipline: the mockup IS the design system rendered. If it cheats, the design system is undermined and downstream code inherits the inconsistency.

Step 5. Mark interaction stubs with HTML comments

For every place where animation or interaction is implied, drop a comment so ui-microinteraction-designer (and animation-implementer later) know what to spec:

<!-- INTERACTION: hover-lift on this card (translateY -4px, shadow-lg) -->
<!-- INTERACTION: scroll-reveal on this section (fade-up, stagger children 80ms) -->
<!-- INTERACTION: parallax on hero image (subtle, 0.3x scroll speed) -->
<!-- INTERACTION: button micro-bounce on click (scale 0.97 -> 1) -->
<!-- INTERACTION: counter animation on stat number (0 -> target on viewport enter) -->

WHY HTML comments: they survive every downstream transform, are visible in DevTools, and act as a checklist for the microinteraction skill. Do NOT implement the animations here — the mockup is static intent, not motion intent.

Step 6. Add accessibility scaffolding

Even in a mockup, model the right structure so downstream code starts correct:

  • One and only one <h1> (in Hero)
  • <h2> for each section heading; never skip from h1 to h3
  • Buttons are <button> (or <a> if linking) — never styled <div>
  • Images have alt="" (decorative) or descriptive alt from image-spec.json if available
  • Form fields (if pricing/CTA includes mini-form) have associated <label>
  • Color contrast already verified in design-tokens.json — don't override via inline styles

Step 7. Write 03-design/mockup.html

  • Ensure lp-workspace/03-design/ exists.
  • If mockup.html exists, copy to mockup.html.backup first.
  • Write the single HTML file. Target under 200KB minified-equivalent.
  • Verify the file opens by inspecting its structure (well-formed tags, no unclosed elements).

Step 8. Report back

Show the user:

Mockup generated:
File: lp-workspace/03-design/mockup.html
Sections: [N]
Tokens applied: full color, typography, and spacing from design-tokens.json
Images: placeholders (image-asset-generator will replace with real images later)
Animations: marked with HTML comments (ui-microinteraction-designer will specify)

Open the file in a browser to preview (CDN Tailwind, no build required).
Next steps: image-asset-planner / ui-microinteraction-designer / if approved, lp-coder-html

WHY this report: the user often wants to send the mockup to a stakeholder; calling out "open in browser, no build needed" sets expectations.

Output

File written: lp-workspace/03-design/mockup.html

A single, self-contained HTML file that:

  • Opens in any modern browser without a build step (CDN Tailwind)
  • Renders every section from ia.json in order, with real copy from copy.json
  • Applies all design-tokens.json values via Tailwind config
  • Includes <!-- Section: ... --> comments above each section
  • Includes <!-- INTERACTION: ... --> comment stubs where animations belong
  • Models semantic HTML and accessibility scaffolding (one h1, real <button>, alt text, lang attribute)

Quality checks

Before declaring done:

  • File is valid HTML (parses, no unclosed tags)
  • Single <h1> in Hero; subsequent sections use <h2> headings; no heading-level skips
  • Every ia.json.sections entry rendered as a <section id="...">, in IA order
  • Real copy from copy.json populated (no lorem ipsum, no {placeholder} strings)
  • All colors via primary-* / secondary-* / accent-* / neutral-* Tailwind classes — no arbitrary [#xxxxxx] values
  • All spacing via Tailwind scale — no arbitrary [12px] values
  • Japanese projects have <html lang="ja"> and include Japanese font in font stack
  • CTA buttons are <button> or <a> (not styled <div>)
  • Images use alt (descriptive or empty for decorative); placeholder dimensions reflect image-spec.json if available
  • FAQ implemented as native <details>/<summary> (works without JS)
  • Tailwind CDN script included; Tailwind config script injects tokens
  • Sticky header z-index doesn't conflict with modal placeholders
  • <!-- INTERACTION: ... --> comments present at each implied animation site
  • File renders meaningfully on a 375px viewport (no horizontal scroll, text readable)

Individual skills in this repo

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

hanimaru1121/animation-implementer

This skill should be used when the user wants the interaction specs from `ui-microinteraction-designer` actually wired into the running implementation — each spec implemented with the library best suited for it (vanilla CSS for simple hover, GSAP for complex scroll choreography, AOS for in-view reveals, Framer Motion for React) — with `prefers-reduced-motion` always respected and animations restricted to `transform`/`opacity` so they hit 60fps. Triggers include "アニメーション実装", "アニメーションを動かして", "scroll animation", "in-view reveal", "parallax", "GSAP入れて", "AOS入れて", "implement animations", "wire up motion", "60fps", or when the orchestrator (`lp-maker`) reaches Tier 4 after `lp-coder-*`. Make sure to use this skill whenever interactions are specified but not yet animated, because the LP without motion feels lifeless even with strong copy and design.

hanimaru1121/image-asset-generator

This skill should be used when the user wants the actual image files for the landing page generated and placed in the implementation folder — based on the specs from `image-asset-planner`. If the user has an image generation MCP (DALL-E, Imagen, Stable Diffusion, Midjourney bridge) it calls that; otherwise produces a usable placeholder (labeled SVG with correct dimensions, or a CSS gradient with text). Triggers include "画像生成して", "画像を作って", "ヒーロー画像", "OG画像作成", "generate images", "create hero image", "make placeholder images", "image assets", "画像アセット", or when the orchestrator (`lp-maker`) reaches Tier 4. Note that founder/customer/real-person portraits MUST NOT be AI-generated and are flagged for the user to provide real photos. Make sure to use this skill whenever the LP has image slots that need files, so `lp-coder-*` can reference real paths.

hanimaru1121/image-asset-planner

This skill should be used when the user wants a complete spec list of every image, illustration, and icon the LP needs — file names, exact dimensions (1x/2x/3x), formats, purposes, alt text, and ready-to-paste generative-AI prompts for Midjourney/DALL·E/Imagen/Adobe Firefly. Triggers include "画像仕様", "image plan", "画像リスト", "画像プロンプト", "AI画像", "Midjourneyプロンプト", "image spec", "what images do we need", "ヒーロー画像どうする", "アイコン仕様", or when the orchestrator (`lp-maker`) reaches Tier 3 Step 4. It reads `02-strategy/ia.json`, `02-strategy/copy.json`, and `03-design/design-tokens.json`, and writes `03-design/image-spec.json`. Make sure to use this skill BEFORE `image-asset-generator` in Tier 4 — without specs, generation is random and brand-inconsistent. Every needed image is enumerated so generation can be batched.

Verwandte Skills