用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/iopsystems/rezolus --skill pr命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | pr |
| description | Create a feature branch, commit changes, push, and open a PR against iopsystems/rezolus |
Create a PR from the current uncommitted changes. Handles branching, committing, pushing, and opening the PR against the upstream repo.
The skill accepts an optional branch name argument:
/pr fix-socket-perms)Verify prerequisites:
git status
git diff
git diff --staged
If there are no changes, stop and tell the user.
Analyze the changes:
git log --oneline -10
Create feature branch:
main, create a new branch:
git checkout -b <branch-name>
Sync docs version label (idempotent — runs every PR):
./scripts/sync-docs-version.sh
Updates site/docs/*.html's sidebar version label to the latest stable release tag. If it modifies any file, include the change in the same commit. If nothing changes, no-op.
Stage and commit:
git add -A)type(scope): description)feat, fix, refactor, chore, docs, testCo-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> trailerPush to origin:
git push -u origin <branch-name>
Open PR against upstream:
iopsystems/rezolusorigin (determine the owner from git remote -v)gh pr create with --repo iopsystems/rezolus and --head <fork-owner>:<branch-name>gh pr create \
--repo iopsystems/rezolus \
--head <fork-owner>:<branch-name> \
--draft \
--title "<conventional commit style title>" \
--body "$(cat <<'EOF'
## Summary
<1-3 bullet points describing the changes>
## Test plan
<bulleted checklist of testing done or needed>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
Report the PR URL to the user.
Non-release PRs must never bump the major, minor, or patch version. Instead, bump only the pre-release revision number in Cargo.toml:
<major>.<minor>.<patch>-alpha.<revision>5.8.3-alpha.0 → 5.8.3-alpha.1 → 5.8.3-alpha.2-alpha.N) by 1 from the current main branch versiongit show main:Cargo.toml | grep '^version'
cargo clippy, cargo test, or cargo fmt --check haven't been run yet during this session, run them before committinggit@github.com:brayniac/rezolus → brayniac)gh pr ready