بنقرة واحدة
merge-pr
Workflow for rebasing and merging a local branch to main via a GitHub Pull Request.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Workflow for rebasing and merging a local branch to main via a GitHub Pull Request.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | merge-pr |
| description | Workflow for rebasing and merging a local branch to main via a GitHub Pull Request. |
This skill codifies the workflow for taking a completed local task branch, pushing it to GitHub, creating a Pull Request, and merging it via rebase.
Use this skill when the user asks to "close the pr by rebasing and merging to main" or explicitly invokes /merge-pr.
git push -f origin HEAD. We use -f because local commits are frequently amended during code reviews.gh pr merge --rebase --delete-branch.git checkout main.git pull.git fetch --prune.git branch -D <branch-name>.Run comprehensive Rust code quality checks including compilation, linting, documentation, and tests. Use after completing code changes and before creating commits.
Enforce the "Clean Imports over Inline Absolute Paths" rule by removing inline crate:: prefixes and adding proper use statements.
Rules and guidelines for creating well-formatted commit messages, including 72-char limits, scope prefixes, and trailer blocks for tasks, PR closing, and attribution.
Zero-allocation string building strategies. Use when formatting strings, generating ANSI codes, or writing hot loops to avoid heap allocations and Formatter state machine overhead.
Run clippy linting, enforce comment punctuation rules, format code with cargo fmt, and verify module organization patterns. Use after code changes and before creating commits.
Standard for writing structured tracing logs behind debug flags.