一键导入
pr-prepare
Prepare a pull request with quality checks, commit, and PR creation. Use when ready to submit changes for review.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prepare a pull request with quality checks, commit, and PR creation. Use when ready to submit changes for review.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Run and analyze performance benchmarks. Use when working on performance-critical code or comparing changes.
Look up Rust crate documentation in Markdown format from target/doc-md/.
Run all Rust quality checks (fmt, clippy, test, bench). Use before committing or when validating code changes.
Upgrade Rust dependencies one at a time using cargo outdated. Analyzes impact, checks for API changes, and produces a recommendation before upgrading.
Run security audit on dependencies and review code for vulnerabilities. Use before releases or when updating dependencies.
| name | pr-prepare |
| description | Prepare a pull request with quality checks, commit, and PR creation. Use when ready to submit changes for review. |
Complete workflow for preparing and submitting a PR.
Run all quality gates:
cargo fmt && cargo clippy -- -D warnings && cargo test && cargo bench
# Create and switch to feature branch
git checkout -b feature/your-feature-name
# Or for bug fixes
git checkout -b fix/bug-description
# Stage changes
git add .
# Commit with descriptive message
git commit -m "Add feature X
- Implemented Y
- Fixed Z
- Updated tests"
# Push to remote
git push -u origin HEAD
# Create PR using GitHub CLI
gh pr create --title "Your PR title" --body "## Summary
- What this PR does
## Test Plan
- How to test the changes
## Checklist
- [ ] Tests pass
- [ ] Clippy clean
- [ ] Documentation updated"
Before submitting:
cargo fmt - code formattedcargo clippy -- -D warnings - no warningscargo test - all tests passcargo bench - benchmarks pass