شعار Genai Mesh Gradient

Genai Mesh Gradient

المجتمع
9929y
genai-mesh-gradient

A research-informed GenAI visual-generation workflow. Translate user intent and design constraints into controllable mesh gradients; generate and refine mesh gradients for presentations, web backgrounds and brand visuals, with palette selection and brand-design guidance. Use editable Figma layers or SVG/code routes for sky-inspired, dreamlike, flower-inspired, diffuse, heightmap and multipoint effects, including reference reconstruction.

نظرة عامة

الناشر9929y
المستودعgenai-mesh-gradient
اسم المهارةgenai-mesh-gradient
النجوم
107
التفريعات
8
الملفات المرفقة
25
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 25

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها 9929y على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Genai Mesh Gradient في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/9929y/genai-mesh-gradient/tree/main
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/9929y/genai-mesh-gradient.git \
  .claude/skills/genai-mesh-gradient
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Genai Mesh Gradient في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Genai Mesh Gradient تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Genai Mesh Gradient بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

GenAI Mesh Gradient

A research-informed agent skill for controllable visual generation, developed by Yanice Yang (research publications: Liuqingqing Yang). The workflow connects user input, explicit design constraints and feedback to editable visual output. Read the bilingual README for the two related papers and the precise connection. This package supplies agent instructions and procedural renderers; it does not implement or reproduce the papers' trained diffusion models. Do not present their reported metrics as results for this skill or infer sole invention from coauthorship. Use an external image-generation tool only when the task calls for model-generated pixels and label that output accurately.

Turn a visual reference into an explicit recipe, render it in a suitable tool, inspect the result, and adjust the parameter responsible for the mismatch. Prefer an editable construction when the user needs to keep designing.

This skill supplies design decisions and small rendering helpers. It does not install an app, establish a Figma connection, or grant file permissions.

Start with the actual request

Identify the reference or palette, intended use, dimensions, transparency, editability, and whether the user wants a still, ambient motion, or image reveal. Use provided context; ask only when a missing choice changes the outcome. If dimensions are unspecified, use a 1200 × 800 landscape study and say so.

Read art-direction.md for the intended use, palette selection, brand judgment and an editing process a non-specialist can follow. For a deck, design in its actual slide ratio with a quiet text zone. For a website, check mobile crop and text protection. Do not deliver an artwork that only looks good without its real foreground content.

When color is undecided, offer a small comparison: monochromatic, analogous, and a restrained contrasting accent (or neutral-plus-accent for dense content). Use the same geometry and seed so the user is choosing color, not different compositions. Explain roles, a fitting use and a tradeoff; lock the selected palette before making a large batch. Do not overwrite supplied brand colors.

Distinguish three tasks:

  • Reconstruct: preserve the reference's composition, color proportions, bright and dark masses, direction, and edge behavior. Do not replace these with a random attractive palette.
  • Generate: design a new composition from the requested palette and mood. Label it as an original study rather than an exact recreation.
  • Image-derived abstraction: extract color, connected regions, approximate coverage, position, luminance, and major structure before choosing a renderer.

Choose a route by capability

Read adapters.md for the selected tool only.

NeedRouteWhat stays editable
Figma still, color masses, soft topologyNative radial fills and optional vector shapesShape, fill, stop alpha, position, scale, stacking
Portable still without a write connectionLayered SVGPaths and gradient definitions in an SVG editor; import fidelity must be checked
Warped flow, diffusion, paint simulation, continuous revealCanvas/WebGL or a tool with documented shader supportParameters/code; an exported bitmap is flattened
Model-generated material or complex illustrationAvailable image-generation toolUsually pixels; never describe it as editable mesh geometry

Discover the actual connector tools before promising an action. A connection with only read tools cannot create native Figma layers. If a Figma write tool exists, use its current instructions and required session flow. Otherwise offer SVG or a runnable renderer, or explain the one missing connection. Do not silently substitute a bitmap for requested editable layers.

Write a compact recipe before rendering

Use normalized coordinates with the origin at the top left. Specify:

text
effect: sky-inspired | dreamlike | flower-inspired | diffuse | heightmap | multipoint
optional browser study: atmospheric | fluid | pigment | oil | silhouette | petal
canvas: width, height, opaque base or transparent
palette: ordered colors with intended roles and rough area proportions
regions: color, center(x,y), extent(rx,ry), direction, opacity, edge softness
structure: bright/dark masses, silhouette or petal boundary if required
material: grain scale/amount, optional warp, pooling or brush hierarchy
seed: fixed for reproducible comparisons
delivery: native Figma | layered SVG | rendered image | executable code

Several disconnected regions may share one color. One average position per color loses a composition with the same hue in opposite corners. Region radii and alpha are not area coverage: overlap and stacking change the visible proportions. Inspect the composite before claiming a palette match.

Build the still first

For the Figma workflow, read figma-recipes.md: Sky-inspired, Dreamlike, Flower-inspired, Diffuse, Heightmap, and Multipoint. For matching an existing bitmap, also read the fitting and detail-calibration procedure there. These are distinct construction choices, not six filters.

Read effects.md only for the related browser-rendering families (atmospheric, fluid, pigment, brush, silhouette and petal). Keep each visual grammar separate from presets such as pale, dark, or saturated. A fidelity level is a mode of an effect, not a new effect family.

  1. Block the base and major color masses. Match composition and light/dark balance before adding texture.
  2. Adjust overlap, asymmetry, edge softness, and local contrast. A few strong masses often work better than many weak ones.
  3. Add only the material cues that distinguish the requested family. Keep fine grain separate from low-frequency boundary distortion.
  4. Render at the intended dimensions. Inspect both the whole image and a detail crop at normal display scale.
  5. Fix the dominant mismatch, keeping seed and unrelated parameters fixed. Stop when the reference/use-case criteria pass.

Simplify the user's edits

Expose a few meaningful choices first: use-case/quiet zone, palette, composition, fusion/softness and contrast. Keep per-layer controls available for refinement. Return massNodes from the native helper so later edits can target each group's transform and its separate color fill without changing the mask.

For size, aspect ratio, palette sample recipes and blur, read palettes-and-layout.md. At a 1536×1024 reference size, compare 100 / 150 / 200 px for broad light fields. The current soft Flower uses 125–160 px and 56–85% plane opacity; the 40-level Heightmap uses 24–38 px; scale a chosen radius by min(width,height)/1024 when resizing the canvas. Changing export scale alone does not require changing the layer radius again. Tune sample-specific values for edge fusion and contour identity; use broader diffusion only when it serves the composition; judge each layer rather than imposing one number. The Gaussian-mask method has no extra layer blur by default. For a different aspect ratio, recompose the centers and quiet zone, and define physical mass radii relative to the short side; do not nonuniformly stretch or assume a centered crop will work.

Use scripts/palette_studies.js for the exact four-pool browser palette examples and three recomposed Gaussian-mask layout specs. These are original sample recipes, not automatic replicas of the six Figma studies. Inspect a selected sample in design/illustrations/ when matching its appearance; a method label alone is not enough. The old radial petal SVG sketch is not the Flower target.

For normal recoloring, edit the named color fills, preserve geometry, then inspect the composite. For layout, move/scale/rotate a whole mass group. Keep raster corrections off during substantial redesign.

The current blue/orange gallery can be reconstructed with scripts/blue_orange_studies.js, inlined after figma_native.js; read the current construction table in figma-recipes.md. This six-study builder has been executed in live Figma and returns native artboard/layer IDs. Its paths use a 3:2 composition; recompose before adapting to a different ratio.

Helpers:

  • scripts/figma_native.js defines buildMesh(figma, spec) for native Gaussian alpha-mask groups with separate solid color fills. Read the adapter first. It deliberately creates no texture, segmentation, mesh control-point grid, or animation.
  • python3 scripts/render_svg.py --effect atmospheric --output study.svg creates an original deterministic SVG study. Run --help for dimensions, seed, palette and texture options. It provides four schematic families; it does not analyze an input image or reproduce all six advanced effects.

Diagnose instead of adding more blur

SymptomLikely causeFirst correction
Defocused photographRenderer still depends on fine source pixelsRebuild from simplified regions; discard fine texture
Muddy/gray mixtureToo much overlapping complementary pigmentSeparate major masses; reduce broad alpha; restore a light or dark anchor
Visible colored circlesSimilar circular masses and isolated boundariesVary aspect/placement; overlap; use shaped vectors where contours matter
Horizontal sunset bandsCenters aligned on rowsChange topology and direction, not just hue
Texture covers everythingGrain too large or opaqueLower amount; inspect at actual display size
Petal looks like a flower iconPerfect radial symmetry, central rosetteEnlarge/crop planes; use a curved shadow and transmitted light if the reference calls for it
Dreamlike looks ornamentalThin closed highlight loop replaces broad lightRemove the outline and restore unequal offset light/shadow regions
Heightmap stays simple despite many layersRepeated scaled outline, no saddlesChange the height field and inspect splits/merges before increasing levels
Export differs from previewDifferent dimensions, color/filter handling or pipelineRender both through the same pipeline; check actual exported pixels

Add motion only when requested

Read motion.md. Keep the still's settings independent from reveal progress and ambient time. Do not assume every effect should end at a photograph: use the user's requested endpoint.

Deliver with evidence

Return the usable artifact or Figma node link, route, effect and key adjustable parameters. State what is editable and which effects were approximated or rasterized. Confirm export dimensions, background/alpha and orientation. For a reference match, discuss composition/coverage/edges rather than claiming pixel identity without an image comparison.

Keep original references unchanged. Do not publish private file links, local paths, personal conversation transcripts, or third-party reference images as part of a reusable recipe. Use original examples or licensed assets.

Scope of evidence

The Figma recipes are grounded in read-only inspection of existing native artwork and recovered historical construction records. The original chat UI could not be restored. Node structures and representative renders were checked; design intent and undocumented algorithms are identified as interpretations. Browser effect and motion guidance additionally synthesizes archived prototype notes. Parameter ranges are starting points. See index.html for validation status. Neither raw history nor private Figma file links are bundled.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Genai Mesh Gradient؟

A research-informed GenAI visual-generation workflow. Translate user intent and design constraints into controllable mesh gradients; generate and refine mesh gradients for presentations, web backgrounds and brand visuals, with palette selection and brand-design guidance. Use editable Figma layers or SVG/code routes for sky-inspired, dreamlike, flower-inspired, diffuse, heightmap and multipoint effects, including reference reconstruction.

لماذا تستخدم Genai Mesh Gradient على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Genai Mesh Gradient عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Genai Mesh Gradient في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/9929y/genai-mesh-gradient/tree/main. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Genai Mesh Gradient؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Genai Mesh Gradient؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Genai Mesh Gradient معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Genai Mesh Gradient مجانية؟

نعم. نشرها 9929y على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇