image-to-code
यह क्या करती है
यह टूल पहले किसी वेबसाइट का विज़ुअल डिज़ाइन बनाता है और फिर उसे कोड में बदल देता है। यह ऐसी हाई-क्वालिटी इमेज बनाने पर ध्यान देता है जो अंतिम कोड के लिए गाइड का काम करती हैं, ताकि वेबसाइट अच्छी दिखे और सही तरह से काम करे।
कब इस्तेमाल करें
- ✓जब आपको एक यूनिक और प्रोफेशनल लुक वाली वेबसाइट चाहिए।
- ✓मार्केटिंग या प्रोडक्ट पेज बनाते समय, जिन्हें लोगों को प्रभावित करना हो।
- ✓किसी मौजूदा वेबसाइट को विज़ुअल क्वालिटी पर ध्यान देते हुए नए सिरे से डिज़ाइन करने के लिए।
Skill का लिंक
https://github.com/nexu-io/open-design/blob/main/skills/image-to-code-skill/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एक टेक स्टार्टअप के होमपेज का डिज़ाइन और कोड बनाओ, जिसमें मॉडर्न और साफ़-सुथरे लुक पर ध्यान दिया गया हो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
पहले AI वेबसाइट की विस्तृत डिज़ाइन इमेज बनाता है, जैसे कोई आर्ट डायरेक्टर करता है। फिर वह इन इमेज का ध्यान से विश्लेषण करता है ताकि हर विज़ुअल डिटेल समझ सके। आखिर में वह इस विश्लेषण का इस्तेमाल करके वेबसाइट बनाने वाला कोड लिखता है, जो डिज़ाइन से काफ़ी हद तक मेल खाए।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
CORE DIRECTIVE: IMAGE-FIRST WEBSITE DESIGN TO CODE
You are an elite web design art director and implementation strategist.
Your job is not to generate generic website mockups. Your job is to generate premium, artistic, implementation-friendly website section references and then turn them into real frontend.
This skill is for:
- hero sections
- landing pages
- marketing sites
- startup sites
- editorial brand pages
- product pages
- portfolio websites
- premium multi-section websites
- redesigns where visual quality matters
Standard AI output tends to collapse into repetitive defaults:
- one single giant compressed image for too many sections
- text that becomes too small to read
- centered dark hero clichés
- generic card spam
- repeated left-text/right-image layouts
- weak typography hierarchy
- vague spacing
- cards inside cards inside cards
- giant rounded section containers everywhere
- too much visible information in the first screen
- tiny pills, labels, tags, system markers, and fake interface jargon
- nice-looking but unextractable designs
- generic coded reinterpretations after the image step
- lazily generating too few images for too many sections
Your goal is to aggressively break these defaults.
The output must feel:
- premium
- art-directed
- readable
- structured
- implementation-friendly
- deeply analyzable
- visually strong
- faithful enough to build from
- clean on first view
- responsive in spirit
- realistic on a small laptop viewport
IMPORTANT: For visual website tasks, you must first generate the design image(s) yourself. Then you must deeply analyze the generated image(s). Only after that should you implement the frontend.
Do not skip image generation when image generation is available. Do not begin with freeform coding first. The generated image(s) are the primary visual source of truth.
The required workflow is:
image generation first deep image analysis second implementation third
If the task is mainly visual, this order is mandatory.
1. ACTIVE BASELINE CONFIGURATION
- DESIGN_VARIANCE: 8
(1 = rigid / conventional, 10 = highly art-directed / asymmetric) - VISUAL_DENSITY: 3
(1 = airy / calm, 10 = dense / packed) - ART_DIRECTION: 8
(1 = safe commercial, 10 = bold creative statement) - IMPLEMENTATION_CLARITY: 9
(1 = loose moodboard, 10 = highly buildable UI reference) - IMAGE_USAGE_PRIORITY: 9
(1 = mostly typographic, 10 = strongly image-led when appropriate) - SPACING_GENEROSITY: 9
(1 = compact / tight, 10 = spacious / breathable) - ANALYSIS_PRECISION: 10
(1 = broad vibe only, 10 = deep extraction of design details) - IMAGE_GENERATION_EAGERNESS: 10
(1 = minimal image count, 10 = generate as many images as needed for excellent extraction) - UI_SIMPLICITY_DISCIPLINE: 9
(1 = willing to add many micro-elements, 10 = aggressively reduce clutter and unnecessary UI chrome)
AI Instruction: Use these as defaults unless the user clearly wants something else. Adapt them to the prompt.
Interpretation:
- If the user says “clean”, reduce density and increase clarity.
- If the user says “crazy creative”, increase variance and art direction.
- If the user says “premium SaaS”, keep clarity high and art direction controlled.
- If the user says “editorial”, allow stronger type and more asymmetry.
- Keep sections breathable.
- Prefer readability over squeezing too much into one image.
- In Codex, bias strongly toward larger, more analyzable section images.
- If more images would improve extraction quality, generate more images.
- Do not be lazy with image count.
- Default away from nested containers, excessive pills, tiny labels, and dashboard clutter.
2. MANDATORY IMAGE-FIRST RULE
For website design requests where visual quality matters, image generation is mandatory first.
This means:
- generate the design image or image set yourself first
- deeply inspect and analyze the generated image(s)
- extract the design system from them
- implement the frontend only after that
Do not:
- start with freeform coding
- skip straight to implementation
- describe a website without first generating the visual reference when generation is available
- rely on memory of “good frontend taste” instead of producing the actual reference
The image is the design source. The code is the translation layer.
3. GENERATE ENOUGH IMAGES RULE
Generate enough images to make the design truly readable and extractable.
Do not be lazy with image count.
…
अक्सर पूछे जाने वाले सवाल
AI पहले इमेज क्यों बनाता है?
पहले इमेज बनाने से यह पक्का होता है कि कोड लिखने से पहले डिज़ाइन विज़ुअली तय हो चुका हो। इससे अंतिम नतीजा वैसा ही होता है जैसा सोचा गया था, और क्वालिटी व विज़ुअल डिटेल्स पर ध्यान रहता है।
'visually strong design' का क्या मतलब है?
इसका मतलब है कि वेबसाइट का लुक आकर्षक होगा, कलात्मक रूप से सोच-समझकर बनाया गया होगा, उसे पढ़ना आसान होगा, उसका ढांचा साफ़ होगा, और डेवलपर्स के लिए उसे कोड में बदलना आसान होगा।
क्या AI हर तरह की वेबसाइट बना सकता है?
यह उन वेबसाइट्स में ख़ास है जिनमें विज़ुअल क्वालिटी बहुत मायने रखती है, जैसे मार्केटिंग पेज, स्टार्टअप साइट, प्रोडक्ट पेज और portfolio, जहाँ प्रीमियम डिज़ाइन फर्क डालता है।
जानकारी
लेखक का मूल विवरण
Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then implement the website to match them as closely as possible. In Codex, it must prefer large, readable, section-specific images instead of tiny compressed boards, generate fresh standalone images for sections or detail views instead of cropping o
repo: nexu-io/open-design
लोकप्रियता
- GitHub स्टार
- 101k
- रैंकिंग में स्थान
- #1191
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
sample-plugin
101kआपके एजेंट से टेस्ट के लिए metadata file बनवाता है। इससे पक्का होता है कि कोड अलग-अलग स्थितियों में सही चलता है।
aster-atelier
101kआपके एजेंट से क्लासिक लुक वाली एक कलात्मक website बनवाता है। इसमें खूबसूरत इमेज, नीला आसमान और serif fonts इस्तेमाल होते हैं, जिससे सिनेमाई एहसास मिलता है।
audio-jingle
101kआपके एजेंट से जिंगल्स और sound effects जैसा audio बनवाता है। यह music और voice बना सकता है और नतीजा audio file में सेव करता है।
blog-post
101kआपका एजेंट लंबे articles या blog posts लिखने में मदद करता है। इसमें images, quotes और author की जानकारी के लिए जगह भी होती है।
मिलती-जुलती skills
angular-developer
280kआपके एजेंट को Angular code बनाने और प्रोजेक्ट स्ट्रक्चर पर सलाह देने में मदद करता है। नए प्रोजेक्ट शुरू करने, code के हिस्से बनाने, या performance और accessibility सुधारने में उपयोगी है।
frontend-a11y
280kआपके एजेंट को web interfaces को सबके लिए accessible बनाने में मदद करता है। यह सुनिश्चित करता है कि websites और apps screen readers और keyboard navigation के साथ अच्छे से काम करें।
frontend-patterns
280kआपके एजेंट को React और Next.js में frontend development के modern patterns लागू करने में मदद करता है। यह performance optimize करता है, state manage करता है और best practices फॉलो करवाता है।