twg-engineering-work

Query pull requests, code search, and repository activity through the twg CLI.

2|2|Updated Dec 23, 2017
One-click install
npx skills add https://github.com/xriu/dotfiles --skill twg-engineering-work-xriu
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: twg-engineering-work
Source: https://github.com/xriu/dotfiles/tree/main/home/.skills/atlassian/twg-engineering-work
Command: npx skills add https://github.com/xriu/dotfiles --skill twg-engineering-work-xriu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Engineers waste time manually hunting through Bitbucket, GitHub, and Jira to answer questions about pull request status, code ownership, and cross-repository dependencies. This Skill routes those questions to the twg CLI so you get evidence-backed answers without opening multiple dashboards. ## Core Features & Use Cases - Review Queue Management: Find PRs waiting for your review, sorted by waiting time, unresolved tasks, and CI state. - Code Search & Reverse Dependencies: Locate where an API or package is implemented and which repositories directly consume it. - Issue-to-PR Lookup: Resolve a Jira workitem to its linked PRs, commits, branches, and repos. - Contributor & Hot Area Reports: Identify top contributors and frequently changed areas in a repository over a time window. - Use Case: Ask "Which PRs are waiting for my review?" and get a prioritized queue with owner, state, reason, and next action for each PR. ## Quick Start Ask the assistant to show which pull requests are currently waiting for your review using twg.

Frequently Asked Questions about twg-engineering-work

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find pull requests waiting for my review?▼

Ask for your review queue and the skill queries reviewer-scoped open PRs through twg, sorting by waiting time, unresolved tasks, failing CI, and project relevance. It hydrates details only for PRs that need action.

How do I find which repositories depend on a package or API?▼

The skill searches the exact API or symbol first, then the package or import anchor if needed, grouping candidates by repository. It verifies direct consumers by inspecting the manifest or call site, using at most two search calls per reverse-dependency map.

Can I look up pull requests linked to a Jira issue?▼

Yes. The skill fetches the Jira workitem context to discover linked PRs, commits, branches, and repos, then fetches PR details only if you ask for status or next actions.

What happens when the twg command is not found?▼

The skill falls back to $HOME/.local/bin/twg on macOS/Linux or the LOCALAPPDATA path on Windows, then tells you to add that directory to PATH. Auth or command errors are not treated as PATH failures.

Does this skill work for both Bitbucket and GitHub pull requests?▼

It supports both, but provider-native PR commands apply only to their own host. Bitbucket activity, comment, and task commands never apply to GitHub PRs, and auth failures for each provider are reported separately.

When should I use twg-status-rollups instead of this skill?▼

Use twg-status-rollups for person, team, or org summaries that include Jira, docs, meetings, planning, or notifications. This skill owns PR-only status, review queues, and pull request summaries.