
Description
Root TWG CLI skill for Atlassian work-data tasks. Use typed commands for known anchors; use live `twg help` only when command shape or output contract is uncertain.
SKILL.md
twg
TWG routing: use typed commands for anchors. If uncertain, inspect twg help <terms>,
twg help describe <path>, or twg help discover-skills "<intent>".
Overview
Load the narrowest workflow skill:
twg-status-rollupsfor status, leadership, and decision-readiness; load it beforetwg-engineering-workfor PR-based team/org rollups.twg-context-discoveryfor deep dives, dependencies, graphs, repos, and catch-ups.twg-agentic-searchfor fuzzy cross-product Rovo/company-knowledge research.twg-responsibility-routingfor owners, experts, approvers, authorities, and escalation.twg-engineering-workfor code search and navigation, PR status, reviews, contributors, and hot areas.twg-jira-resolve-merged-workfor stale Jira work backed by merged PRs.twg-operational-healthfor handoffs, incidents, Assets, staffing, meetings, and risk.twg-bench-litefor read-only single-prompt A/B comparisons.
Invocation And Output
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.
Do not add per-command env prefixes unless requested; hosts may set TWG_AGENT_DEFAULTS=1.
Use stdout_inline first when present. Outside benchmark lanes, inspect output_files.compact
only when inline evidence is incomplete; full stdout is the last resort.
In TWG-only benchmark lanes, run only twg commands. Never use shell utilities or pipelines
(jq, rg, date) to transform evidence or calculate windows. Use compact/inline TWG output,
the prompt's timezone and window, and report gaps. Match the intent to the narrowest companion
skill before selecting a command. Let that skill determine the typed route; use at most one help
call when command shape or output remains ambiguous.
Auth/Setup Guard
Do not run setup, login, install, update, upkeep, or credential commands unless explicitly requested for setup/auth/repair. Otherwise report remediation and wait for user direction.
Bounded Evidence Loop
Converge; prefer typed or product-native evidence.
- Classify the anchor: person, team, project, goal, workitem, page, repo, service, asset, or topic.
- Resolve once; fetch evidence that changes status, risk, decision, relationship, or action.
- Rank candidates, hydrate representative items, then synthesize.
- Stop after the first policy denial; stop after the same auth, ACL, contract, or backend error twice.
Command Discovery
- Use typed commands for familiar families:
resolve,search,user,org-tree,work query,work search,pull-requests,jira,confluence,docs,context,responsibility,goals,projects,assets, andtrello. - Use
twg search "<topic>" [--limit <n>]for top-K discovery; explicit--apppreflights. - For fuzzy Trello discovery, use
twg trello search "<query>" --limit 20; no workspace scope. - For Rovo connectors, use
twg rovo list-apps -o json(list-connectorsalias), then explicittwg rovo search ... --app <connector>; follow its auth action ortwg rovo auth <app>. - Keep document relationship history and fuzzy discovery separate:
twg docs query --since <duration> [--account-id <id>] [--first <n>]is user activity history, not title/content search.twg docs search "<topic>" [--limit <n>]is fuzzy Rovo discovery across Confluence and ready document connectors.- Never pass topic text to
docs query; route that intent todocs search.
- Keep user activity and fuzzy work discovery separate:
twg work querydefaults to seven days of authored work; other activity requires--activity/--include-viewed.twg work search "<topic>"is tenant-wide; usedocs searchfor documents. Prefer it directly when fuzzy text reacheswork query.
- Use live help—
twg help <terms>thentwg help describe <path>—before guessing grammar; namespace help is not executable. - Resolve URLs, keys, ARIs, names, and people, then hydrate stable IDs.
- Jira:
jira workitem search <text...>for Jira fuzzy text,jira workitem query --jql <jql>for structured JQL, andsearch <text...> --app jirafor semantic discovery. - Command shape guardrails:
- Known Jira/Atlas keys are positional for
jira workitem get,goals get, andprojects get;--keyis compatibility only. work queryis user activity (--scope me|user), never--scope global; usework searchfor topics and advertised filters such as--types.assets searchis shallow: inspect schemas/types, shortlist owners, then batchassets query/assets object querywith--account-id.
- Known Jira/Atlas keys are positional for
- Keep projection and product-native commands separate; do not borrow unadvertised flags. Use
search-codefor indexed code. Unless the user explicitly scopes a code host, omit--appso all available indexed SCM surfaces are searched; repeated--appvalues are supported for an explicit multi-host scope. Apply--workspaceonly when a known tenant boundary is useful, and--repoonly as a discovery anchor rather than proof that the full implementation lives there. De-duplicate mirrors, widen after generated-doc or incomplete hits, then fetch selected source files.
Load The Narrowest Companion
Use a concrete key, URL, ARI, slug, account ID, name, topic, me, or window.
../twg-jira/SKILL.mdfor Jira;../twg-confluence/SKILL.mdfor Confluence edits.../twg-status-rollups/SKILL.mdfor status;../twg-context-discovery/SKILL.mdfor context, dependencies, and graphs.../twg-agentic-search/SKILL.mdfor fuzzy Rovo/company-knowledge search.../twg-responsibility-routing/SKILL.mdfor ownership, approval, and escalation.../twg-engineering-work/SKILL.mdfor code search, PRs, and reviews;../twg-jira-resolve-merged-work/SKILL.mdfor stale Jira work backed by merged PRs.../twg-operational-health/SKILL.mdfor handoffs, reliability, incidents, assets, staffing, and risk.
Rules
- Never guess IDs, flags, slugs, ARIs, object IDs, or mutation contracts.
- For product writes, load the product skill and follow live help.
- Avoid local inspection, caches, schema probes, or diagnostics unless local state is requested.
- For writes, read current state and state the mutation unless execution was requested.
More skills from the twg-cli repository
View all 11 skillstwg-agentic-search
perform iterative enterprise knowledge search
Jul 25AtlassianEnterprise SearchKnowledge ManagementResearchtwg-bench-lite
run A/B comparisons of Atlassian context
Jul 22A/B TestingAtlassianMCPResearchtwg-confluence
manage Confluence content and hierarchy
Jul 25AtlassianConfluenceDocumentsKnowledge Managementtwg-context-discovery
discover project context and dependencies
Jul 25AtlassianKnowledge ManagementResearchSearchtwg-engineering-work
analyze engineering work and pull requests
Jul 25AtlassianCode ReviewEngineeringGitHub +1twg-jira
manage Jira work items and projects
Jul 25AtlassianJiraTask Management
More from Atlassian
View publishercapture-tasks-from-meeting-notes
create Jira tasks from meeting notes
atlassian-mcp-server
Jul 12AutomationJiraMeetingsTask Managementgenerate-status-report
generate project status reports for Confluence
atlassian-mcp-server
Jul 12AtlassianConfluenceJiraProject Management +1jira-sprint-dashboard
create Jira sprint dashboards
atlassian-mcp-server
Jul 12AgileDashboardsJiraSprint Planningsearch-company-knowledge
search internal company knowledge bases
atlassian-mcp-server
Jul 12ConfluenceEnterprise SearchJiraKnowledge Managementspec-to-backlog
convert Confluence specifications to Jira backlogs
atlassian-mcp-server
Jul 12AgileConfluenceJiraProject Managementtriage-issue
triage bug reports in Jira
atlassian-mcp-server
Jul 12DebuggingJiraProject ManagementTriage