MCPInstall

twg-engineering-work

Use with root twg for code search, repositories using an API/package, implementation and reverse-dependency discovery, PR status and reviews, repo contributors, hot areas, and issue-to-PR lookups.

Installs
94
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/atlassian/twg-cli --skill twg-engineering-work
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads twg-engineering-work automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

twg-engineering-work

Use with root twg. Follow documented command shapes; use focused live twg help only for missing or uncertain commands, arguments, or output contracts.

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.

Use When

  • "Which PRs are waiting for my review?"
  • "Where is this API implemented or used?"
  • "Which repositories depend on this package?"
  • "Latest PRs for this issue"
  • "Who contributed most to this repo/topic?"
  • "Repos I created PRs in"
  • "Stale reviews"
  • "Review flow or bottlenecks"
  • "PR-only status for a user, team, or repo", "this person's PRs", "my PRs this week"
  • "Open bugs/tasks with PRs in flight"

First Move

Resolve the engineering anchor:

  • Repo: identify workspace and repo from URL, local checkout, or repo query.
  • PR: resolve exact PR URL, ID, workspace, and repo.
  • Workitem: fetch/context the Jira workitem for linked PRs, commits, branches, and repos.
  • Topic: resolve/search once, then find linked repos, PRs, and workitems.
  • Code: resolve the package, API, symbol, or repository anchor, then load references/code-search.md.

Provider-native PR commands apply only to their host; Bitbucket activity/comment/task commands never apply to GitHub PRs.

Route Selection

  • Use ../twg-code-review/SKILL.md only when named or code review requests additional context. Exclude ordinary reviews during testing.
  • For issue-to-PR lookup, use workitem context before broad PR text search.
  • For repo contributors and hot areas, combine PR/commit/file-area signals with ownership and review evidence.
  • For PR leadership/team/org rollups, use twg-status-rollups; this skill adds PR detail.
  • For person/repo status, collect merged/open PRs for the people, repos, and window.
  • Code: load references/code-search.md.
  • For person-scoped summaries beyond PRs (Jira, docs, meetings, planning, notifications), use twg-status-rollups plus ../twg-status-rollups/references/personal-work-summary.md.

Batch The PR Set

Hydrate a PR set in one call, never one call per PR.

  • Reviewers, approvals, age, merge state: one pull-requests get <pr-url…> covers the whole set. Use PR URLs (url in query results); ARIs give approved: null.
  • Candidates: bitbucket pull-requests query (author, reviewer, state, window) or pull-requests query (user/org).
  • pr-tree reviewer counts mean "listed as reviewer", not approved.
  • Pipelines: bitbucket pipeline query lists recent runs only (--limit default 15); raise it and check returned timestamps before claiming window coverage. pipeline get only for failures whose logs matter. commits/deployments batch by ARI.
  • Only approval/comment timestamps need per-PR bitbucket pull-requests activity; past ~10 PRs, sample and state it. With no --type it returns approval, update, and comment events together, so never call it again per event type.

Evidence Policy

  • Hydrate PR comments, tasks, pipeline status, and diff only for stale, blocked, central, or high-impact PRs.
  • For PR rollups, stop once themes, repos/services, owners, and recency are identified; more PRs of the same theme add nothing.
  • For review status, include age, requested reviewers, comments/tasks, approval state, CI/pipeline state, and last activity where exposed.
  • For repo/team reports, group by repo, service, or workstream, not person counts.
  • Infer themes from PR titles, descriptions, and linked issues, not PR counts.
  • Keep Bitbucket, GitHub, and Atlassian auth failures separate.
  • If PR graph or repo-wide queries repeatedly fail, make one narrower fallback from known repos, people, workitems, or search anchors, then answer from what succeeded and call out the PR coverage gap.

Recipe Cards

Review Queue

Query reviewer-scoped open PRs; sort by waiting time, requested action, unresolved tasks/comments, failing CI, and relevance. Hydrate only PRs needing action.

Stale Reviews / Review Bottlenecks

Find PRs open or waiting beyond the threshold; group by repo, author, reviewer, and stage. Bottleneck patterns: missing reviewer, unresolved tasks, failing CI, repeated request-changes, owner unavailable.

Issue PRs

Use workitem context for linked PRs, commits, branches, and repos. Fetch PRs only when the user asks for details, status, or next action.

Repo Contributors / Hot Areas

Query PRs/commits for the repo and window; group by files/areas, authors, reviewers, and themes. Hot areas rank changed area, frequency, and ownership.

PR-Based Status Rollup

Resolve org/team first, then collect PRs for members or repos in the window. Group into themes and repos/services, and call out gaps where PR-only evidence omits Jira, docs, planning, or customer context. For one person with a broader prompt, use twg-status-rollups.

Output Shape

Queues: PR, repo, owner, state, reason, next action, evidence. Reports: workstreams, contributors, bottlenecks, risks, gaps, and stable artifact URLs/IDs.

Anti-Patterns

  • Do not guess Bitbucket workspace or repo.
  • Do not call a single-entity command per PR or per pipeline when a batch or query route covers the set.
  • Do not fetch every PR body, diff, or comment in a large queue.
  • Do not treat PR counts as impact.
  • Do not mix Bitbucket, GitHub, and Atlassian auth failures.

FAQ

What does the twg-engineering-work skill do?

Use with root twg for code search, repositories using an API/package, implementation and reverse-dependency discovery, PR status and reviews, repo contributors, hot areas, and issue-to-PR lookups.

How do I install twg-engineering-work?

Run npx skills add https://github.com/atlassian/twg-cli --skill twg-engineering-work in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/twg-engineering-work/ (personal) or .claude/skills/twg-engineering-work/ (project).

Which AI agents can use twg-engineering-work?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is twg-engineering-work safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains twg-engineering-work?

It is published by atlassian in atlassian/twg-cli. It has 94 recorded installs.

More from atlassian/twg-cli

View all →

twg

atlassian/twg-cli

Use TWG whenever Atlassian or company context would help: Jira workitems and issues; Confluence pages and PRDs; Bitbucket PRs; project or goal status and launch readiness; owners, SMEs, approvers, or escalation; personal, org, or leadership work rollups and out-of-office catch-ups; dependency maps; code search, repository, or PR discovery; incidents, on-call, or reliability; and deep internal research across connected sources, docs, work, and people.

twg-confluence

atlassian/twg-cli

Use with root twg for Confluence content, spaces, hierarchy, authoring, editing, comments, versions, permissions, exports, and CQL. Applies Confluence semantics and safe write rules.

134 installs

twg-jira

atlassian/twg-cli

Use with root twg for Jira workitems, similar issue discovery, duplicate detection, projects, boards, sprints, fields, transitions, comments, links, and administration. Applies Jira semantics and safe mutation rules.

twg-status-rollups

atlassian/twg-cli

Use with root twg for status rollups, personal work summaries, and decision-readiness or go/no-go briefs. Routes to pr-tree, org-tree, work-tree, or workitem-tree.

twg-context-discovery

atlassian/twg-cli

Use with root twg for deep context, dependency maps, related entities, project-to-repo discovery, OOO catch-ups, and "catch me up" requests around a concrete anchor.

93 installs

twg-operational-health

atlassian/twg-cli

Use with the root twg skill for on-call handoffs, incident response and investigation, post-incident reviews, reliability reviews, Assets refresh, capacity views, meeting summaries, and operational risk readouts.

Popular code quality & workflow skills

View category →

grill-me

mattpocock/skills

A relentless interview to sharpen a plan or design.

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

handoff

mattpocock/skills

Compact the current conversation into a handoff document for another agent to pick up.

domain-modeling

mattpocock/skills

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

codebase-design

mattpocock/skills

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

diagnosing-bugs

mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.