maintenance-pr
Run maintenance.sh, automatically apply fixes on a new branch, and create a PR
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run maintenance.sh, automatically apply fixes on a new branch, and create a PR
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Creates a git tag to trigger the release workflow. The release workflow builds binaries and creates a GitHub Release. This skill also publishes to crates.io.
Runs the same CI checks as the GitHub CI workflow locally. Use this skill before pushing commits to verify the code passes all CI checks.
Stages, commits, and pushes changes to git. Runs cargo fmt before staging to ensure code is properly formatted. Creates a branch if on main and creates a PR if none exists.
| name | maintenance-pr |
| description | Run maintenance.sh, automatically apply fixes on a new branch, and create a PR |
| risk | low |
| source | repository |
This skill runs the project's maintenance script, automatically applies required fixes, and creates a pull request with the changes.
Run the maintenance script to check for issues:
./maintenance.sh
Parse the output for:
For each issue found:
Cargo.tomlcargo update -p <package> or update version in Cargo.toml directlyCreate a new branch for the changes:
git checkout -b maintenance/$(date +%Y-%m-%d)
Commit the changes and push to remote:
git add -A && git commit -m "chore: apply maintenance fixes" && git push -u origin HEAD
Create a pull request using gh CLI:
gh pr create --title "chore: apply maintenance fixes" --body "Automated maintenance fixes from ./maintenance.sh"
cargo-machete (replacement for cargo-udeps)cargo-outdated (for checking outdated dependencies)gh CLI (for creating PRs)