linear-bug-triage

Deduplicar evidencia medida de errores o regresiones contra Linear, luego agregar comentarios de evidencia a problemas existentes relacionados o crear un resumen conciso en Linear…

npx skills add https://github.com/langfuse/langfuse --skill linear-bug-triage

Linear Bug Triage

Use this skill after a bug or regression candidate has measured evidence. This skill owns Linear search, deduplication, evidence comments, and ticket creation; the calling skill owns deciding whether the signal is issue-worthy.

Human Approval Gate

Before doing anything in Linear, first show the findings to the human in a compact markdown table and ask for explicit permission to share them in Linear. The table should include one row per candidate with:

  • Candidate / cluster name.
  • Environments.
  • Service and route/resource.
  • Recent window measurement.
  • Baseline measurement.
  • Delta / regression summary.
  • Key Datadog evidence links.
  • Proposed Linear action (comment existing, create new, or none).

If the human does not explicitly approve, stop after presenting the table. Do not search Linear, do not comment on issues, and do not create issues.

If a calling workflow already showed the findings table and obtained explicit human approval for a Linear handoff, skip this gate and proceed directly to deduplication.

Required Evidence

For each candidate, gather:

  • Recent window and baseline window as absolute time ranges with timezone.
  • Measured signal: counts, rates, p50/p95/p99 latency, trace samples, flamegraphs, monitor thresholds, or benchmark deltas.
  • Affected environments, services, routes/resources, status codes, and top error messages.
  • Datadog links for logs, spans, traces, metrics, dashboards, or flamegraphs used as evidence.
  • The exact text No measurements found for requested measurements that are unavailable.

Do not create or comment based on guesses, unsupported impact claims, or missing measurements alone.

Deduplication

After the human explicitly approves, before creating a new issue:

  1. Search Linear for related open issues using exact error text, route/resource, service, environment, monitor name, and Datadog link keywords.
  2. Search recently closed or canceled issues if the error is recurring or the wording is distinctive.
  3. If a related issue exists, add a concise evidence comment instead of creating a duplicate.
  4. If no related issue exists, create one Linear issue in the Triage state for each distinct bug cluster.

Existing Issue Comments

For related existing issues, add only:

  • Recent window and baseline window.
  • Measured delta or No measurements found for unavailable signals.
  • Affected environments, services, routes/resources, and top error messages.
  • Datadog links.

Do not add fix suggestions, root-cause guesses, implementation notes, owner assignments, or next steps.

New Issue Format

Create new issues with:

  • State/status Triage; pass the Linear state explicitly on creation and do not rely on workspace defaults.
  • Label bug.
  • Additional existing labels that match the evidence, such as affected service, environment, API, ingestion, latency, ClickHouse, Postgres, integrations, or observability labels. Query labels first and use the repository/team's exact label names.
  • Concise title: bug: <service or route> <measured symptom> in <envs>.
  • Concise body, evidence-only:
Recent window: <absolute time range and timezone>
Baseline: <absolute time range and timezone>

Signal:
- <count/rate/latency delta with env/service/route>
- <"No measurements found" for missing requested measurements>

Evidence:
- Datadog logs: <url>
- Datadog spans/traces: <url>
- Datadog metrics, dashboard, or latency graph: <url>

Related Linear search:
- <brief search terms used and result>

Do not include fix suggestions, root-cause guesses, implementation notes, owner assignments, or next steps unless the user explicitly asks outside the Linear issue or comment.

Más skills de langfuse

clickhouse-best-practices
langfuse
DEBE USARSE al revisar esquemas, consultas o configuraciones de ClickHouse. Contiene 28 reglas que DEBEN verificarse antes de proporcionar recomendaciones. Siempre leer…
official
skill-creator
langfuse
Guía para crear habilidades efectivas. Esta habilidad debe usarse cuando los usuarios quieran crear una nueva habilidad (o actualizar una existente) que extienda las capacidades de Claude…
official
vercel-react-best-practices
langfuse
Directrices de optimización de rendimiento de React y Next.js de Vercel Engineering. Esta habilidad debe usarse al escribir, revisar o refactorizar React/Next.js…
official
add-model-price
langfuse
Use when editing worker/src/constants/default-model-prices.json, packages/shared/src/server/llm/types.ts, pricing tiers, tokenizer IDs, or matchPattern regexes…
official
analyze-cloud-costs
langfuse
Analiza la estructura de costos de la infraestructura de Langfuse Cloud utilizando los cost marts de Metabase. Úsalo cuando se pregunte sobre gastos en la nube, divisiones de costos entre AWS y ClickHouse, costos…
official
backend-dev-guidelines
langfuse
Build or review Langfuse backend code. Use for tRPC routers, public REST APIs, BullMQ processors, services, middleware, Prisma or ClickHouse access,…
official
clickhouse-best-practices
langfuse
DEBE USARSE al revisar esquemas, consultas o configuraciones de ClickHouse. Contiene 28 reglas que DEBEN verificarse antes de proporcionar recomendaciones. Siempre lea…
official
code-review
langfuse
Review Langfuse code changes for correctness, regressions, and best practices.
official