Skip to content
Skills Library
Programming · Building & coding

workflow-takeover

/workflow-takeover

Finishes a pull request, branch or agent thread that someone else started, and keeps the original contributors' credit in the commits, the PR description and the merge commit. Use when the user asks to take over, pick up, finish or continue a PR, branch or agent thread that someone else started.

Licence
MIT
Last repository change
26.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Finishes a pull request, branch or agent thread that someone else started, and keeps the original contributors' credit in the commits, the PR description and the merge commit. Use when the user asks to take over, pick up, finish or continue a PR, branch or agent thread that someone else started.

Arguments

/workflow-takeover <PR number or URL, branch, or thread> [what finishing means]
Original author description

Finishes a pull request, branch or agent thread that someone else started, and keeps the original contributors' credit in the commits, the PR description and the merge commit. Use when the user asks to take over, pick up, finish or continue a PR, branch or agent thread that someone else started.

How it works

  1. 1. Read the source
  2. 2. Choose where the work continues
  3. 3. Bring it up to date
  4. 4. Finish the goal
  5. 5. Verify independently
  6. 6. Keep the credit
  7. 7. File and follow through
  8. 8. Report
Original SKILL.md headings · 69 lines, 824 words
SKILL.md preview
---
name: workflow-takeover
description: "Finishes a pull request, branch or agent thread that someone else started, and keeps the original contributors' credit in the commits, the PR description and the merge commit. Use when the user asks to take over, pick up, finish or continue a PR, branch or agent thread that someone else started."
argument-hint: "<PR number or URL, branch, or thread> [what finishing means]"
---

# /workflow-takeover - Finish someone else's work

Take responsibility for finishing the original goal, and keep the original contributors' credit. Don't defend an implementation just because another person or agent already built it.

User provided: $ARGUMENTS

The arguments name the source: a PR, a branch or an agent thread. They may also say what finishing means: a PR ready for review (the default), a merged PR, or only a local branch. If the source is unclear, ask before you change anything.

## 1. Read the source

- **PR**: `gh pr view <N> --json url,state,author,baseRefName,headRefName,headRefOid,maintainerCanModify,title,body,commits,reviewDecision`, its review threads and comments, and `gh pr diff <N>`.
- **Branch**: `git log --format='%h %an <%ae> %s' origin/<base>..origin/<branch>` and the diff against the base.
- **Agent thread**: in T3 Code, read it with `t3_thread_read`, first the messages and then the `activity` view, which shows its worktree path and branch. Check that worktree for uncommitted work with `git -C <path> status --short`. Elsewhere, read the transcript or notes the user points to. If you can't read the thread, ask the user for it.

Read the review findings and the user's later corrections, not only the first request. Resolve the handoff to actual code: the current head SHA, plus any uncommitted work in the source's worktree. Treat the handoff as context, not proof. "Tests pass" in a thread is a claim until you run the tests.

## 2. Choose where the work continues

- **Default, a replacement PR**: create a new branch from the source's head, so the original commits keep their authors. Add your work as separate commits on top.
- **In place or stacked**: if the user asked to continue on the original branch, or to stack on it, do that instead. Pushing to someone else's branch needs the user's say-so. For a PR from a fork, it also needs `maintainerCanModify` to be true.
- Don't change the original PR's title, body, branch or state without the user's permission, and don't overwrite unrelated work.

## 3. Bring it up to date

Run the workflow-refresh skill from this plugin on the work: `ai-workflow:workflow-refresh` with the Skill tool. Pass the source PR, and for a replacement PR also `--branch <your new branch>`, so the refresh never pushes to the original PR's branch. For a branch with no PR, follow its steps 2 to 4 against the branch's base. Its disposition decides what happens next:

- **REFRESH**: continue on the rebased branch.
- **REWORK**: do the rework, since finishing the goal is the task.
- **CLOSE**: stop and report its evidence. Don't finish work that should not land.

## 4. Finish the goal

- Rework what's needed to finish the same goal. Leave unrelated features out.
- Simplify the implementation where you can, without dropping intended behavior or surfaces.
- Before you file, check the source again (`gh pr view <N> --json headRefOid,updatedAt`). It may have changed while you worked. If it did, bring the new commits in.

## 5. Verify independently

Reproduce the original failure, then check the fix and the realistic workflows around it. Follow the repository's testing guidance and permissions. Green mocked tests don't prove that the user experience works. Say what you couldn't verify.

## 6. Keep the credit

- Never rewrite the authors of the original commits, and keep their existing `Co-authored-by:` trailers.
- Credit the original contributors in the PR description, and link the original PR when there is one.
- If the PR will be squash-merged, the squash commit keeps credit only through `Co-authored-by:` trailers. Add one for each original contributor, with a verified identity: the name and email on their commits (`git log --format='%an <%ae>'`), or their GitHub noreply address `<id>+<login>@users.noreply.github.com`, with the ID from `gh api users/<login> --jq .id`. Never guess an email.
- Model attribution doesn't replace contributor credit.

## 7. File and follow through

When finishing includes a PR:

1. Open it, or update the replacement PR. Write the description with the problem first, then the fix, then the credit line.
2. Run the workflow-babysit skill from this plugin on it (`ai-workflow:workflow-babysit`). By default pass `--to ready`, so it stops when the PR is ready and doesn't merge. If the user asked you to merge it, pass "merge it", which merges the PR into its own base and promotes nothing. Run the full release to production only when the user asked for production.
3. Format every comment you post with the workflow-pr-comments skill.
4. Merge or close the original PR only when the user authorized it. Once the replacement merges, offer to close the original with a comment that links the replacement.

## 8. Report

- What you inherited: the source, its head SHA, and its state.
- What you changed, and why.
- How you verified it, and what stays unverified.
- How you kept the credit.
- Any decision that remains for the user.

---

Adapted from `takeover` in [tstack](https://github.com/t3dotgg/tstack) by Theo Browne (MIT). See THIRD-PARTY-NOTICES.md in this plugin.

Versions

The database has no other skills named workflow-takeover.

Database snapshot: 13.11.2026 · package version 8a943f1aacd8 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 3 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100takeover
    Take over a public (every-app/open-seo) PR, or a branch or agent thread, and finish it in the private repo while keeping the original contributors' credit in the merged commit. Use when the user asks to take over, finish, adopt, or land someone else's PR, or when triage decides…
  • 96takeover
    Use when the user asks to take over a pull request, branch, or agent thread.
  • 81takeover
    Take over existing work. Use when the user asks to take over an MR (or PR), branch, or agent thread, or requests a takeover.
  • 90ds-adopt
    Takes over an existing PR, branch or agent thread and finishes its original goal while keeping credit for the first contributors. Use when the user says take over, adopt, pick up or finish this PR, or /ds-adopt.
  • 76t3-takeover
    Take over existing work. Use when the user asks to take over a PR, branch, or agent thread, or requests a takeover.
  • 81takeover
    Take over existing work. Use when the user asks to take over a PR, branch, or agent thread, or requests a takeover.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.