stacked-pr-restack
Restack a child PR onto main after its base PR merges, then revalidate before clearing draft.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Restack a child PR onto main after its base PR merges, then revalidate before clearing draft.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Squad branching model: main-only workflow with feature branches
{what this skill teaches agents}
Wire legacy .NET Framework service hosts through Enterprise Library-flavored appSettings so Unity, service location, exception policies, logging, and database aliases all hang off one configuration seam.
Build internal order-management Web Forms pages with ObjectDataSource, GridView, DetailsView, and ViewState-heavy filter handling.
Build a believable mid-2000s .NET data layer around connection catalogs, stored-procedure wrappers, DataSets, and repository facades.
Anchor store-ops workbench screens in separate StoreOps tables for order state, status snapshots, workforce alerts, and zone bulletins, with dispatch tickets linked back to orders.
| name | stacked-pr-restack |
| description | Restack a child PR onto main after its base PR merges, then revalidate before clearing draft. |
| domain | git, pull-requests, testing |
| confidence | high |
| source | earned |
Use this when a PR was intentionally stacked on another squad branch and the parent PR has since merged into main.
origin first and confirm the child branch is the only commit left beyond origin/main.origin/main, then git push --force-with-lease so the remote PR keeps the same head branch with a clean merge base.main only after the rebase succeeds.Fabrikam.EnterprisePizza.Tests.Unit, and execute scripts\Invoke-LegacyNUnit.ps1.gh pr edit --add-reviewer "@copilot"; if reviewer assignment is unavailable, fall back to the repo's accepted @copilot review PR comment.--force-with-lease.bin\ or obj\ output in the worktree after validation.main.