一键导入
gh-draft-release
Use when a repository needs a user-facing GitHub release drafted for an explicit version or a patch, minor, or major bump request.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when a repository needs a user-facing GitHub release drafted for an explicit version or a patch, minor, or major bump request.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | gh-draft-release |
| description | Use when a repository needs a user-facing GitHub release drafted for an explicit version or a patch, minor, or major bump request. |
Use this skill to draft public GitHub release notes from the current repository. Work directly with gh and git commands in the repo instead of relying on bundled helper scripts.
Proceed only when the current user request clearly gives one of:
v0.1.2bump patch release, prepare the next minor release, or similarIf the intended version is still ambiguous, stop and ask before drafting.
When you need the original request text, use the current user request verbatim as the source of truth.
gh release list --exclude-drafts --exclude-pre-releases --limit 1 --json tagName,namegh release view <latest-tag> --json tagName,name,body,isDraft,isPrereleasegh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'v?MAJOR.MINOR.PATCH, ignoring prereleases and non-release tags.
Example command:
git tag --list | rg '^(v)?[0-9]+\\.[0-9]+\\.[0-9]+$' | sort -V | tail -1v if the latest stable tag has onepatch increments X.Y.Z to X.Y.(Z+1)minor increments X.Y.Z to X.(Y+1).0major increments X.Y.Z to (X+1).0.0<stable-tag>..<default-branch>.
Example commands:
git log --oneline <stable-tag>..<default-branch>git diff --name-only <stable-tag>..<default-branch>/tmp/gh-draft-release-notes.md.gh release view <target-version> --json tagName,name,isDraft,isPrereleasegh release create <target-version> --draft --target <default-branch> --title "<resolved-title>" --notes-file /tmp/gh-draft-release-notes.mdgh release edit <target-version> --title "<resolved-title>" --notes-file /tmp/gh-draft-release-notes.mdgit tag, git push --tags, or tag mutation commands just to prepare the draft.Use when asked to load, restore, resume, reconstruct, or summarize usable context from a prior Codex session, thread id, or rollout JSONL, especially when the session is large, compacted, or partially encrypted.
Install missing or useful system packages declaratively on macOS hosts managed by nix-darwin. Use when a command needed for the current task is missing, when installing a CLI or GUI app would materially help complete work, or when the user explicitly asks to install software. Prefer nixpkgs packages first, then Homebrew brews, then Homebrew casks. Ask the user to confirm the package choice and whether the install should be host-specific or shared before editing config or running the rebuild.
Read, search, create, update, delete, organize, and move content in local Apple Notes on macOS through tested helper scripts. Use when Codex needs to work with notes, folders, nested folders, note attachments, or note metadata without relying on browser session data.
Solve crossword puzzles in .puz format using the cursewords terminal app. Use when asked to open, navigate, solve, check, or fill crossword grids in cursewords, or when clues need to be listed/parsed from a .puz file.
Programmatically control tmux sessions and panes: create sessions/windows, send keys/text, capture pane output, resize to client dimensions, and stream pane output. Use when asked to automate or interact with terminal sessions via tmux.