Community图像github.com

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.

image-asset-planner 是什么?

image-asset-planner is a Claude Code agent skill that 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.

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/hanimaru1121/claude-skills/tree/HEAD/plugins/lp-maker/skills/image-asset-planner

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

在你喜欢的 AI 中提问

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

文档

image-asset-planner 是做什么的?

This skill enumerates every visual asset the landing page needs and produces a machine-readable specification for each: filename, dimensions at 1x/2x/3x, format, where it's used (section ID + role), alt text, and—most importantly—a generative-AI image prompt that bakes in subject, composition, style, lighting, mood, and brand color references. Without this plan, image generation drifts: hero photos use one lighting style, testimonial avatars use another, icons look like they came from three different sets. With this plan, every image generated downstream sits inside a unified visual language anchored to the design tokens.

When to use this skill

Run this skill when:

  • lp-workspace/02-strategy/ia.json, 02-strategy/copy.json, 03-design/design-tokens.json exist, and lp-workspace/03-design/image-spec.json does not
  • The orchestrator (lp-maker) reaches Tier 3 Step 4
  • The user says "what images do we need" / "image plan" / "Midjourney prompt" / "image spec"
  • IA changed (new sections need imagery) and the spec is stale

Do NOT use this skill when:

  • Any required input is missing—halt and route to the owning skill
  • The user wants images actually generated (route to image-asset-generator in Tier 4)
  • The user wants only icon planning (still use this—icons are part of the same plan)

Inputs

Required:

  1. lp-workspace/02-strategy/ia.json—sections needing imagery and their types. WHY: image needs are section-dependent (Hero needs a key visual, Logo Cloud needs logos, FAQ usually needs nothing).
  2. lp-workspace/02-strategy/copy.json—context for each section (what the headline says drives what the image should depict). WHY: a hero photo for "Complete your tax return in 30 seconds" should show a relaxed user with a phone, not a sad accountant.
  3. lp-workspace/03-design/design-tokens.json—color.primary, color.accent hex codes for the prompt's color references, and brandTone echoes for style direction.

Optional: 4. lp-workspace/00-brief.json—business.industry, business.brandTone, constraints.brandAssets (existing logo, mascot, photography library). WHY: existing brand assets must be reused, not regenerated. 5. lp-workspace/01-analysis/personas.json—primary persona demographics so people-photos depict the actual customer, not a generic stock person. 6. lp-workspace/01-analysis/reference-clone.json—visual references the user pointed at, for style direction.

If any required input is missing, halt:

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

Process

Step 1. Validate upstream and read inputs

Read all required files. Read optional inputs if present. Note design-tokens.color.primary.500 and accent.500 hex codes—these will be referenced in every prompt to anchor color identity.

Step 2. Establish a global visual style direction

Before listing per-image specs, decide and record a globalStyle object that every prompt will inherit. Fields:

  • mediumPreference—"photography" / "3D render" / "flat illustration" / "isometric illustration" / "line art" / "mixed (photo + illustration)". Decide based on brandTone:
    • trustworthy / corporate / fintech → photography (real humans) + minimal line icons. WHY: photo realism signals legitimacy.
    • playful / consumer / kids → flat illustration or 3D render. WHY: illustration de-formalizes; consumer brands use it to feel friendly.
    • luxury / premium → editorial photography, high contrast, shallow DoF. WHY: photographic craft signals premium.
    • tech / SaaS / B2B → mixed—product UI screenshots + spot illustrations + abstract gradients.
  • lighting—"soft natural daylight" / "studio lit" / "dramatic side light" / "flat editorial" / "ambient golden hour". WHY: consistent lighting is the single biggest unifier across a photo set.
  • colorPalette—explicit hex references: "primary brand color #XXXXXX should appear as accent prop / wardrobe / background tint in every hero photo; accent #YYYYYY may appear in highlights".
  • compositionLanguage—"rule of thirds, negative space upper-right for headline overlay" / "centered hero subject" / "wide environmental shots".
  • peopleDirection—match persona: age range, ethnicity if specified, attire (business / casual / sportswear), expression (warm-but-not-grinning / focused / candid). NEVER use stereotyped descriptors. WHY: stock-photo-feeling images destroy authenticity; specifying real-customer attributes produces images that read as "this is for me".
  • prohibitions—what NEVER to depict: "no hands with six fingers (common AI artifact)" / "no clip-art faces" / "no smiling at camera in B2B" / "no clichéd metaphors (lightbulbs for ideas, handshakes for partnership)".

WHY a global style block: every per-image prompt inherits this. Twenty separate prompts without a shared style produce twenty inconsistent images.

Step 3. Enumerate images per section

Walk every section in ia.json.sections and list its image needs. Common section→image mapping:

  • Header—logo (often already exists in brand assets—if so, REFERENCE it, don't regenerate).
  • Hero—1 key visual (hero image or hero illustration). Often by far the most important asset on the page.
  • Problem—0–3 spot illustrations or icons depicting each pain point.
  • Solution—1 explanatory diagram or product mockup.
  • Benefits—1 icon per benefit (typically 3–4 icons). Style as a coherent icon set.
  • Features—1 product screenshot or feature illustration per feature row.
  • Social Proof / Testimonials—1 avatar per testimonial (real customer photo preferred; AI-generated avatars only if real photos unavailable AND the testimonial is presented as anonymized).
  • Logo Cloud—N customer/press logos (NEVER generated—must be real and authorized).
  • Case Study—1–2 photos (customer in context) or 1 screenshot of result.
  • Pricing—usually no images; check tokens for tier-icon needs.
  • FAQ—usually no images.
  • Guarantee—1 badge or icon (e.g. shield, checkmark seal).
  • About / Founder Story—1 portrait of founder (real photo strongly preferred; AI not appropriate here).
  • CTA section—sometimes 1 supporting image; often pure text.
  • Footer—usually no images beyond logo.

Skip sections that don't need imagery (FAQ, most Pricing)—empty image arrays for those are fine.

Step 4. Specify each image in detail

For each image, write an entry with:

  • id—unique kebab-case (hero-key-visual, benefit-icon-speed, testimonial-avatar-tanaka). WHY: stable IDs allow image-asset-generator to match prompts to output files.
  • section—IA section ID this image belongs to.
  • role—"hero" / "icon" / "avatar" / "product-shot" / "illustration" / "diagram" / "badge" / "logo" / "background" / "texture".
  • description—one human sentence: "Founder portrait against soft out-of-focus office background".
  • dimensions—object with 1x, 2x, 3x widths AND heights. Pick base size by role:
    • Hero: 1600x900 (16:9 desktop) plus mobile crop 750x1000 (3:4). Ship 1x/2x for high-DPI.
    • Benefit icons: 64x64 (1x), 128x128 (2x), 192x192 (3x).
    • Avatars: 96x96 (1x), 192x192 (2x), 288x288 (3x), always 1:1.
    • Product screenshots: 1200x800 (1x), 2400x1600 (2x).
    • Logos: 200x60 typical horizontal logo proportions.
    • Open Graph share image (always include one): 1200x630 per OG spec.
  • format—"webp" (default for photos/illustrations—best compression vs. quality), "svg" (icons, logos, line illustrations—vector, scales infinitely, tiny), "jpg" (fallback for legacy email/CMS), "png" (only when transparency is required and SVG isn't viable). WHY each choice: WebP saves 25–35% vs JPEG with equivalent quality and is supported by 97%+ of modern browsers; SVG icons stay sharp at any DPR and animate cleanly; PNG is heavier so use sparingly.
  • purpose—one sentence: "Communicate 'effortless quick' feeling in 3 seconds above the fold".
  • altText—actual alt text string in project.language. Describe FUNCTION not appearance for informative images; use empty string for purely decorative. WHY: alt text is read by screen readers (accessibility) AND parsed by Google for image search ranking; vague alt ("hero image") wastes both.
  • filename—production filename per role: hero-key-visual.webp, benefit-icon-speed.svg, avatar-tanaka.webp, og-share.jpg.
  • aiPrompt—the generative-AI prompt. See Step 5.
  • negativePrompt—what to exclude (for tools that support it): "text, watermark, low quality, distorted hands, extra fingers, oversaturated, cluttered background".
  • aspectRatio—e.g. "16:9", "1:1", "3:4"—derived from dimensions, but explicit for prompt readability.
  • source—"generate" / "brand-asset" / "customer-supplied" / "licensed-stock". Critically, mark portrait shots of real people (founder, testimonials) as "customer-supplied"—these MUST come from the real person, not AI. WHY: AI-generating a fake face for a testimonial is deceptive and in many jurisdictions illegal under consumer-protection or equivalent regulations.

Step 5. Construct each aiPrompt

Template every prompt with the layered prompt pattern (subject → composition → style → lighting → color → mood → quality tags):

[SUBJECT in detail], [COMPOSITION—framing, focal point, negative space placement],
[STYLE—photographic style or illustration style from globalStyle.mediumPreference],
[LIGHTING—from globalStyle.lighting],
[COLOR—explicit brand hex references: "subtle accents of #XXXXXX (brand primary)"],
[MOOD—emotional tone, two adjectives],
[QUALITY—"high detail, professional, sharp focus" for photo; "clean lines, even stroke weight, geometric simplicity" for icons],
[TECH—aspect ratio, camera lens if photo (e.g. "85mm lens, f/2.8"), or vector if illustration]

Example Hero prompt for a trustworthy fintech LP (primary #0e4d92):

"A 35-year-old Japanese business owner sitting confidently at a minimal wooden desk, holding a smartphone, looking down at it with calm focused expression. Composition: subject occupies left two-thirds, soft out-of-focus office plants in the right third (negative space for headline overlay). Style: editorial corporate photography, slightly desaturated, contemporary. Lighting: soft natural daylight from large window camera-left, warm key + cool fill. Color: muted neutrals with subtle accents of navy #0e4d92 visible in the chair upholstery; no other strong hues. Mood: composed, capable. Technical: 85mm lens, f/2.8, 16:9 aspect ratio, high detail, sharp focus on subject's hands and face."

For icons (Benefits), shift template to vector language:

"Flat line icon of a stopwatch showing 30 seconds, single weight (2px) stroke, rounded line caps, geometric construction on a 24px grid, monochrome navy #0e4d92 on transparent background. Style: minimal corporate icon set member, paired with five other operational icons in the same family. No fill, line only. SVG-ready vector."

WHY this much detail per prompt: vague prompts ("hero image of a happy customer") produce stock-photo cliché. Detailed, multi-layered prompts produce on-brand outputs the first or second iteration instead of the tenth. The user's time is the most expensive variable here.

For each prompt, append a recommendedTool field: Midjourney (best photographic editorial), DALL·E 3 (best at following text-heavy instructions, integrates with ChatGPT), Imagen 3 (best photorealism, Google ecosystem), Adobe Firefly (best commercial-license safety), Stable Diffusion + LoRA (best for branded character consistency). Tool choice is a real cost/quality tradeoff worth surfacing.

Step 6. Specify icon set coherence rules

If 3+ icons are needed across Benefits/Features/Guarantee, add a top-level iconSet object specifying:

  • style—e.g. "filled-rounded" / "line-only-2px" / "duotone primary-500 + neutral-300"
  • gridSize—24px or 32px
  • cornerRadius—match design-tokens.radius
  • strokeWidth—uniform across the set
  • fillRule—e.g. "all icons filled OR all icons line—never mix"

WHY: mixed icon styles are the visual signature of an amateur LP. A single rule set keeps the whole UI feeling crafted.

Step 7. Specify Open Graph and favicon

Always include:

  • og-share.jpg at 1200x630—used when the LP is shared on Slack/X/LinkedIn/LINE. WHY: a missing or wrong-sized OG image kills social CTR.
  • favicon.svg (preferred) plus favicon-32.png, favicon-16.png, apple-touch-icon-180.png—browser tab and home-screen icon. WHY: the absence of a favicon signals "incomplete" before the user even reads the page.

Step 8. Write 03-design/image-spec.json

Output structure:

{
  "globalStyle": { ... },
  "iconSet": { ... },
  "images": [
    { "id": "...", "section": "...", "role": "...", "dimensions": {...}, "aiPrompt": "...", ... },
    ...
  ],
  "ogAndFavicon": [ ... ],
  "totals": { "count": N, "toBeGenerated": M, "fromBrand": K, "customerSupplied": J }
}
  • Ensure lp-workspace/03-design/ exists.
  • Back up existing image-spec.json to .backup.
  • Pretty-print with 2-space indent.

Step 9. Report back

Image spec planned:
File: lp-workspace/03-design/image-spec.json
Image count: Total [total] (Generate [M] / Brand existing [K] / Customer-supplied required [J])
Global style: [mediumPreference] / [lighting] / Color accent #XXXXXX
Icon set: [style] / 24px grid / strokeWidth [N]px

Images requiring customer-supplied photos (founder portrait, testimonial faces, etc.) should NOT be generated with AI.
Next step: Run image-asset-generator (Tier 4) for batch generation

WHY callout customer-supplied images: drives the user to actually request them from the customer NOW, not after the page is built.

Output

File written: lp-workspace/03-design/image-spec.json

Contains: globalStyle, iconSet, images[], ogAndFavicon[], totals.

Reported to user: A human-readable summary of image count, source breakdown, global style, icon set rules, and critical callout for customer-supplied images.

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/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

相关技能