Skip to content
Development
Skill

/domain-generative

Use for generative modeling of images and audio: text-to-image, image editing or image-to-image, unconditional image generation, inpainting, super-resolution, style transfer, and audio or music generation, including fine-tuning or personalizing a base model. Picks diffusion vs

From plugin
mlcraft
823 skills1 agent1 command

Claude Code

$ npx -y skills add mxslr/mlcraft --skill domain-generative --agent claude-code

SKILL.md

domain-generative.SKILL.md
name: domain-generative
description: "Use for generative modeling of images and audio: text-to-image, image editing or image-to-image, unconditional image generation, inpainting, super-resolution, style transfer, and audio or music generation, including fine-tuning or personalizing a base model. Picks diffusion vs GAN, the right adaptation method, and generation-specific evaluation. For text generation use domain-nlp-llm instead. Triggers on 'generate images', 'text to image', 'diffusion', 'stable diffusion', 'GAN', 'image editing', 'inpainting', 'super resolution', 'synthesize', 'DreamBooth', 'LoRA image'."

Generative Models - Method Selection

Prefer fine-tuning a strong pretrained base over training from scratch. Use classifier-free guidance for text alignment.

Decision table

| Sub-task | Recommended | Notes | |---|---|---| | Text-to-image or general image generation | latent diffusion (Stable Diffusion family, SDXL) | diffusion now beats GANs on quality and diversity. | | Personalize or customize on a few images | LoRA, DreamBooth, or textual inversion on a diffusion base | parameter-efficient, small data. | | Fast or real-time, or paired image-to-image | GAN (pix2pix, StyleGAN) or a distilled diffusion model | GANs are faster at inference. | | Inpainting or super-resolution | diffusion inpainting, Real-ESRGAN | | | Audio or music generation | diffusion, or a transformer LM over audio tokens | |

Cross-cutting practice

  • Metrics: FID and KID (fidelity and diversity versus real data), CLIP score (text-image alignment), IS. For personalization, measure subject fidelity and prompt fidelity separately. Automatic metrics are weak proxies, so human evaluation remains essential. Do not judge on a single number.
  • Caveats: generated data can carry artifacts, so training a downstream model on synthetic data can hurt. Watch for training-data memorization, plus licensing and safety.
  • Explainability: cross-attention maps (which words drove which region) and guidance-scale sweeps.
  • Recent bases (2024): SD3 and FLUX text-to-image, plus consistency and distilled models for fast few-step sampling.
  • Improve results: use `accuracy-improvement-loop`; evaluate with `rigorous-evaluation` (generation metrics plus human review).
Read more
@mxslr
Ships withmlcraft

A research-first AI/ML research-engineer workflow for Claude Code

823 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of mxslr/mlcraft on GitHub, a chart by star-history.com

Other skills on mlcraft.

accuracy-improvement-loop

accuracy-improvement-l…

Use when an existing model's results are disappointing and the user wants higher accuracy - 'accuracy is still too low',…

@mxslr@mxslrInstall Skill
data-rigor-and-leakage

data-rigor-and-leakage

Use BEFORE training any model, to build correct train/val/test splits and hunt data leakage - the #1 cause of fake-high accuracy.…

@mxslr@mxslrInstall Skill
dataset-profiling

dataset-profiling

Use as the FIRST step of any ML task, before choosing a model, to inspect and understand the actual dataset. Works for a LOCAL…

@mxslr@mxslrInstall Skill
deployment-explainability

deployment-explainabil…

Use when turning a trained model into something usable (an app, an inference function, a demo) or adding explainability. Selects…

@mxslr@mxslrInstall Skill
domain-3d

domain-3d

Use for 3D and point cloud tasks: point cloud classification, 3D semantic or instance segmentation, 3D object detection from…

@mxslr@mxslrInstall Skill
domain-anomaly-detection

domain-anomaly-detecti…

Use for anomaly, outlier, and novelty detection across data types: industrial or visual defect detection, time-series or sensor…

@mxslr@mxslrInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about domain-generative.

Which coding agents can use domain-generative?
domain-generative installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.