Logotipo de Linear Context Handover

Linear Context Handover

OrganizaciónPopular
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".

Descripción general

Editorlangfuse
Repositoriolangfuse
Nombre de la habilidadlinear-context-handover
Estrellas
37.4K
Forks
4.2K
Archivos incluidos
3
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • 3 archivos incluidos

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por langfuse en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Linear Context Handover en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/langfuse/langfuse/tree/main/.agents/skills/linear-context-handover
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Linear Context Handover en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Linear Context Handover automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Linear Context Handover no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Se ofrecen como archivos de lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de 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".

¿Por qué usar Linear Context Handover en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Linear Context Handover está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Linear Context Handover en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/langfuse/langfuse/tree/main/.agents/skills/linear-context-handover. TypingMind lee su archivo SKILL.md, empaqueta sus archivos y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Linear Context Handover?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Linear Context Handover?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Linear Context Handover con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Linear Context Handover?

langfuse la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇