用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/deepsense-ai/ragbits --skill generate-changelog命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | generate-changelog |
| description | Generate changelog entries for packages changed on the current branch. |
| allowed-tools | Read, Edit |
| disable-model-invocation | true |
Generate concise changelog entries for each package with changes on the current branch compared to main, and insert them into the package CHANGELOG.md files.
Changed files:
!git fetch origin main 2>/dev/null; git diff --name-only origin/main 2>/dev/null
Commit messages (check for Changelog-ignore directives):
!git log --pretty=format:'%B---' origin/main..HEAD 2>/dev/null
Diff for all packages:
!git diff origin/main -- packages/ 2>/dev/null
From the changed files above, determine which packages need entries:
packages/<name>/src/** mean <name> is changed — extract the second path component as the package name.typescript/, treat ragbits-chat as a changed package.packages/*/src/ and typescript/ (docs, scripts, CI, etc.).Check the full commit messages for lines matching Changelog-ignore: <package-name>. Skip any listed package entirely.
Read packages/<package>/CHANGELOG.md. Look at existing entries to understand the style used in this package.
Using the commit messages and the package diff above, write a changelog entry following these rules:
feat:, fix:, refactor:, docs:, test:, chore:, etc.Edit packages/<package>/CHANGELOG.md — add entries after ## Unreleased as bullet points:
## Unreleased
- <new entry here>
After all packages are processed, report: