mcpbeat Sign in

Twg Jira Resolve Merged Work Agent Skill

> Clean up stale or unresolved Jira workitems. Dry-run single items, lists, boards, sprints, epics, or projects by matching Jira keys/titles to merged PRs, repos, Rovo/search-code hits, and assignee activity.

2k tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
8
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/atlassian/twg-cli --skill twg-jira-resolve-merged-work

What comes with it

1 522 bytes besides the instruction
LICENSE.txt

What it tells the agent to use

found in the instruction text
Write writes files

The instruction itself

6 sections, as written by the author

twg-jira-resolve-merged-work

Resolve stale Jira workitems only when merged PR evidence is strong. Plan first;

mutate only after approval.

Use exact command grammar from live twg help / twg help describe; do not

guess board, sprint, transition, workspace, repo, PR, or field syntax.

CLI launcher fallback

Run twg <command>. On shell command not found, use $HOME/.local/bin/twg

(macOS/Linux) / $env:LOCALAPPDATA\Programs\twg\bin\twg.exe (PowerShell), then

tell user to add that directory to PATH. Do not treat auth or command errors as

PATH failures.

Scope

Accept one Jira scope:

  • One Jira workitem key/URL.
  • A small explicit list of Jira workitem keys/URLs.
  • Board or sprint ID/URL.
  • Epic key.
  • Jira space/project key.

Default to dry run. Ask before mutating unless the user requests reviewed

execution. Use a bounded window; otherwise inspect recent active/completed

sprint work and nearby PR merge dates.

Workflow

  • Load Jira candidates.
  • Single/list: hydrate each provided workitem directly.
  • Sprint: jira sprint workitems query.
  • Board: board/backlog/sprint commands advertised by live help.
  • Epic or space: JQL-backed jira workitem query.
  • Hydrate key, title, status/category, assignee, updated time, parent,

subtasks/blockers, and URL.

  • Split the set.
  • Candidates are not done/resolved. Peers are done in the same board, sprint,

epic, or space.

  • Exclude epics/parents. Skip unresolved blockers or incomplete subtasks

unless the user explicitly allows them.

  • Discover shared repo context set-wise.
  • Even for one item or a short list, infer context for the set together.
  • Extract repos/workspaces from linked PRs, commits, branches, project links,

Compass/components, context queries, and resolved peers.

  • Use completed peers to infer common repos, assignees, Jira-key title/branch

conventions, PR links, and merge-to-transition lag.

  • Check optional discovery signals.
  • If rovo list-apps shows Bitbucket or GitHub connected, use Rovo search

for keys, titles, PR URLs, branches, and repos. Treat it as discovery until

hydrated through TWG/provider/Jira evidence.

  • If search-code is available, search exact keys first, then distinctive

title terms in discovered repos. Strong hits are branch names, commit text,

changed files, or symbols; broad fuzzy hits stay weak.

  • Expand likely implementers.
  • Prefer assignees from completed peer items and candidates. Treat reporters

and commenters as weak hints.

  • Query merged PRs authored by these assignees in the window, scoped by

discovered repos first; if unknown, infer repos from author/date results.

  • Search merged PRs in batches.
  • Prefer one merged-PR query per repo/window, then match locally across all

candidate keys. One PR may satisfy multiple exact keys.

  • Match exact keys in PR title, description, branch, commits, and linked

issue metadata.

  • Fall back to per-workitem lookup only for no evidence, priority items, or

ambiguity.

  • Score confidence.
  • High: exact key in merged PR or linked PR metadata, plausible timing, no

open same-key PR, no blockers/subtasks, and target transition exists.

  • Medium: same assignee/repo with strong title similarity, or exact key only

in commit/search-code evidence.

  • Low: fuzzy similarity, same author only, unknown repo, or ambiguity.
  • Produce the dry-run plan.
  • Table columns: workitem key/title, current status, proposed transition,

confidence, brief rationale, PR title/URL, merge date, last Jira update,

link/repo proposal, PR title-fix proposal, skipped reason, and verification.

  • Include exact commands only after live-help verification. Never present

low-confidence rows as executable.

Mutations

Only mutate after explicit approval of the exact rows or plan.

  • Transition: list transitions first, then use only the approved done/resolved

target.

  • Link enrichment: if links are missing, offer jira workitem link weblink

for PR/repo URLs after querying links and verifying help. Do not claim this

creates native development-panel links.

  • PR title fix: for Bitbucket, update title only when twg bitbucket can read

the PR, write access is verified, the PR is confidently tied to the item, and

the user approved it. For GitHub, update only when an authenticated write tool

is available and access is verified; otherwise skip with the reason.

  • Verification: re-read each changed workitem and PR. Report changed keys,

statuses, URLs, and failed rows.

Do not transition medium-confidence items automatically. Do not transition

declined/superseded PRs or rows supported only by same author, same repo, or

fuzzy similarity.

Output

Lead with the decision summary:

  • executable high-confidence rows,
  • review-needed medium-confidence rows,
  • skipped unsafe rows,
  • missing repo/auth/permission coverage.

Then provide the dry-run table and exact approval question. Include URLs or

stable IDs for every workitem and PR used as evidence.

Other skills for the same job

different authors, same section of the catalogue
Doc Coauthoring
by anthropics
vendor ×10

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

4k tokens
File Organizer
by frostant
×10

Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.

3k tokens
Domain Name Brainstormer
by frostant
×8

Generates creative domain name ideas for your project and checks availability across multiple TLDs (.com, .io, .dev, .ai, etc.). Saves hours of brainstorming and manual checking.

1k tokens
Brainstorming
by ZhanlinCui
×4

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

626 tokens
Planning With Files
by ZhanlinCui
×3

Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requiring >5 tool calls.

9k tokens scripts
Scientific Brainstorming
by christophacham
×3

Creative research ideation and exploration. Use for open-ended brainstorming sessions, exploring interdisciplinary connections, challenging assumptions, or identifying research gaps. Best for early-stage research planning when you do not have specific observations yet. For formulating testable hypotheses from data use hypothesis-generation.

5k tokens
GitHub Project Management
by ComeOnOliver
×3

Comprehensive GitHub project management with swarm-coordinated issue tracking, project board automation, and sprint planning

14k tokens
Grill Me
by ComeOnOliver
×3

Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".

3k tokens

How to use it

Copy the folder

Take atlassian/twg-jira-resolve-merged-work from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.