twg
Skill1 starsChanged 3 months agoMITView on GitHub
Use for company work-data tasks through the TWG CLI, including Jira, Confluence, cross-product and Rovo search, indexed code search, ownership, status rollups, dependencies, projects, goals, incidents, and related engineering context. Use typed commands for known anchors and live help for uncertain command contracts.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- atlassian/twg-clitheir own version, first seen May 24, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- atlassian/twg-cli★ 21same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- doc-writerSkill
- foam-notesSkill
- kotlin-code-reviewerSkill
- portfolio-analysisSkill
- prflowSkill
- review-codeSkill
- write-codeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
34 rules. About 0 are common, 27 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈27
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Use the installed twg CLI to gather and change company work data.
- Distinctive: line 27
Do not make TWG and PRFlow compete for direct Bitbucket operations.
- Distinctive: line 32
Start with a typed command when the anchor and command family are known.
- Very specific: line 33
Use twg help to inspect namespaces and twg help <terms> to search help.
- Very specific: line 34
Before guessing a path, flag, output shape, or mutation contract, run twg help describe "<command path>".
- Very specific: line 36
If twg is not on PATH, try $HOME/.local/bin/twg.
- Distinctive: line 38
Do not run setup, login, logout, install, update, upkeep, cache, credential, or environment commands unless the user asks for setup or …
- Distinctive: line 40
Do not add per-command environment overrides unless the user requests them.
- Distinctive: line 62
Use native product reads for known anchors.
- Distinctive: line 71
Run one bounded discovery query.
- Distinctive: line 76
Stop when the answer, decision, risk, relationship, or next action is supported.
- Distinctive: line 89
Search snippets are candidate evidence, not final facts.
- Distinctive: line 93
Never persist retrieved company content, tenant identifiers, private URLs, user records, or command output in this skill source repository.
- Distinctive: line 99
Read the native workitem before relying on status, fields, comments, links, or ownership.
- Very specific: line 103
Before creating or updating, inspect field metadata and use returned customfield_* IDs instead of guessing display-name mappings.
- Distinctive: line 105
Before transitioning, list available transitions and use an advertised transition ID or contract.
- Distinctive: line 107
Before updating, transitioning, linking, commenting, or deleting, resolve the site and key and read current state.
- Distinctive: line 109
After a mutation, read the workitem again and report its key, resulting state, and URL.
- Distinctive: line 114
Treat search results as candidates and read selected content before summarizing or editing.
- Very specific: line 116
Use confluence content for content, comments, attachments, labels, permissions, restrictions, history, tasks, and versions when live help …
- Very specific: line 119
Use confluence space for space metadata and instructions, and confluence tree for hierarchy.
- Distinctive: line 121
Before authoring in a space, read its instructions when available.
- Distinctive: line 122
Before a non-trivial edit, read current content and retain the returned version or snapshot contract required by live help.
- Distinctive: line 125
Do not duplicate a page title as the first body heading.
- Distinctive: line 126
After a mutation, read the content again and report its URL.
- Distinctive: line 130
Use tree commands for reporting-line rollups and count first.
- Distinctive: line 133
Do not infer project health from issue or PR counts alone.
- Distinctive: line 143
Read, search, summarize, and status requests are non-mutating.
- Distinctive: line 144
When the user explicitly asks to create, update, comment, transition, link, move, archive, restore, or delete, execute after resolving the …
- Distinctive: line 149
Never guess IDs, sites, ARIs, slugs, field mappings, transition IDs, permission levels, or mutation flags.
- Distinctive: line 151
Verify every mutation with a native read.
- Distinctive: line 156
Stop after the first policy denial.
- Distinctive: line 157
After one correction, stop when the same authentication, ACL, schema, contract, or backend error occurs again.
- Distinctive: line 159
Do not turn a product or authentication error into setup work unless the user requested repair.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
TWG
Use the installed twg CLI to gather and change company work data. Prefer a
small, authoritative evidence set over a broad artifact dump.
Tool Boundary
- TWG owns Jira, Confluence, Rovo and cross-product search, company documents, people, ownership, teams, goals, projects, incidents, and status rollups.
- TWG may discover Bitbucket or GitHub artifacts when answering a cross-product question.
prflowowns direct Bitbucket pull-request and CI actions, including PR comments, checks, approvals, merges, pipelines, and logs.- Local
git,rg, and repository-native tools own local source inspection and builds.
Do not make TWG and PRFlow compete for direct Bitbucket operations.
CLI Contract
- Print the installed version with
twg --version. - Start with a typed command when the anchor and command family are known.
- Use
twg helpto inspect namespaces andtwg help <terms>to search help. - Before guessing a path, flag, output shape, or mutation contract, run
twg help describe "<command path>". - If
twgis not onPATH, try$HOME/.local/bin/twg. Treat authentication or command errors separately from a missing executable. - Do not run setup, login, logout, install, update, upkeep, cache, credential, or environment commands unless the user asks for setup or repair.
- Do not add per-command environment overrides unless the user requests them.
Route By Intent
| Intent | Preferred route |
| Known Jira key or URL | twg jira workitem get |
| Exact Jira filtering | twg jira workitem query --jql |
| Jira fuzzy text | twg jira workitem search |
| Semantic Jira discovery | twg search ... --app jira |
| Known Confluence URL or content ID | twg confluence content get |
| Fuzzy document discovery | twg docs search, then native content get |
| Exact Confluence filtering | Confluence search with CQL |
| Broad company topic | twg search with deliberate app and recency filters |
| Personal activity | twg work query |
| Tenant-wide work topic | twg work search |
| Indexed source or API usage | twg search-code |
| Related work and dependencies | twg context |
| Owner, expert, approver, or escalation | twg responsibility, twg people, or twg user |
| Team or leadership status | twg pr-tree, twg workitem-tree, twg work-tree, or twg org-tree |
| Direct Bitbucket PR or pipeline operation | prflow, not TWG |
Use native product reads for known anchors. Use search to discover candidates, not as a substitute for exact Jira JQL, Confluence CQL, or a known URL.
Bounded Evidence Workflow
- Classify the anchor: person, team, project, goal, workitem, page, repository, service, incident, asset, or topic.
- Resolve a supplied key, URL, ARI, email, name, or repository before searching broadly.
- Run one bounded discovery query. Default to about 20 results and add app, type, owner, status, space, or recency filters when they improve precision.
- Shortlist the candidates that can change the conclusion.
- Hydrate selected candidates with product-native reads.
- Compare authority, recency, ownership, and contradictions, then synthesize.
- Stop when the answer, decision, risk, relationship, or next action is supported. Do not fetch more examples of an established pattern.
For structured output, prefer the command's advertised compact or evidence view, for example:
twg search "<topic>" --limit 20 --output json \
--output-summary auto --agent-fields @compactInspect live help before reusing those output flags on another command.
Search snippets are candidate evidence, not final facts. Hydrate a small, diverse primary-source set and cite stable URLs near claims. Call out stale sources, missing connector coverage, ACL gaps, and unresolved contradictions.
Never persist retrieved company content, tenant identifiers, private URLs, user records, or command output in this skill source repository. Use an explicit private workspace or temporary directory for runtime evidence.
Jira
- Read the native workitem before relying on status, fields, comments, links, or ownership.
- For "what should I pick next," query actual open work or the requested board backlog instead of ranking broad activity.
- Before creating or updating, inspect field metadata and use returned
customfield_*IDs instead of guessing display-name mappings. - Before transitioning, list available transitions and use an advertised transition ID or contract.
- Before updating, transitioning, linking, commenting, or deleting, resolve the site and key and read current state.
- After a mutation, read the workitem again and report its key, resulting state, and URL.
Confluence
- Treat search results as candidates and read selected content before summarizing or editing.
- Use
confluence contentfor content, comments, attachments, labels, permissions, restrictions, history, tasks, and versions when live help advertises the operation. - Use
confluence spacefor space metadata and instructions, andconfluence treefor hierarchy. - Before authoring in a space, read its instructions when available.
- Before a non-trivial edit, read current content and retain the returned version or snapshot contract required by live help.
- Preserve macros and storage representation when exact round-tripping matters.
- Do not duplicate a page title as the first body heading.
- After a mutation, read the content again and report its URL.
Status, Ownership, And Engineering Context
- Use tree commands for reporting-line rollups and count first. Hydrate examples only for risks, blockers, themes, or outliers.
- Distinguish authored work, review work, coordination, and influence.
- Do not infer project health from issue or PR counts alone.
- Resolve a workitem before looking for linked PRs, commits, branches, or repos.
- For code search, start with a concrete package, symbol, API, or behavior. Inspect selected source locations and de-duplicate mirrors before concluding.
- Infer ownership from multiple signals such as explicit ownership, recent implementation, review history, and reporting context. Do not use keyword matches alone.
Mutation Safety
- Read, search, summarize, and status requests are non-mutating.
- When the user explicitly asks to create, update, comment, transition, link, move, archive, restore, or delete, execute after resolving the exact target and current state.
- For an unfamiliar, broad, consequential, or destructive mutation, inspect the exact live help and preview the target set before execution.
- Never guess IDs, sites, ARIs, slugs, field mappings, transition IDs, permission levels, or mutation flags.
- Verify every mutation with a native read. Report partial success per item instead of hiding it in an aggregate result.
Failure Handling
- Stop after the first policy denial.
- After one correction, stop when the same authentication, ACL, schema, contract, or backend error occurs again.
- Do not turn a product or authentication error into setup work unless the user requested repair.
- Answer from successful evidence and state the missing coverage, remediation, and confidence impact.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

