self-review

द्वारा huggingface

Use before opening a PR, or whenever asked to self-review a diffusers contribution. Applies the same rubric as the `@claude` CI (checks the diff against…

npx skills add https://github.com/huggingface/diffusers --skill self-review

Self-review

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.

1. Get the diff

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>.

2. Read the rubric

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.

3. Report

  • Blocking issues — numbered. Each: title → explanation → file.py:line → impact. Cite the rule, e.g. Per references/models.md: "…only keep the inference path."
  • Non-blocking issues — same format, lower severity.
  • Dead code (advisory) — a table: path:line · Likely-dead / Used · reason.
  • Summary — short synthesis and a verdict (READY / NEEDS CHANGES), spelling out:
    • Fix before submitting — all blocking issues, and remove the flagged dead code.
    • Leave for the actual review — non-blocking issues that aren't obviously correct; raise these with the reviewer rather than guessing at them now.

Report only — do not edit files. Be concrete, cite the rule, review the whole diff, and don't invent issues or flag pure style.

4. Iterate until ready, then share

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.

huggingface की और Skills

sync-models
huggingface
chat-ui के मॉडल कॉन्फ़िग को HuggingFace राउटर के साथ सिंक करें — नए मॉडलों के लिए विवरण जोड़ें, reasoning-क्षमता वाले मॉडलों को फ़्लैग करें, 32B+ वाले मॉडलों के लिए आर्टिफैक्ट सक्षम करें…
custom-blocks
huggingface
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…
hf-cloud-sagemaker-production-defaults
huggingface
SageMaker एंडपॉइंट (रियल-टाइम या एसिंक्रोनस) को ऑटोस्केलिंग, CloudWatch अलार्म और टैगिंग के साथ डिफ़ॉल्ट रूप से सक्षम बनाएं। इस स्किल का उपयोग तब करें जब कोई एंडपॉइंट बनाने वाला हो…
hf-cloud-serving-image-selection
huggingface
SageMaker मॉडल तैनाती के लिए सही सर्विंग कंटेनर चुनें और उसका वर्तमान इमेज URI खोजें। इस कौशल का उपयोग तब करें जब किसी मॉडल को तैनात करने वाले हों...
Hugging Face Cli
huggingface
Execute Hugging Face Hub operations using the `hf` CLI. Use when the user needs to download models/datasets/spaces, upload files to Hub repositories, create repos, manage local cache, or run compute jobs on HF infrastructure. Covers authentication, file transfers, repository creation, cache operations, and cloud compute.
Hugging Face Datasets
huggingface
हगिंग फेस हब पर डेटासेट बनाएं और प्रबंधित करें। रिपॉजिटरी आरंभ करने, कॉन्फ़िग/सिस्टम प्रॉम्प्ट परिभाषित करने, पंक्ति अपडेट स्ट्रीम करने और SQL-आधारित डेटासेट क्वेरी/रूपांतरण का समर्थन करता है। व्यापक डेटासेट वर्कफ़्लो के लिए HF MCP सर्वर के साथ काम करने के लिए डिज़ाइन किया गया।
Hugging Face Evaluation
huggingface
Hugging Face मॉडल कार्ड में मूल्यांकन परिणाम जोड़ें और प्रबंधित करें। README सामग्री से eval तालिकाएँ निकालने, Artificial Analysis API से स्कोर आयात करने, और vLLM/lighteval के साथ कस्टम मॉडल मूल्यांकन चलाने का समर्थन करता है। model-index मेटाडेटा प्रारूप के साथ काम करता है।
Hugging Face Jobs
huggingface
Hugging Face Jobs इंफ्रास्ट्रक्चर पर किसी भी वर्कलोड को चलाएं। इसमें UV स्क्रिप्ट्स, Docker-आधारित जॉब्स, हार्डवेयर चयन, लागत अनुमान, टोकन के साथ प्रमाणीकरण, सीक्रेट्स प्रबंधन, टाइमआउट कॉन्फ़िगरेशन और परिणाम स्थायित्व शामिल हैं। डेटा प्रोसेसिंग, इन्फ्रेंस, एक्सपेरिमेंट्स, बैच जॉब्स और किसी भी Python-आधारित कार्यों सहित सामान्य-उद्देश्यीय कंप्यूट वर्कलोड के लिए डिज़