hf-release-notes
Skill4k starsChanged 8 months agoApache-2.0View on GitHub
Generate Hugging Face Hub (huggingface_hub) release notes from cached PR JSON files. Use when asked to draft release notes from PR files.
Trending
Quiet this year.thin dataabout the whole repository
Who's talking about huggingface/huggingface_hub
- lllyasviel/IC-Light“【ImportError和推理Error】能打开可视化页面,但是推理图片时报 error 的一种可能的解决方法”GitHub · Dec 10, 2024 · 20 reactions
- kpu/kenlm“[WIP] Proof of concept of integration with Hugging Face Hub”GitHub · Sep 28, 2021 · 9 reactions
- huggingface/huggingface.js“PoC: `InferenceClient` is also a `McpClient`”GitHub · Apr 11, 2025 · 7 reactions
- huggingface/text-generation-inference“Implement logit_bias correctly”GitHub · Dec 28, 2024 · 7 reactions
- huggingface/diffusers“[FEAT] DDUF format”GitHub · Nov 27, 2024 · 7 reactions
The biggest 5 of 11 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 11
Talked about on GitHub (11 times).
On GitHub · 11
- Dec 10, 2024【ImportError和推理Error】能打开可视化页面,但是推理图片时报 error 的一种可能的解决方法 — lllyasviel/IC-Light20 reactions · 4 comments
- Sep 28, 2021[WIP] Proof of concept of integration with Hugging Face Hub — kpu/kenlm9 reactions · 1 comment
- Apr 11, 2025PoC: `InferenceClient` is also a `McpClient` — huggingface/huggingface.js7 reactions · 8 comments
- Dec 28, 2024Implement logit_bias correctly — huggingface/text-generation-inference7 reactions · 4 comments
- Nov 27, 2024[FEAT] DDUF format — huggingface/diffusers7 reactions · 18 comments
6 more on GitHub
- Dec 5, 2023Harmonize HF environment variables + deprecate use_auth_token — huggingface/diffusers7 reactions · 6 comments
- Dec 27, 2020huggingface model hub integration — espnet/espnet6 reactions · 17 comments
- May 21, 2024Use shard saving from huggingface_hub — huggingface/accelerate5 reactions · 5 comments
- Nov 11, 2023[Bug]: interpreted classes cannot inherit from compiled traits — dosisod/refurb5 reactions · 12 comments
- Mar 17, 2022feat: Added docTR as library filter — huggingface/hub-docs4 reactions · 2 comments
- Dec 15, 2021Use espnet/kan-bayashi_ljspeech_vits model via inference api — huggingface/api-inference-community4 reactions
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Read all PR JSON files from <output_dir>/tmp/pr_*.json.
- Distinctive: line 49
Use your judgment — not every feature PR needs a highlight, but don't limit highlights to only labeled PRs.
- Distinctive: line 54
Avoid bullet points here; write natural sentences.
- Very specific: line 73
Check the doc_diffs field in the PR JSON.
- Distinctive: line 75
Use these diffs to understand what was documented, extract code examples, and write more accurate summaries.
- Very specific: line 81
Start by fetching the docs index page to discover the site structure: https://huggingface.co/docs/huggingface_hub/main/en/index
- Distinctive: line 89
Only include a doc link if the page genuinely documents the feature.
- Very specific: line 96
Do NOT add doc links for internal/CI/test PRs or PRs that don't have user-facing docs.
- Distinctive: line 97
Do NOT fabricate doc URLs — only link to pages you have actually fetched and verified.
- Very specific: line 110
Verify every PR from <output_dir>/tmp/ appears exactly once
- Very specific: line 114
Every item ends with attribution: by @author in #1234
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
HF Release Notes
Overview
Generate release notes for huggingface_hub from cached PR JSON files. This skill reads PR metadata, categorizes entries, and produces a formatted markdown release notes document.
Output directory: The prompt will specify the output directory as <output_dir>. All paths below use this placeholder.
Workflow
1. Read PR data
Read all PR JSON files from <output_dir>/tmp/pr_*.json. Each file contains:
{
"number": 1234,
"title": "...",
"author": "username",
"merged_at": "2026-01-15T10:30:00Z",
"body": "...",
"labels": ["highlight", "cli"],
"url": "https://github.com/huggingface/huggingface_hub/pull/1234",
"doc_diffs": [
{
"filename": "docs/source/en/guides/cli.md",
"status": "modified",
"patch": "@@ -10,6 +10,10 @@ ..."
}
]
}The doc_diffs field contains unified diffs for any .md files under docs/ that were
changed in the PR. This is empty ([]) for PRs with no documentation changes.
2. Identify highlights
A PR should be highlighted if:
- It has the
"highlight"label on GitHub, or - You judge it significant enough to deserve a detailed section (e.g., a major new feature, a meaningful UX improvement, or a notable breaking change) even without the label.
Use your judgment — not every feature PR needs a highlight, but don't limit highlights to only labeled PRs. Each highlight section follows this structure:
- Emoji header — e.g.,
## 🖥️ New CLI commands - Prose summary — 2-5 sentences describing the user-visible change in flowing text. Avoid bullet points here; write natural sentences. Only use bullets if the content truly calls for a list (e.g., enumerating 4+ distinct sub-features).
- Code examples — if the PR introduces new commands or APIs, include a fenced code block with a concrete usage example (cherry-pick from doc diffs when available).
- PR attribution lines — one bullet per PR that contributed to this highlight:
- PR title by @author in #1234
3. Classify standard items
For non-highlight PRs, classify into sections using references/sections.md heuristics based on:
- PR labels
- PR title keywords
- PR body content
4. Use doc diffs and fetch relevant documentation
For highlighted PRs and other PRs that introduce new features, commands, or APIs:
Use doc diffs first:
- Check the
doc_diffsfield in the PR JSON. If present, these contain the actual documentation changes made in the PR (unified diff format). - Use these diffs to understand what was documented, extract code examples, and write more accurate summaries. The diffs show exactly what the PR author wrote in the docs.
- The
filenamefield maps to a docs page URL. For example,docs/source/en/guides/cli.md→https://huggingface.co/docs/huggingface_hub/main/en/guides/cli
Fetch full doc pages when needed:
- Start by fetching the docs index page to discover the site structure:
https://huggingface.co/docs/huggingface_hub/main/en/index - Based on the PR content (title, body, labels), identify which doc pages might be
relevant. For example:
- A CLI PR → check
https://huggingface.co/docs/huggingface_hub/main/en/guides/cli - An Inference PR → check
https://huggingface.co/docs/huggingface_hub/main/en/guides/inference - A new API class or method → check the corresponding reference page
- A CLI PR → check
- Fetch the candidate doc page to confirm it covers the feature from the PR.
- Only include a doc link if the page genuinely documents the feature.
How to reference:
- In highlight sections, add a line like:
📚 **Documentation:** [Guide name](https://huggingface.co/docs/huggingface_hub/main/en/guides/...) - In standard sections, append the doc link inline after the attribution when relevant:
- PR title by @author in #1234 — [docs](https://huggingface.co/docs/huggingface_hub/main/en/...) - Do NOT add doc links for internal/CI/test PRs or PRs that don't have user-facing docs.
- Do NOT fabricate doc URLs — only link to pages you have actually fetched and verified.
5. Generate release notes
Output to <output_dir>/RELEASE_NOTES_<version>.md using the structure from references/release-notes-template.md:
- Title:
# [vX.Y.Z] <tagline>(derive tagline from main highlights; always use the base version without prerelease suffix, e.g.[v1.8.0]even when generating forv1.8.0.rc0) - One section per highlight with emoji header and narrative
- Standard sections for remaining items (only include sections with items)
6. Quality checks
Before finishing:
- Verify every PR from
<output_dir>/tmp/appears exactly once - Do NOT include any PR that does not have a corresponding file in
<output_dir>/tmp/— those PRs belong to a different release and must not appear in these notes - No empty sections
- Consistent emoji headings
- Every item ends with attribution:
by @author in #1234 - Doc links point to real, verified pages
Input
- Version string (e.g., "v1.3.8")
- PR JSON files in
<output_dir>/tmp/
Output
- Release notes markdown at
<output_dir>/RELEASE_NOTES_<version>.md
Resources
references/release-notes-template.md: Skeleton structure for release notesreferences/sections.md: Keyword-based section mapping and guidance- Documentation site:
https://huggingface.co/docs/huggingface_hub/main/en/index
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

