Analyse d'issue Linear avec contexte

VérifiéPrudence

Récupère et analyse une issue Linear avec tout le contexte : commentaires, relations, PR liées. Idéal pour démarrer le travail sur un ticket.

Spar Skills Guide Bot
DeveloppementIntermédiaire
29/08/2026
Claude Code
#linear#issue-tracking#context-gathering#mcp#github-cli

Recommandé pour

Synthèse automatique

Récupère un ticket Linear avec ses commentaires, relations, pièces jointes et ressources liées (PR GitHub, docs Notion, vidéos Loom) afin de préparer le contexte avant de commencer le travail.

Points forts

  • Rassemble en une seule passe le ticket, ses commentaires et ses relations (bloquant/lié/doublon)
  • Vérifie le label n8n-private par rapport aux remotes git et bloque le travail si le dépôt public est présent
  • Scanne et télécharge les images de la description et de tous les commentaires
  • S'intègre à GitHub CLI, Notion et Loom avec dégradation gracieuse quand ces outils sont absents

Limites

  • Dépend obligatoirement du MCP Linear et d'une authentification gh, sinon le skill s'arrête
  • La règle de sécurité sur les remotes public/privé est spécifique à l'organisation n8n
  • Le texte du SKILL.md fourni est tronqué à l'étape des pièces jointes, le comportement exact de la fin du processus n'est donc pas visible
Quand l'utiliser

À utiliser au démarrage d'un ticket Linear, pour rassembler tout le contexte disponible avant de coder.

Quand l'éviter

À éviter si le MCP Linear n'est pas connecté ou si vous cherchez seulement à lister vos tickets sans analyse de contenu.

Analyse de sécurité

Prudence
Score qualité88/100

The skill legitimately uses network tools (curl, gh, git) to gather context from Linear, GitHub, and media. No destructive, exfiltration, or obfuscation behavior is present. The security check for n8n-private issues is protective. Caution is appropriate because it executes shell commands and fetches external content.

Points d'attention
  • •Uses curl to download arbitrary URLs from issue content; downloaded files are read, not executed.
  • •Uses gh auth token in curl Authorization header to fetch private GitHub images.
  • •Instructs running git remote -v via Bash to check remotes.
Comment cette analyse est faite

Exemples

Start work on a ticket
Analyze Linear issue N8N-1234 — pull the description, all comments, relations and any linked PRs before I start working on it.
Full context with attachments
Get me complete context on Linear ticket ENG-88: screenshots from the description and comments, linked Notion docs, and any blocking issues.
Direct skill invocation
n8n:linear-issue N8N-456

name: n8n:linear-issue description: Fetch and analyze Linear issue with all related context. Use when starting work on a Linear ticket, analyzing issues, or gathering context about a Linear issue. argument-hint: "[issue-id]" compatibility: requires: - mcp: linear description: Core dependency — used to fetch issue details, relations, and comments - cli: gh description: GitHub CLI — used to fetch linked PRs and issues. Must be authenticated (gh auth login) optional: - mcp: notion description: Used to fetch linked Notion documents. Skip Notion steps if unavailable. - skill: loom-transcript description: Used to fetch Loom video transcripts. Skip Loom steps if unavailable. - cli: curl description: Used to download images/attachments. Typically pre-installed.

Linear Issue Analysis

Start work on Linear issue $ARGUMENTS

Prerequisites

This skill depends on external tools. Before proceeding, verify availability:

Required:

  • Linear MCP: Must be connected. Without it the skill cannot function at all.
  • GitHub CLI (gh): Must be installed and authenticated. Run gh auth status to verify. Used to fetch linked PRs and issues.

Optional (graceful degradation):

  • Notion MCP: Needed only if the issue links to Notion docs. If unavailable, note the Notion links in the summary and tell the user to check them manually.
  • Loom transcript skill: Needed only if the issue contains Loom videos. If unavailable, note the Loom links in the summary for the user to watch.
  • curl: Used to download images. Almost always available; if missing, skip image downloads and note it.

If a required tool is missing, stop and tell the user what needs to be set up before continuing.

Instructions

Follow these steps to gather comprehensive context about the issue:

1. Fetch the Issue and Comments from Linear

Use the Linear MCP tools available in the active harness to fetch the issue details and comments together:

  • Fetch the issue by ID to get full details including attachments
  • Include relations to see blocking/related/duplicate issues
  • Immediately after, fetch all comments for the issue ID

Both calls should be made together in the same step to gather the complete context upfront.

2. Check for Private/Security Issues (MANDATORY — do this before anything else)

After fetching the issue, immediately check its labels:

  1. Look at the labels returned with the issue.

  2. If any label is n8n-private: a. Run git remote -v (via Bash) to list all configured remotes. b. If any remote URL contains n8n-io/n8n without the -private suffix (i.e. matches the public repo), stop immediately and tell the user:

    This issue is marked n8n-private and must be developed in a clean clone of the private repository.

    One or more of your remotes point to the public n8n-io/n8n repo. Mixed remotes are not allowed — you must work in a separate local clone of n8n-io/n8n-private with no references to the public repo. For the full process, see: https://www.notion.so/n8n/Processing-critical-high-security-bugs-vulnerabilities-in-private-2f45b6e0c94f803da806f472111fb1a5

    Do not continue with any further steps — return after showing this message.

  3. If the label is not present, or all remotes point exclusively to n8n-io/n8n-private, continue normally.

3. Analyze Attachments and Media (MANDATORY)

IMPORTANT: This step is NOT optional. You MUST scan and fetch all visual content from BOTH the issue description AND all comments.

Screenshots/Images (ALWAYS fetch):

  1. Scan the issue description AND all comments for ALL image URLs:
    • <img> tags
    • Markdown images ![](url)
    • Raw URLs (github.com/user-attachments, imgur.com, etc.)
  2. For EACH image found (in description or comments):
    • Download using curl -sL "url" -o /path/to/image.png (GitHub URLs require following redirects) OR the linear mcp
    • Use the Read tool on the downloaded file to view it
    • Describe what you see in detail
  3. Do NOT skip images - they often contain critical context like error messages, UI states, or configuration

Loom Videos (ALWAYS fetch transcript):

  1. Scan the issue description AND all comments for Loom URLs (loom.com/share/...)
  2. For EACH Loom video found (in description or comments):
    • Use the Loom transcript skill to fetch the FULL transcript
    • Summarize key points, timestamps, and any demonstrated issues
  3. Loom videos often contain crucial reproduction steps and context that text alone cannot convey

4. Fetch Related Context

Related Linear Issues:

  • Use the Linear MCP issue-fetching tool for any issues mentioned in relations (blocking, blocked by, related, duplicates)
  • Summarize how they relate to the main issue

GitHub PRs and Issues:

  • If GitHub links are mentioned, use gh CLI to fetch PR/issue details:
    • gh pr view <number> for pull requests
    • gh issue view <number> for issues
  • Download images attached to issues: curl -H "Authorization: token $(gh auth token)" -L <image-url> -o image.png

Notion Documents:

  • If Notion links are present, use the Notion MCP fetch tool with the Notion URL or page ID to retrieve document content
  • Summarize relevant documentation

5. Review Comments

Comments were already fetched in Step 1. Review them for:

  • Additional context and discussion history
  • Any attachments or media linked in comments (process in Step 3)
  • Clarifications or updates to the original issue description

6. Identify Affected Node (if applicable)

Determine whether this issue is specific to a particular n8n node (e.g. a trigger, action, or tool node). Look for clues in:

  • The issue title (e.g. "Linear trigger", "Slack node", "HTTP Request")
  • The issue description and comments mentioning node names
  • Labels or tags on the issue (e.g. node:linear, node:slack)
  • Screenshots showing a specific node's configuration or error

If the issue is node-specific:

  1. Find the node type ID. Use Grep to search for the node's display name (or keywords from it) in packages/frontend/editor-ui/data/node-popularity.json to find the exact node type ID. For reference, common ID patterns are:

    • Core nodes: n8n-nodes-base.<camelCaseName> (e.g. "HTTP Request" → n8n-nodes-base.httpRequest)
    • Trigger variants: n8n-nodes-base.<name>Trigger (e.g. "Gmail Trigger" → n8n-nodes-base.gmailTrigger)
    • Tool variants: n8n-nodes-base.<name>Tool (e.g. "Google Sheets Tool" → n8n-nodes-base.googleSheetsTool)
    • LangChain/AI nodes: @n8n/n8n-nodes-langchain.<camelCaseName> (e.g. "OpenAI Chat Model" → @n8n/n8n-nodes-langchain.lmChatOpenAi)
  2. Look up the node's popularity score — first check for a Flaky assessment (see below), otherwise use the popularity file:

    Primary: Check for Flaky's assessment in Linear comments. Flaky is an auto-triage agent that posts issue analysis as a comment. Search the comments already fetched in Step 1 for a comment from a user named "Flaky" (or containing "Flaky" in the author name) — do not re-fetch comments. If found, extract the popularity score and level directly from Flaky's analysis and use those values.

    Fallback (if no Flaky comment exists): Look up the node's popularity score from packages/frontend/editor-ui/data/node-popularity.json. Use Grep to search for the node ID in that file. The popularity score is a log-scale value between 0 and 1. Use these thresholds to classify:

    | Score | Level | Description | Examples | |-------|-------|-------------|----------| | ≥ 0.8 | High | Core/widely-used nodes, top ~5% | HTTP Request (0.98), Google Sheets (0.95), Postgres (0.83), Gmail Trigger (0.80) | | 0.4–0.8 | Medium | Regularly used integrations | Slack (0.78), GitHub (0.64), Jira (0.65), MongoDB (0.63) | | < 0.4 | Low | Niche or rarely used nodes | Amqp (0.34), Wise (0.36), CraftMyPdf (0.33) |

    Include the raw score and the level (high/medium/low) in the summary, and note whether it came from Flaky or the popularity file.

  3. If the node is not found in the popularity file (and no Flaky comment exists), note that it may be a community node or a very new/niche node.

7. Assess Effort/Complexity

Primary: Check for Flaky's effort estimate in Linear comments. Search the comments already fetched in Step 1 for a Flaky comment — do not re-fetch. If found, extract the effort/complexity estimate directly from it and use that as your assessment.

Fallback (if no Flaky comment exists): After gathering all context, assess the effort required to fix/implement the issue. Use the following T-shirt sizes:

| Size | Approximate effort | |------|--------------------| | XS | ≤ 1 hour | | S | ≤ 1 day | | M | 2-3 days | | L | 3-5 days | | XL | ≥ 6 days |

To make this assessment, consider:

  • Scope of changes: How many files/packages need to be modified? Is it a single node fix or a cross-cutting change?
  • Complexity: Is it a straightforward parameter change, a new API integration, a new credential type, or an architectural change?
  • Testing: How much test coverage is needed? Are E2E tests required?
  • Risk: Could this break existing functionality? Does it need backward compatibility?
  • Dependencies: Are there external API changes, new packages, or cross-team coordination needed?
  • Documentation: Does this require docs updates, migration guides, or changelog entries?

Provide the T-shirt size along with a brief justification explaining the key factors that drove the estimate. Note whether it came from Flaky or your own assessment.

8. Present Summary

Before presenting, verify you have completed:

  • [ ] Downloaded and viewed ALL images in the description AND comments
  • [ ] Fetched transcripts for ALL Loom videos in the description AND comments
  • [ ] Fetched ALL linked GitHub issues/PRs via gh CLI
  • [ ] Listed all comments on the issue
  • [ ] Checked whether the issue is node-specific and looked up popularity if so
  • [ ] Assessed effort/complexity with T-shirt size

After gathering all context, present a comprehensive summary including:

  1. Issue Overview: Title, status, priority, assignee, labels
  2. Description: Full issue description with any clarifications from comments
  3. Visual Context: Summary of screenshots/videos (what you observed in each)
  4. Affected Node (if applicable): Node name, node type ID (n8n-nodes-base.xxx), popularity score with level (e.g. 0.64 — medium popularity)
  5. Related Issues: How this connects to other work
  6. Technical Context: Any PRs, code references, or documentation
  7. Effort Estimate: T-shirt size (XS/S/M/L/XL) with justification
  8. Next Steps: Suggested approach based on all gathered context

Notes

  • The issue ID can be provided in formats like: AI-1975, node-1975, or just 1975 (will search)
  • If no issue ID is provided, ask the user for one

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/linear-issue-analysis-with-context-mte1ljpq/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/linear-issue-analysis-with-context-mte1ljpq' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/linear-issue-analysis-with-context-mte1ljpq/download' --output '.skill-downloads/linear-issue-analysis-with-context-mte1ljpq/SKILL.md.part' && mv '.skill-downloads/linear-issue-analysis-with-context-mte1ljpq/SKILL.md.part' '.skill-downloads/linear-issue-analysis-with-context-mte1ljpq/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Extrait original : Prerequisites

This skill depends on external tools. Before proceeding, verify availability:

Required:

  • Linear MCP: Must be connected. Without it the skill cannot function at all.
  • GitHub CLI (gh): Must be installed and authenticated. Run gh auth status to verify. Used to fetch linked PRs and issues.

Optional (graceful degradation):

  • Notion MCP: Needed only if the issue links to Notion docs. If unavailable, note the Notion links in the summary and tell the user to check them manually.
  • Loom transcript skill: Needed only if the issue contains Loom videos. If unavailable, note the Loom links in the summary for the user to watch.
  • curl: Used to download images. Almost always available; if missing, skip image downloads and note it.

If a required tool is missing, stop and tell the user what needs to be set up before continuing.

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Le fichier ne fournit pas un en-tête name/description exploitable pour cette procédure native. Le téléchargement reste disponible pour lecture ; utilisez le mode manuel ci-dessous.

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/linear-issue-analysis-with-context-mte1ljpq/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires