Logo di Twg Context Discovery

Twg Context Discovery

Organizzazione
atlassian
twg-context-discovery

Use with root `twg` for deep context, dependency maps, related entities, project-to-repo discovery, OOO catch-ups, and "catch me up" requests around a concrete anchor.

Panoramica

Pubblicato daatlassian
Repositorytwg-cli
Nome della skilltwg-context-discovery
Stelle
31
Fork
6
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da atlassian su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Twg Context Discovery in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/atlassian/twg-cli/tree/main/skills/twg-context-discovery
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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-context-discovery .claude/skills/twg-context-discovery
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Twg Context Discovery in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Twg Context Discovery non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Twg Context Discovery non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

twg-context-discovery

Use the root twg skill. Get command grammar from live twg help, twg help <terms>, or twg help describe <path>.

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.

First Move

Resolve the anchor before widening:

  • Stable key, URL, or ARI: use directly when the family is clear.
  • Fuzzy topic or name: classify scope; hydrate 2-5 anchors before ranking.
  • Multiple same-kind anchors: batch them in one context call when supported.
  • Unknown command shape: inspect focused help before calling data.

For fuzzy topics, group high-signal candidates by scope using explicit charter, roadmap, project, product, or service evidence. Keep same-named feature, platform, domain, team, and initiative clusters separate. Compare scope fit, centrality, breadth, and recency before selecting one. If ambiguity remains, show alternatives or ask. Set the boundary before inferring experts or ownership; nearby authorship or activity does not prove broader responsibility.

If context is not advertised for an anchor type, use product-native hydration and search evidence instead of inventing paths.

For ownership, expertise, approval authority, leadership reach-outs, or escalation, load ../twg-responsibility-routing/SKILL.md. Return here only when that workflow needs relationship or dependency expansion.

Route Selection

  • Known Jira work items usually need native workitem details plus relationship context.
  • Projects and goals need native details plus Jira, docs, search, PR, and meeting evidence.
  • For topic onboarding, search knowledge and product-native work once. Compare formal epic, project, goal, and page anchors across same-named scopes; source-defined hierarchy distinguishes the central program/platform from a feature, migration, or adoption effort. Prefer the anchor linking current delivery work and code. Hydrate it, then use context and responsibility once each only if they add dependencies or people. Hydrate at most three items. Never refetch a source with another projection or try more synonyms after resolution. Target 6-10 calls; stop once the categories are supported.
  • For restart, handoff, or OOO catch-up, load ../twg-status-rollups/references/personal-work-summary.md and follow its restart guidance. Infer priority across connected evidence and hydrate only anchors that change the user's next action.
  • Dependency map and page/topic prompts need hydrated anchors before broad search is evidence. Map broad subdomains before assigning owners/experts.
  • Raw graph-query/debugging surfaces are not the default dependency-map route. Use them only when the user explicitly asks for that query language or typed commands cannot express the required edge.

Evidence Policy

For central candidates, use a bounded source and relationship fan-out:

  • Source fetch: fields, owner, status, body, comments, and URLs.
  • Context: graph edges, formal external links, related people, teams, projects, goals, docs, PRs, commits, and branches.

Use summary detail first. Escalate to full only for the central anchor or up to 3 high-signal related anchors when URLs, comments, body content, or provenance are missing.

Treat third-party URLs as graph nodes. Collect remote links, context edges, descriptions, comments, ADF links, bare URLs, and linked bodies; retain provenance for relationship direction.

Expansion Rules

  • Expand by relationship role, not raw count.
  • Hydrate parent, epic, inbound peer, blocker, consumer, central page, external design, PR, commit, branch, assignee, reporter, contributor, and reviewer signals when they change direction, risk, ownership, or next action.
  • Fetch known older links directly by URL, key, ID, or ARI instead of widening the whole graph blindly.
  • Use strong query variants rather than many synonyms.
  • After the first source fetch plus context/search pass, pause and compare the evidence against the requested output. If owner, status, relation, recency, and evidence URL/key are present, synthesize instead of widening.
  • If a context or graph-backed command returns the same backend/coverage error twice, do not keep probing adjacent graph paths. Record the coverage gap and continue with product-native hydrated evidence.
  • Stop when the next candidate would not add new entities, links, contributors, teams, decisions, ownership, risk, or next action.

Graph Visualization

For graph requests, pipe typed context output to twg visualize. Keep entities that change direction, ownership, risk, or next action; collapse duplicates.

Output Shape

  • Anchor snapshot: what it is and why it matters.
  • For OOO catch-ups, synthesize by priority workstream and next action; do not add a relationship table. For other context work, include entity, relationship, owner, importance, and evidence.
  • Risks and dependencies, separating confirmed edges from inferred relationships.
  • Suggested next actions.
  • Confidence and gaps when evidence is incomplete, access-limited, stale, or sampled.

Anti-Patterns

  • Do not stop at search results without hydrating anchors.
  • Do not treat stdout_shape as a complete entity or URL inventory.
  • Do not skip peer expansion for graph/dependency prompts because peers look "Done".
  • Do not dismiss a 1-hop candidate by title alone.
  • Do not hand-roll graph HTML.

Domande frequenti

Cosa fa la skill IA Twg Context Discovery?

Use with root `twg` for deep context, dependency maps, related entities, project-to-repo discovery, OOO catch-ups, and "catch me up" requests around a concrete anchor.

Perché usare Twg Context Discovery su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Twg Context Discovery è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Twg Context Discovery in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/atlassian/twg-cli/tree/main/skills/twg-context-discovery. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Twg Context Discovery?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Twg Context Discovery?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Twg Context Discovery: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Twg Context Discovery è gratuita?

Sì. È pubblicata su GitHub da atlassian con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇