Twg Engineering Work logo

Twg Engineering Work

Organization
atlassian
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.

Overview

Publisheratlassian
Repositorytwg-cli
Skill nametwg-engineering-work
Stars
31
Forks
6
Bundled files
2
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by atlassian on GitHub. Read the source before you install it.

Installation

Install the Twg Engineering Work AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/atlassian/twg-cli/tree/main/skills/twg-engineering-work
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/atlassian/twg-cli.git /tmp/twg-cli
mkdir -p .claude/skills
cp -r /tmp/twg-cli/skills/twg-engineering-work .claude/skills/twg-engineering-work
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Twg Engineering Work in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Twg Engineering Work on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Twg Engineering Work is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Twg Engineering Work AI 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.

Why use Twg Engineering Work on TypingMind?

Because you install it once and use it with any model. Twg Engineering Work is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Twg Engineering Work in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/atlassian/twg-cli/tree/main/skills/twg-engineering-work. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Twg Engineering Work?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Twg Engineering Work?

As many as you like. As long as a model supports skills, you can use Twg Engineering Work with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Twg Engineering Work AI skill free?

Yes. It is published on GitHub by atlassian under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇