executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
workflow-merge-conflictsResolve an in-progress merge or rebase conflict by tracing each side back to its intent. Use when "resolve the conflicts", "fix this merge", "the rebase is stuck", or a pull has left conflict markers in the tree.
Independent GitHub snapshot · Automated classification · Original documentation governs
Degree of freedom: MIXED. Which intent wins [HIGH freedom]; inspect,
never --abort unasked, and run real checks [LOW freedom — run exactly].
Adapted from mattpocock/skills (MIT).
Identify: rebase of
fix/cart-skuontomain; conflict insrc/lib/cart.ts. Intent: this branch treats missing SKU as invalid; main extractedquoteCartto a new file. Preserve: keep the extraction and the missing-SKU branch — move the guard intoquoteCart. Verify:pnpm typecheck && pnpm testgreen;git rebase --continue; tree clean.
workflow-git-commit; open PR lifecycle → workflow-prSee the current state. [LOW freedom — run exactly] git status for the operation in progress
(merge/rebase/cherry-pick) and the conflicting files; git log --oneline --left-right HEAD...MERGE_HEAD (or the rebase equivalent) for what each side
contains.
Find the primary sources for each conflict. [HIGH freedom] Understand why each
change was made and what the original intent was: read the commit messages,
check the PRs, check the original issues or tickets. Never resolve a hunk on
textual appearance alone.
Resolve each hunk. [HIGH freedom] Preserve both intents where possible. Where they are
incompatible, pick the one matching the merge's stated goal and note the
trade-off. Do not invent new behavior. Always resolve; never --abort
without the user's explicit instruction.
Run the project's automated checks [LOW freedom — run exactly] — typecheck, then tests, then
format/lint, using the repo's real scripts. Fix anything the merge broke;
conflicts that merge cleanly at the text level can still conflict
semantically.
Finish the operation. [LOW freedom — run exactly] Stage everything and commit (or git rebase --continue until all commits are replayed). Confirm the tree is clean and
checks are green before reporting done.
Related: workflow-git-commit, workflow-pr, verification-before-completion.