Dégradés maillés GenAI

VérifiéPrudence

Workflow de conception visuelle pour créer, reconstruire et affiner des dégradés maillés contrôlables via Figma ou SVG/code, avec palette et direction artistique.

Spar Skills Guide Bot
ContenuIntermédiaire
12/11/2026
Claude CodeCursorWindsurfCodex
#mesh-gradient#visual-design#figma#svg#generative-art

Recommandé pour

Synthèse automatique

Une compétence de workflow pour concevoir des dégradés maillés contrôlables (présentations, fonds web, visuels de marque) en traduisant une intention ou une référence en une recette de paramètres, puis en la rendant via Figma, SVG ou Canvas/WebGL.

Points forts

  • Sépare explicitement trois tâches — reconstruction d'une référence, génération originale et abstraction dérivée d'une image — avec des contraintes propres à chacune.
  • Un tableau d'aiguillage associe chaque besoin (visuel Figma éditable, SVG portable, flux déformé, illustration générée) à la route appropriée et indique ce qui reste modifiable.
  • Propose une méthode de comparaison de palettes (monochrome, analogue, accent contrasté) à géométrie et graine identiques, pour que l'utilisateur choisisse la couleur et non la composition.
  • Assume clairement son périmètre : instructions et petits rendus procéduraux, sans modèles de diffusion entraînés ni connexion Figma fournie.

Limites

  • Le texte de la compétence est tronqué au milieu de la section sur la découverte du connecteur, ce qui laisse la procédure de branchement outil incomplète.
  • Le résultat dépend fortement d'outils externes (connecteur Figma, éditeur SVG, générateur d'images) que la compétence n'installe ni n'authentifie.
  • Aucun exemple de rendu ni critère d'évaluation concret n'est fourni pour juger la qualité du dégradé produit.
Quand l'utiliser

À utiliser lorsqu'il faut produire un fond dégradé maillé éditable ou une étude visuelle à partir d'une palette ou d'une image de référence, avec des contraintes de support et de lisibilité du texte.

Quand l'éviter

À éviter si l'on cherche des illustrations détaillées ou des pixels générés par un modèle, ou si aucun outil de rendu (Figma, SVG, Canvas) n'est disponible pour exécuter la recette.

Analyse de sécurité

Prudence
Score qualité88/100

No destructive, exfiltration, obfuscation, or safety-disabling instructions are present. The workflow is legitimate and explicitly warns against publishing private links or third-party assets. The only caution is reliance on local script execution and external design-tool connectors whose code and permission scope are not visible in the provided content.

Points d'attention
  • •The skill references local helper scripts (scripts/render_svg.py, scripts/figma_native.js, scripts/palette_studies.js, scripts/blue_orange_studies.js) and external Figma/image-generation connectors, but the script contents and connector permissions are not included in the supplied SKILL.md, so their behavior cannot be fully audited from this text alone.
Comment cette analyse est faite

Exemples

Slide background with text zone
Create a calm, sky-inspired mesh gradient background for a 16:9 pitch deck slide at 1920×1080, keeping a quiet dark area in the lower left for the title. Show me three palette options first, then render the one I pick.
Reconstruct a reference
Reconstruct this reference image as a mesh gradient: keep its composition, color proportions, bright and dark masses and edge softness. Here is the file — tell me the recipe before rendering.
Editable brand hero in SVG
Produce an editable SVG mesh gradient for a website hero using our brand colors #0F2A44 and #F2A65A, and check that the mobile crop leaves the headline readable.

name: genai-mesh-gradient description: 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

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.

| Need | Route | What stays editable | |---|---|---| | Figma still, color masses, soft topology | Native radial fills and optional vector shapes | Shape, fill, stop alpha, position, scale, stacking | | Portable still without a write connection | Layered SVG | Paths and gradient definitions in an SVG editor; import fidelity must be checked | | Warped flow, diffusion, paint simulation, continuous reveal | Canvas/WebGL or a tool with documented shader support | Parameters/code; an exported bitmap is flattened | | Model-generated material or complex illustration | Available image-generation tool | Usually 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:

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

| Symptom | Likely cause | First correction | |---|---|---| | Defocused photograph | Renderer still depends on fine source pixels | Rebuild from simplified regions; discard fine texture | | Muddy/gray mixture | Too much overlapping complementary pigment | Separate major masses; reduce broad alpha; restore a light or dark anchor | | Visible colored circles | Similar circular masses and isolated boundaries | Vary aspect/placement; overlap; use shaped vectors where contours matter | | Horizontal sunset bands | Centers aligned on rows | Change topology and direction, not just hue | | Texture covers everything | Grain too large or opaque | Lower amount; inspect at actual display size | | Petal looks like a flower icon | Perfect radial symmetry, central rosette | Enlarge/crop planes; use a curved shadow and transmitted light if the reference calls for it | | Dreamlike looks ornamental | Thin closed highlight loop replaces broad light | Remove the outline and restore unequal offset light/shadow regions | | Heightmap stays simple despite many layers | Repeated scaled outline, no saddles | Change the height field and inspect splits/merges before increasing levels | | Export differs from preview | Different dimensions, color/filter handling or pipeline | Render 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.

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/genai-mesh-gradient-mvyrbl1i/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/genai-mesh-gradient-mvyrbl1i' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/genai-mesh-gradient-mvyrbl1i/download' --output '.skill-downloads/genai-mesh-gradient-mvyrbl1i/SKILL.md.part' && mv '.skill-downloads/genai-mesh-gradient-mvyrbl1i/SKILL.md.part' '.skill-downloads/genai-mesh-gradient-mvyrbl1i/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/genai-mesh-gradient-mvyrbl1i/SKILL.md' && test -s '.skill-downloads/genai-mesh-gradient-mvyrbl1i/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/genai-mesh-gradient' && cp -R '.skill-downloads/genai-mesh-gradient-mvyrbl1i' '.claude/skills/genai-mesh-gradient'

Cursor
test -f '.skill-downloads/genai-mesh-gradient-mvyrbl1i/SKILL.md' && test -s '.skill-downloads/genai-mesh-gradient-mvyrbl1i/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/genai-mesh-gradient' && cp -R '.skill-downloads/genai-mesh-gradient-mvyrbl1i' '.cursor/skills/genai-mesh-gradient'

Codex
test -f '.skill-downloads/genai-mesh-gradient-mvyrbl1i/SKILL.md' && test -s '.skill-downloads/genai-mesh-gradient-mvyrbl1i/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/genai-mesh-gradient' && cp -R '.skill-downloads/genai-mesh-gradient-mvyrbl1i' '.agents/skills/genai-mesh-gradient'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/genai-mesh-gradient-mvyrbl1i'

openskills read 'genai-mesh-gradient-mvyrbl1i'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/genai-mesh-gradient-mvyrbl1i/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires