Logo de Linear Context Handover

Linear Context Handover

OrganisationPopulaire
langfuse
linear-context-handover

Use Linear as the org's memory: reconstruct a feature's history before touching it, and leave the reasoning behind finished work in the ticket description so the next agent inherits it. Use when starting work on an existing feature, when splitting a large change, and always when wrapping up — "what happened to this screen before", "write the handover", "why is this code like this".

Présentation

Éditeurlangfuse
Dépôtlangfuse
Nom de la compétencelinear-context-handover
Étoiles
37.4K
Forks
4.2K
Fichiers inclus
3
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont en simple Markdown, et non en code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • 3 fichiers inclus

    Des scripts, des modèles de documents et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par langfuse sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Linear Context Handover dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Collez l’URL du dossier de la compétence indiquée ci-dessous, puis confirmez.
    https://github.com/langfuse/langfuse/tree/main/.agents/skills/linear-context-handover
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter → Via URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/langfuse/langfuse.git /tmp/langfuse
mkdir -p .claude/skills
cp -r /tmp/langfuse/.agents/skills/linear-context-handover .claude/skills/linear-context-handover
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Linear Context Handover dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Linear Context Handover dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, Linear Context Handover n’est pas lié au modèle pour lequel cette compétence a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Linear context handover

Linear is the org's long-term memory. Agent sessions are not — they end, and everything they worked out ends with them. This skill is how reasoning survives the session that produced it.

Two halves, and the second one is the one people skip:

  1. Before you touch a feature, reconstruct its history. Most "new" work on an existing surface has a paper trail that answers half the design questions.
  2. When you wrap up, propose the handover for the ticket's description.

What an agent may write to Linear, which label stamps it, the propose-then-write gate, and what stays human-only are not in this file: linear-agent-writes is the authority. Read it before your first write. This file is the craft — where post-context goes, what earns a place in it, and the two mechanics that stop it being destroyed on the way in.

How to slice a big change into PRs is ordinary judgment: prefer small reviewable PRs, and create subtickets under an existing parent freely when that helps. Reconstructing history is not by itself a reason to file a stack of subtickets.

Before you touch a feature: reconstruct its history

Do this before designing anything. A reversal already litigated once does not need re-litigating.

Start with the CLI, which walks steps 1–3 for you and prints the ticket ids, the URLs and the exact MCP calls for step 4. Run it from inside the checkout you are about to change:

bash
S=.agents/skills/linear-context-handover/scripts/lf-context.sh
bash $S web/src/features/experiments/.../ExperimentsTable.tsx
bash $S 65bbc753c    # a sha · 16912 # a PR · LFE-15711 # a ticket
bash $S --help       # options, and what is automatic

Everything up to the ticket ids is automatic. The ticket bodies need Linear: the script queries the API directly if LINEAR_API_KEY is exported, and otherwise prints the ids, URLs and MCP calls for you to run — so the agent hand-off is the normal path, not a failure.

By hand, the same chain is:

  1. Code → PR. git log --follow <path> on the files you are about to change, then the commit's PR (gh api repos/<owner>/<repo>/commits/<sha>/pulls).
  2. PR → ticket. The branch name carries the identifier (lfe-15489-release-to-everybody → LFE-15489). PR titles and descriptions in these repos deliberately omit ticket ids, so the branch is the only link.
  3. Ticket → the rest. Read the description including any AI block, then walk parentId, the subtickets, relations, and the project. The project's other tickets are usually where the decisions live.
  4. Ticket → prior agent reasoning. Filter the AI edited label to find where earlier sessions left context.

Read all of it before proposing a direction.

When you wrap up: ask, then propose the handover

Do not end a productive session by silently writing to Linear, and do not omit the preserve step. Close with a clear ask — wording close to:

Should I update the ticket(s) with the results of this session so they are preserved?

Then draft a clearly separated agent block for the description of the ticket the work belongs to. Show that block in your reply (name the ticket, say it would be labelled AI edited), and append it only after an explicit yes — see linear-agent-writes. An ask such as "write the handover" or "update the ticket" is that yes (no second question). If they decline or do not answer, leave the block in the reply so the reasoning still survives the session.

Scale it. One substantial handover on the project or parent ticket, short pointers on the leaves. The same essay repeated on eight tickets is noise, not context.

The reversals are the payload. A summary of what shipped is the least valuable section — the PR already carries the diff and the ticket already carries the state. What only this block can carry is the thing that was built and then deliberately removed, and why: without it the next session rebuilds it, argues the same argument, and reaches the same verdict a week later. Write the reversals first and the summary last; if you are short of room, cut the summary.

The rest of what earns its place, and the paste-ready shape, is references/handover-template.md: decisions and why, how the human steered (quoted), the tools and recipes that reproduce the state, the traps, and what is left open.

Two mechanics, or the handover damages what it lands in

Write it with a patch append op, never by re-sending the description. A full rewrite is how "never rewrite the human's prose" fails in practice, and it also flattens the inline <user> / <linear-comment> elements Linear stores inside a description — which no diff will show you afterwards. Use patch with replace and an exact old_string to correct your own block later.

Attach files and images; never paste an upload URL. Linear's uploaded-file URLs are signed and expire in about five minutes, so a pasted image link is already dead by the time any agent — or human — opens the ticket. Go through prepare_attachment_upload + create_attachment_from_upload. This has cost real context twice: one piece of review feedback is permanently unactionable because the screenshot it pointed at was an expired signed URL. Long analyses belong in an attached .md for the same reason a description has a readable length.

The labels, and the one note the policy does not carry

The permitted shapes, the label for each, the marking-in-text requirement and the human-only list are all in linear-agent-writes. If this file disagrees with it, this file is the bug.

One thing specific to reading history: AI edited is the filter that matters. Post-context lives in descriptions, so that is the label that finds prior reasoning. AI commented only tells you an agent said something to a human on a particular day, usually stale by the time you read it.

No Linear access

Say so, name the step you could not complete, and hand back the content ready to paste — the rule and the wording are in linear-agent-writes → When there is no Linear connection. Never reconstruct a feature's history from the code alone and present it as recovered context.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Linear Context Handover ?

Use Linear as the org's memory: reconstruct a feature's history before touching it, and leave the reasoning behind finished work in the ticket description so the next agent inherits it. Use when starting work on an existing feature, when splitting a large change, and always when wrapping up — "what happened to this screen before", "write the handover", "why is this code like this".

Pourquoi utiliser Linear Context Handover sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Linear Context Handover se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Linear Context Handover dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/langfuse/langfuse/tree/main/.agents/skills/linear-context-handover. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Linear Context Handover ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Linear Context Handover ?

Autant que vous le souhaitez. Tant qu’un modèle prend en charge les compétences, vous pouvez utiliser Linear Context Handover avec lui : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Linear Context Handover est-elle gratuite ?

Cette compétence est publiée sur GitHub par langfuse. Consultez le dépôt pour connaître les conditions de licence. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, modèles de documents ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇