Логотип Img To Frontend

Img To Frontend

СпільнотаПопулярне
am-will
img-to-frontend

Використовуйте цю навичку, коли потрібен повний цикл преміального візуального дизайну для будь-якого сайту чи вебсторінки, створюваних безпосередньо із зображень.

Add to TypingMind

Огляд

Видавецьam-will
Репозиторійcodex-skills
Назва навичкиimg-to-frontend
Зірки
1K
Форки
60
Файли в пакеті
2
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 2

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: am-will. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Img To Frontend у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/am-will/codex-skills/tree/main/skills/img-to-frontend
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/am-will/codex-skills.git /tmp/codex-skills
mkdir -p .claude/skills
cp -r /tmp/codex-skills/skills/img-to-frontend .claude/skills/img-to-frontend
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Img To Frontend в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Img To Frontend, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Img To Frontend не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Img to Frontend

Overview

Use this skill to run an image-first design-to-code workflow for visually appealing awwward winning websites. It must adapt to the user's brief, audience, content model, interaction needs, and brand intent rather than forcing a fixed category or visual trope.

The workflow is intentionally staged:

  1. Invoke $imagegen to create four distinct website/page design images.
  2. Stop so the user can select the image or images to use as the design reference.
  3. Translate only the selected image into a precise implementation prompt.
  4. Build the real page and iterate against screenshots until structure, hierarchy, typography, spacing, color, media treatment, component geometry, interactions, and responsive behavior are close to the reference.

Load references/visual-iteration-checklist.md for design variety, implementation, close visual replication, premium website work, complex UI sections, or repeated visual refinement.

When To Use

Use this skill when the user asks to:

  • Create several distinct website or page concepts before coding.
  • Turn an image or generated design into a real frontend page.
  • Produce a detailed prompt another coding agent can use to build a design.
  • Replicate a screenshot as real HTML/CSS/React rather than as an image.
  • Iterate on visual details like spacing, scale, typography, media treatment, visual systems, component alignment, interaction states, or responsive breakpoints.

Do not use this skill for ordinary business-logic changes, backend features, simple copy edits, or design critique that will not lead to generated images, a detailed implementation prompt, or frontend code.

Non-Negotiable Image Gate

The first deliverable is always four generated images. Do not jump straight to text prompts, implementation prompts, or code.

Required behavior:

  • Load and use the $imagegen skill for phase 1.
  • Generate four unique website/page images with the built-in image generation tool by default.
  • Make one image-generation call per concept unless the image tool supports equivalent multi-output generation in the current environment.
  • Render or present all four images to the user, one at a time.
  • Stop after presenting the images and ask which one the user wants to explore.
  • Do not write the detailed build prompt until the user selects a specific image.
  • Do not implement frontend code until the selected-image prompt phase is complete or the user explicitly skips it.

If image generation is unavailable or fails, report that blocker and ask whether the user wants text-only fallbacks. Do not silently substitute text briefs for the image stage.

Core Workflow

1. Design Exploration

Start by identifying the site context, audience, goal, style constraints, viewport, and must-have sections. If the user already gave enough context, do not pause for more input.

Generate four distinct website/page images through $imagegen. Each image must have its own visual language, not minor palette swaps. Vary structure, hierarchy, typography strategy, interaction model, information architecture, content emphasis, density, and brand behavior.

Choose directions that fit the site's purpose and audience. Different website types should develop from their own communication needs, not from a shared default template.

Use ui-mockup as the image-generation use case unless the user asks for a different raster style. The images should be polished enough for the user to choose between real visual directions, not rough wireframes.

For each direction, briefly label:

  • Overall art direction and emotional tone.
  • Page layout and content hierarchy.
  • Typography treatment and scale relationship.
  • Color palette with exact roles.
  • Visual centerpiece appropriate to the site's purpose, content, and user task.
  • Credibility, context, or trust treatment when relevant.
  • Motion idea, if appropriate.
  • What makes it meaningfully different from the other three.

2. Selection Pause

After the four images are created, stop and wait for the user to pick one or request revisions. Do not write the detailed build prompt and do not begin implementation until the user selects an image or explicitly asks to skip selection.

When the user references a selected image, verify which image they mean from the conversation context. If there is ambiguity, ask a short clarification before writing the prompt or coding.

3. Deep Build Prompt

Before coding, convert the selected image into a granular implementation prompt. The prompt should be specific enough that another frontend agent can build a near exact replica without guessing.

Include:

  • Canvas and viewport assumptions, including desktop target size and responsive requirements.
  • Exact page structure, grid proportions, maximum widths, gutters, and alignment rules.
  • Typography hierarchy, font choices, letter spacing, line-height, weights, italics, uppercase treatments, and no-wrap constraints.
  • Color tokens for background, surfaces, borders, primary accents, muted text, active states, status states, shadows, and media treatments.
  • Component inventory covering only the modules that actually appear in the selected design, described by their role, hierarchy, layout behavior, and content type.
  • Detailed behavior for any complex visual systems present in the selected image, including their structure, anchors, scale rules, states, responsive behavior, and fallback behavior.
  • Animation rules that are restrained and purposeful.
  • Explicit "do not" constraints that prevent fake implementation, generic styling, broken geometry, unreadable content, and overlapping responsive modules.
  • Acceptance criteria and screenshot comparison checklist.

4. Codebase Discovery

Inspect the project before editing. Determine the framework, routing model, styling system, package manager, existing design tokens, component patterns, image/font handling, lint/test/build commands, and primary codepath.

Respect existing architecture and design-system conventions. If the user is asking about library or framework docs, use the appropriate documentation skill before relying on memory.

If a reference image includes browser chrome, operating system UI, or mock browser decorations, treat that chrome as presentation context only. Build the actual page content, not the browser wrapper, unless the user explicitly asks for a browser mockup component.

5. Implementation

Build the selected design as real UI code.

Requirements:

  • Use semantic structure and accessible interactive elements.
  • Define design tokens for colors, spacing, typography, borders, shadows, media treatment, and breakpoints.
  • Prefer real CSS/SVG/HTML for visual marks, controls, structured visuals, content modules, and other interface details.
  • Do not flatten the design into a static image.
  • If the design includes linked, anchored, or spatially related elements, keep them in a shared coordinate or layout system so they resize together.
  • Use responsive layout rules that shrink complex UI first, then stack or simplify before overlap.
  • Preserve premium whitespace while avoiding unusable dead zones on large monitors.
  • Keep copy readable and avoid truncation unless the design explicitly calls for it.
  • Add only meaningful motion: page-load reveals, subtle hover states, media transitions, scroll reveals, or interface ambience when it supports the design.

6. Visual Iteration Loop

Run the page locally and capture screenshots at the reference viewport plus at least one wide desktop, one constrained desktop/tablet, and one mobile width when feasible.

Loop until the implementation has no obvious visual mismatch:

  1. Compare the screenshot against the selected reference image.
  2. Identify the largest visible mismatch first: composition, scale, alignment, typography, spacing, color, imagery, component geometry, complex-widget behavior, or responsive behavior.
  3. Patch the implementation.
  4. Re-run the page and capture a new screenshot.
  5. Repeat until additional changes are minor refinements rather than structural corrections.

Pay special attention to failures that commonly appear in screenshot replication:

  • Content is bunched together because component scale is too large.
  • Large monitors have excessive deadspace because the layout max-width is too narrow.
  • Orientation elements are offset from the main content system.
  • First-read text elements do not share the alignment, rhythm, or hierarchy shown in the reference.
  • Action labels wrap, icons drift, or control geometry breaks.
  • Repeated content, media, input, or trust modules collide with adjacent sections.
  • Dense component labels truncate because internal spacing is too tight.
  • Anchored or connected visual elements separate from the objects they are meant to describe.
  • Complex widgets overlap before the layout stacks or simplifies.
  • Mobile layout waits too long to stack.

Ensure the accuracy of your final output, especially before yielding back to the user. The mock generated image and the final output should look nearly identical. Focus on the details and precision.

7. Verification And Closeout

Run the most relevant checks available for the project: lint, typecheck, build, unit tests, and visual browser verification. If a check cannot run, state why.

Final response should include:

  • What was built or changed.
  • Files changed.
  • Verification commands and results.
  • Any residual visual risks, especially if screenshot comparison was limited by tooling or missing references.

Quality Bar

The output should feel like a premium website, not a generated template. Favor confident hierarchy, intentional palette, sharp spacing, precise alignment, brief-appropriate content modules, and a single strong visual thesis.

When matching a reference, optimize for visible fidelity over code cleverness. Typography, spacing, alignment, imagery, component geometry, and responsive behavior are first-class deliverables, not polish.

When the user says something looks wrong, treat it as direct visual evidence. Inspect the current implementation and reference, then patch the specific mismatch rather than explaining it away.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Img To Frontend?

Використовуйте цю навичку, коли потрібен повний цикл преміального візуального дизайну для будь-якого сайту чи вебсторінки, створюваних безпосередньо із зображень.

Навіщо використовувати Img To Frontend у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Img To Frontend — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Img To Frontend у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/am-will/codex-skills/tree/main/skills/img-to-frontend. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Img To Frontend?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Img To Frontend?

Зі скількома забажаєте. У TypingMind ви можете використовувати Img To Frontend із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Img To Frontend?

На GitHub цю навичку публікує am-will. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇