用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/GavinGreenwood/agentic-workflow-template --skill bump-version命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
User-invoked only. Action reviews on all of _your_ open PRs, looping until everything is merged or blocked
User-invoked only. Switch to main and pull latest, then delete the finished feature branch. Does not merge anything — use `pr` for that. Checks for uncommitted changes and whether the branch was pushed before deleting.
Role adapter only. On-demand strategic advisor running on a more capable model. Consult before committing to a consequential decision — a non-trivial design choice, a risky refactor, an ambiguous tradeoff, or when the executor is stuck. It advises; it does not edit. Invoke it deliberately, not every turn.
正在显示 SKILL.md
| name | bump-version |
| description | User-invoked only. Bump main's semver tag by one minor version and push the new tag. |
| disable-model-invocation | true |
| allowed-tools | Bash(echo:*), Bash(git status:*), Bash(git branch:*), Bash(git checkout:*), Bash(git pull:*), Bash(git fetch:*), Bash(git tag:*), Bash(git push:*), Bash(git log:*), Bash(grep:*), Bash(sort:*), Bash(tail:*) |
Run this before anything else, and do not act on any later step until you have its output. If a probe fails, stop and tell the user. Never assume these values.
echo "Current branch: $(git branch --show-current)"
echo "Uncommitted changes:"; git status --porcelain
echo "Latest semver tags reachable from main:"; git tag --list --merged main | grep -E '^[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -5
This command always bumps the minor (middle) number and resets the patch to 0 — e.g. 0.7.0 → 0.8.0. This is a deliberate hardcoded simplification for now; it does not inspect commit history to decide whether a major or patch bump would be more correct. There is no code change and nothing to commit — this is a tag-only operation.
git status --porcelain shows any uncommitted changes, stop and tell the user to commit or stash first. Do not tag over a dirty working tree.git checkout maingit pullgit fetch --tags --prune-tags — make sure local tags match origin, in case someone else already bumped since you last fetched.git tag --list --merged main | grep -E '^[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -1X.Y.Z filter is intentional — a repo's tag history can accumulate malformed/noise tags (e.g. a v-prefixed duplicate, a typo'd tag). Ignore anything that doesn't match exactly.X.Y.Z from the tag found in Step 2.X.(Y+1).0.0.7.0 → 0.8.0.git tag <new-version> on the current main HEAD.git push origin <new-version>.git push origin <new-version> --no-verify. The hook runs the full lint/typecheck/test pipeline, which doesn't apply to a tag-only push with no file changes, but per AGENTS.md rule 6 --no-verify still requires explicit approval each time. Do not use --no-verify for anything else this command doesn't explicitly cover.Tell the user the old version, the new version, and confirm the tag was pushed to origin.