Use when the user has written (or wants to write) a ModularPipelineBlocks subclass in a local Python file and needs to package it into a Hub-uploadable directory. Covers the workflow from a single block.py file to a published custom-block repo that consumers can load via ModularPipeline.from_pretrained(<repo>, trust_remote_code=True).
$npx -y skills add huggingface/diffusers --skill custom-blocksInstalls into the current project.
Run `npx skills use "https://github.com/huggingface/diffusers" --skill "huggingface/diffusers/custom-blocks"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/huggingface/diffusers" that are relevant to the current task. Run `npx skills add "https://github.com/huggingface/diffusers"` and select the relevant skills, then follow their instructions.