agentsclimarketplace

Land via integration branch

Skill ultimatile/development-skills/skills/land-via-integration-branch

Personalized Development Skills

Install
npx -y skills add ultimatile/development-skills --skill land-via-integration-branch

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Land a large change too big for one PR as a sequence of PRs merging into a long-lived integration branch, then a final PR into main. Use when one PR would exceed a reviewer's diff-size limit, or when multiple components' APIs must migrate together (cross-component migration, large refactor, multi-PR feature).

SKILL.md

6.5 KB, ~1.4k tokens by cl100k_base, as published. Nobody here has run it

Land via Integration Branch

A four-gate review cadence for landing a large change that does not fit a single PR, through a long-lived integration branch.

GateTriggerActionBaseline
per-commiteach git commit/done-check (preflight /todo-check)working tree
per-unitunit / design-boundary completioncodex exec review --base <last-approved-SHA>last unit-approved SHA
per-PR-openPR creation/codex-review against PR diffPR base (integration branch)
per-PR-reviewPR open on GitHub/copilot-review + reply / fix loopPR head

Trigger the cadence off commits, units, and PRs only. Do NOT add a per-session gate — session boundaries are human time, not design boundaries.

When to invoke

  • A change that does not fit one PR (diff exceeds a reviewer's size limit, or multiple component APIs must change together).
  • The intermediate PRs intentionally break the project-wide build: the per-component test gate is binding intermediate, the full project CI gate runs at the final PR only.

Do NOT use for:

  • Single-PR work — /review-pipeline covers that directly.
  • Changes that compile in every intermediate state — one PR, no integration branch needed.

Setup procedure

  1. Close or draft the superseded PR (if any). Post a closing comment that links to the new tracker.

    gh pr close <old-PR> --comment "Superseded by #<new-issue>; new plan in that issue, integration-branch flow below."
    
  2. Create the integration branch off main.

    git checkout main && git pull
    git checkout -b integration/<issue#>-<slug>
    git push -u origin integration/<issue#>-<slug>
    
  3. Plan the PR sequence. Each PR targets one per-component or per-concern scope. Record the sequence in the tracking memory or issue body for cross-session continuity.

Per-PR workflow

For PR k in the sequence (each PR is one or more units):

  1. Branch off the integration branch.

    git checkout integration/<issue#>-<slug>
    git pull
    git checkout -b pr<k>/<scope>
    
  2. Implement units inside the branch. Each commit goes through per-commit /done-check. At each unit boundary, run per-unit codex review against the last approved SHA:

    codex exec review --base <last-unit-approve-SHA> -o /tmp/codex-unit-<k>.<u>.md
    

    The baseline starts as the integration branch tip when PR k begins; advance it to the last approved SHA after each unit. Triage P1 / P2 findings at this gate before continuing to the next unit.

    Committing past a workspace-wide pre-commit hook. A hook that lints the whole workspace (e.g. a project-wide type/lint check) will fail by design on a pr<k>/... branch — downstream components scheduled for a later PR are still on the old API. Skip only that one workspace-coherence hook (e.g. SKIP=<workspace-lint-hook> git commit ...) after confirming the per-component test and lint gates both pass, and note the skip rationale in the commit body. Do NOT use --no-verify; it also drops formatting and line-count hooks, which remain binding.

  3. Open the PR against the integration branch. Run /review-pipeline from the per-PR-open gate forward (codex-review then copilot-review). Merge target is integration/<issue#>-<slug>, not main.

    gh-post pr create --base integration/<issue#>-<slug> --title "..." --body-file ...
    
  4. Merge into the integration branch when reviews are clean. Workspace builds may be temporarily broken on it between PRs — the per-component gate is what binds intermediate.

Final integration → main PR

After all per-PR PRs are merged into the integration branch:

  1. Workspace must build clean on the integration branch. Run the full project CI / test gate on its tip. Fix workspace-level integration issues before opening the final PR.

  2. Open the integration → main PR. Standard /review-pipeline applies end to end: Phase 0 done-check, Phase 1 codex-review, Phase 2 copilot-review, Phase 3 postmortem elevation, Phase 4a description delta.

  3. Final merge after the user-controlled gate. The user merges; Phase 4b runs post-merge for umbrella drift join if the work referenced a tracking issue.

Rules

  • Review per-unit, not per-commit. Many commits are mechanical intermediate steps (file moves, signature substitution, test updates) that draw local nits. A per-unit cumulative review sees the full design surface of the unit and catches findings that span multiple commits (API shape leaking an internal type, a trait with a bypass path).

  • Advance and persist the per-unit baseline. After each approved unit, the next per-unit review bases on that unit's SHA. Record the last-approved SHA in the tracking memory.

  • CI-green + done-check-green ≠ design accepted (phantom acceptance). Those mean commit-local quality is OK, not that the design is reviewed. A design defect introduced in unit N stays invisible until unit M (M > N) is reviewed, at which point all of N through M must be reconsidered. Per-unit codex review at every unit boundary is the structural fix.

  • The per-PR-open codex review still matters. It sees the final merge-bound state and catches commit-local issues the per-unit (cumulative-diff) pass missed.

Skills invoked

  • /implement — per-commit done-check; per-unit codex review when invoked at a unit boundary (the caller decides the boundary from commit messages or the tracking memory).
  • /review-pipeline — per-PR-open codex-review onward; the merge target is configured per-PR, so the pipeline needs no integration-branch awareness.
  • /codex-plan-review — plan-time review before any code, distinct from the per-unit codex review during implementation.

Memory artifacts

Record at minimum, and include the per-unit codex review step explicitly in the session protocol:

  • Working branches (integration branch + current PR branch).
  • Latest unit-approved SHA (baseline for the next per-unit review).
  • PR sequence with per-PR status (planned / in-progress / merged-to-integration / pending-final).
  • Open codex findings carried over (per-unit P1 / P2 deferred with rationale).

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.