agentleFS
ayushgoelayushgoel/skills/twg/SKILL.md

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

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    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.

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
  1. Very specific:

    Use the installed twg CLI to gather and change company work data.

    line 13
  2. Distinctive:

    Do not make TWG and PRFlow compete for direct Bitbucket operations.

    line 27
  3. Distinctive:

    Start with a typed command when the anchor and command family are known.

    line 32
  4. Very specific:

    Use twg help to inspect namespaces and twg help <terms> to search help.

    line 33
  5. Very specific:

    Before guessing a path, flag, output shape, or mutation contract, run twg help describe "<command path>".

    line 34
  6. Very specific:

    If twg is not on PATH, try $HOME/.local/bin/twg.

    line 36
  7. Distinctive:

    Do not run setup, login, logout, install, update, upkeep, cache, credential, or environment commands unless the user asks for setup or …

    line 38
  8. Distinctive:

    Do not add per-command environment overrides unless the user requests them.

    line 40
  9. Distinctive:

    Use native product reads for known anchors.

    line 62
  10. Distinctive:

    Run one bounded discovery query.

    line 71
  11. Distinctive:

    Stop when the answer, decision, risk, relationship, or next action is supported.

    line 76
  12. Distinctive:

    Search snippets are candidate evidence, not final facts.

    line 89
  13. Distinctive:

    Never persist retrieved company content, tenant identifiers, private URLs, user records, or command output in this skill source repository.

    line 93
  14. Distinctive:

    Read the native workitem before relying on status, fields, comments, links, or ownership.

    line 99
  15. Very specific:

    Before creating or updating, inspect field metadata and use returned customfield_* IDs instead of guessing display-name mappings.

    line 103
  16. Distinctive:

    Before transitioning, list available transitions and use an advertised transition ID or contract.

    line 105
  17. Distinctive:

    Before updating, transitioning, linking, commenting, or deleting, resolve the site and key and read current state.

    line 107
  18. Distinctive:

    After a mutation, read the workitem again and report its key, resulting state, and URL.

    line 109
  19. Distinctive:

    Treat search results as candidates and read selected content before summarizing or editing.

    line 114
  20. Very specific:

    Use confluence content for content, comments, attachments, labels, permissions, restrictions, history, tasks, and versions when live help …

    line 116
  21. Very specific:

    Use confluence space for space metadata and instructions, and confluence tree for hierarchy.

    line 119
  22. Distinctive:

    Before authoring in a space, read its instructions when available.

    line 121
  23. Distinctive:

    Before a non-trivial edit, read current content and retain the returned version or snapshot contract required by live help.

    line 122
  24. Distinctive:

    Do not duplicate a page title as the first body heading.

    line 125
  25. Distinctive:

    After a mutation, read the content again and report its URL.

    line 126
  26. Distinctive:

    Use tree commands for reporting-line rollups and count first.

    line 130
  27. Distinctive:

    Do not infer project health from issue or PR counts alone.

    line 133
  28. Distinctive:

    Read, search, summarize, and status requests are non-mutating.

    line 143
  29. Distinctive:

    When the user explicitly asks to create, update, comment, transition, link, move, archive, restore, or delete, execute after resolving the …

    line 144
  30. Distinctive:

    Never guess IDs, sites, ARIs, slugs, field mappings, transition IDs, permission levels, or mutation flags.

    line 149
  31. Distinctive:

    Verify every mutation with a native read.

    line 151
  32. Distinctive:

    Stop after the first policy denial.

    line 156
  33. Distinctive:

    After one correction, stop when the same authentication, ACL, schema, contract, or backend error occurs again.

    line 157
  34. Distinctive:

    Do not turn a product or authentication error into setup work unless the user requested repair.

    line 159

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.
  • prflow owns 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 help to inspect namespaces and twg help <terms> to search help.
  • Before guessing a path, flag, output shape, or mutation contract, run twg help describe "<command path>".
  • If twg is not on PATH, 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

IntentPreferred route
Known Jira key or URLtwg jira workitem get
Exact Jira filteringtwg jira workitem query --jql
Jira fuzzy texttwg jira workitem search
Semantic Jira discoverytwg search ... --app jira
Known Confluence URL or content IDtwg confluence content get
Fuzzy document discoverytwg docs search, then native content get
Exact Confluence filteringConfluence search with CQL
Broad company topictwg search with deliberate app and recency filters
Personal activitytwg work query
Tenant-wide work topictwg work search
Indexed source or API usagetwg search-code
Related work and dependenciestwg context
Owner, expert, approver, or escalationtwg responsibility, twg people, or twg user
Team or leadership statustwg pr-tree, twg workitem-tree, twg work-tree, or twg org-tree
Direct Bitbucket PR or pipeline operationprflow, 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

  1. Classify the anchor: person, team, project, goal, workitem, page, repository, service, incident, asset, or topic.
  2. Resolve a supplied key, URL, ARI, email, name, or repository before searching broadly.
  3. Run one bounded discovery query. Default to about 20 results and add app, type, owner, status, space, or recency filters when they improve precision.
  4. Shortlist the candidates that can change the conclusion.
  5. Hydrate selected candidates with product-native reads.
  6. Compare authority, recency, ownership, and contradictions, then synthesize.
  7. 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 @compact

Inspect 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 content for content, comments, attachments, labels, permissions, restrictions, history, tasks, and versions when live help advertises the operation.
  • Use confluence space for space metadata and instructions, and confluence tree for 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.