用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dyoshikawa/skills --skill draft-release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | draft-release |
| description | Draft a new release of the project. |
First, let's work on the following steps.
What's Changed, Contributors and Full Changelog are needed../tmp/release-notes/*.md will be used as the release notes.Then, from $ARGUMENTS, get the new version without v prefix, and assign it to $new_version. For example, if $ARGUMENTS is "v1.0.0", the new version is "1.0.0".
If $ARGUMENTS is empty, determine the new version automatically by performing the release-dry-run skill.
Let's resume the release process.
git pull.git checkout -b release/v${new_version}.package.json (for example a version constant or a getVersion() helper in the CLI entry point), update it to ${new_version} and run the project's CI check script (pnpm cicheck when it exists). If the checks fail, fix the code until pass. Then, execute git add, git commit and git push. Skip this step when the project derives its version from package.json at runtime.pnpm version ${new_version} --no-git-tag-version.package.json will be modified, execute git commit and git push.gh pr create to the main branch.gh release create v${new_version} --draft --title v${new_version} --notes-file ./tmp/release-notes/*.md command on the repository you are working in. This creates a draft release so that the release-asset workflow can upload assets later.Note: distribution artifacts that embed checksums of the release binaries (for example a Homebrew tap formula) are NOT updated here. Those checksums only exist after the release PR merges and the asset-publishing workflow uploads them. The goal-release skill performs that update as its post-merge step. When releasing manually without the goal-release skill, run that step yourself after the assets are published, following the project's own documented procedure.