/diffusers:self-reviewfrom diffusers
Applies the diffusers project's review rubric to a PR diff, identifying blocking issues, non-blocking items, and dead code before maintainer review. Report-only — does not edit files.
Ships in diffusers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Runs the same rubric as the @claude CI reviewer, so you catch issues before a
maintainer does — but over your whole PR diff. (The CI scopes itself to
src/diffusers/, tests/, and .ai/; for your own PR, also review your docs
and scripts.) You're already on the branch with the conventions loaded, so: get
the
diff → review it against the rubric → report → iterate with the contributor
until it's ready, then remind them to share the final notes on the PR.
git diff main...HEAD # use your target branch if not main
If the branch trails main and the diff looks polluted with unrelated merged
files, scope to your own commits: git log main..HEAD --oneline, then
git show <commit>.
references/review-rules.md is the canonical rubric (the CI pins it from main) — read
it and review against it; don't rely on a remembered copy. For the areas you
touched, also read references/code_style.md, references/models.md, references/pipelines.md,
references/modular.md, references/testing.md, or references/pitfalls.md.
file.py:line →
impact. Cite the rule, e.g. Per references/models.md: "…only keep the inference path."path:line · Likely-dead / Used · reason.Report only — do not edit files. Be concrete, cite the rule, review the whole diff, and don't invent issues or flag pure style.
Expect several rounds: the contributor addresses findings, you review again. Keep working with them to fix as much as possible until the verdict is READY — the Leave for the actual review items are the only ones that should reach the reviewer unresolved. End the final round's report by reminding the contributor to share it on the PR (description or a comment) — it saves the reviewer a few rounds of back-and-forth. Never commit the notes as part of the diff.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
diffusers, code-review, pr-preparation, rubric-check, self-review
npx claudepluginhub huggingface/diffusers --plugin diffusers4 skills in this plugin
/custom-blocksUse 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)`.
/diffusers-cliUse when the user wants to run a diffusers pipeline from a terminal (one-off generation, batch jobs, smoke-testing a new model), run on HF Sandbox hardware via `--remote`, introspect a pipeline's input schema before calling it, or attach a LoRA at inference time. Prefer this over writing ad-hoc Python scripts for generation tasks.
/model-integration4 plugins ship this exact skill · first indexed Aug 21, 2026
Other plugins' skills for the same job