用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dlt-hub/dlt --skill release-notes命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Create or reuse a git worktree for a pull request or branch so reviews and work happen in isolation
Triage, plan, and implement a fix or feature for a GitHub issue end-to-end
Create a git worktree with a new branch for implementing a fix or feature for a GitHub issue
基于 SOC 职业分类
正在显示 SKILL.md
| name | release-notes |
| description | Generate release notes between two git tags with categorized PR summaries and author attribution |
| argument-hint | <git-tag> [-- <previous-tag>] |
Parse $ARGUMENTS to extract:
-- is the release tag (e.g. 1.22.0). Referred to as TAG below.-- is an optional previous tag override. If absent, auto-detect the previous tag.Check that TAG exists as a git tag:
git tag -l TAG
If the tag does not exist, stop with an error: "Tag TAG not found. Please create the tag first and re-run."
If a previous tag was provided in $ARGUMENTS, validate it exists and use it as LOWER.
Otherwise, find the previous tag automatically:
git tag --sort=-v:refname
Walk the sorted list to find the tag immediately before TAG (by version order). Set that as LOWER.
Validate LOWER exists. Stop with an error if no previous tag can be determined.
Get all commits between the two tags:
git log --oneline LOWER..TAG
Filter out:
Extract PR numbers from the remaining commit messages (pattern #NNNN). Every PR number must appear in the final release notes — none may be silently dropped.
For each PR number, fetch metadata using gh. Use Task agents to run in parallel batches for efficiency:
gh pr view NUMBER --repo dlt-hub/dlt --json number,title,labels,body,author
Collect for each PR:
author.loginIf a PR title is vague (e.g. just an issue number, single word) or the body is empty/unhelpful:
fixes #NNN, closes #NNN, #NNN in body). If so, fetch the issue:
gh issue view NNN --repo dlt-hub/dlt --json title,body
gh pr diff NUMBER --repo dlt-hub/dlt
Assign each PR to exactly one category using these rules (evaluated in order). Every PR must be classified — verify the total count matches.
Collect separately (appears at the top, not a standalone category — the PR also appears in its main category). A PR has breaking changes if:
breaking label, ORExtract the specific breaking change description from the PR body.
A PR is a highlight if:
highlight label, ORfeat or (feat)) AND the change is impactful — meaning it introduces a new user-facing capability, enables a major use case, or represents substantial effortHighlighted PRs also appear in their main category (Core Library, etc.) but with a brief entry pointing to the Highlights section.
docs/documentation labelci full, tech-debt, cichore, repo:, ci:, or the change only affects tests/toolingEverything else — features, bug fixes, enhancements to the library itself.
For each release author, find their first ever merged PR:
gh search prs --repo dlt-hub/dlt --author AUTHOR --merged --sort created --order asc --limit 1 --json number,createdAt
A contributor is new if their first merged PR number falls within the LOWER..TAG commit range.
Write the notes in this exact structure:
## dlt TAG Release Notes
## Breaking Changes
(Only if there are breaking changes. Numbered list.)
1. **Short description** (#NUMBER @author) — Explanation of what broke and how it affects users.
## Highlights
- **Feature name** (#NUMBER @author) — Description of the feature and why it matters.
## Core Library
- **Feature/fix name** (#NUMBER @author) — Brief description.
- **Fix: short description** (#NUMBER @author)
## Docs
- Description (#NUMBER @author)
## Chores
- **Title** (#NUMBER @author) — Brief description if non-obvious.
## New Contributors
- @author made their first contribution in #NUMBER
#NUMBER format (GitHub auto-links them)@login format (GitHub auto-links them)Display the formatted release notes to the user for review. Include a summary:
Ask the user to approve or request changes before writing.
Only after user approval, write the release notes to /tmp/release-notes-TAG.md.
Report the file path to the user.