Agent Skillslangfuse/langfuse › linear-bug-triage

linear-bug-triage

GitHub

用于将具备测量证据的 Bug 或回归候选项在 Linear 中进行去重、评论及创建工单。需先展示数据表获取人工审批,再执行搜索与操作,确保基于真实指标而非猜测。

.agents/skills/linear-bug-triage/SKILL.md langfuse/langfuse

Trigger Scenarios

Bug 或回归候选项已收集到测量证据时 需要向 Linear 提交 Bug 报告或更新现有工单时

Install

npx skills add langfuse/langfuse --skill linear-bug-triage -g -y
More Options

Non-standard path

npx skills add https://github.com/langfuse/langfuse/tree/main/.agents/skills/linear-bug-triage -g -y

Use without installing

npx skills use langfuse/langfuse@linear-bug-triage

指定 Agent (Claude Code)

npx skills add langfuse/langfuse --skill linear-bug-triage -a claude-code -g -y

安装 repo 全部 skill

npx skills add langfuse/langfuse --all -g -y

预览 repo 内 skill

npx skills add langfuse/langfuse --list

SKILL.md

Frontmatter
{
    "name": "linear-bug-triage",
    "description": "Use this skill after a bug or regression candidate has measured evidence to document\nthem within linear."
}

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.

Version History

  • f7e3c26 Current 2026-08-20 17:47

Same Skill Collection

.agents/skills/add-model-price/SKILL.md
.agents/skills/agent-setup-maintenance/SKILL.md
.agents/skills/analyze-cloud-costs/SKILL.md
.agents/skills/backend-dev-guidelines/SKILL.md
.agents/skills/changelog-writing/SKILL.md
.agents/skills/clickhouse-best-practices/SKILL.md
.agents/skills/code-review/SKILL.md
.agents/skills/create-repo-agent/SKILL.md
.agents/skills/cursor-agents-workflow/SKILL.md
.agents/skills/datadog-query-recipes/SKILL.md
.agents/skills/debug-issue-with-datadog/SKILL.md
.agents/skills/frontend-browser-review/SKILL.md
.agents/skills/frontend-large-feature-architecture/SKILL.md
.agents/skills/git-workflow/SKILL.md
.agents/skills/housekeeping/SKILL.md
.agents/skills/incident-alert-tickets/SKILL.md
.agents/skills/infra-scaling/SKILL.md
.agents/skills/langfuse-codebase-navigator/SKILL.md
.agents/skills/langfuse-previews/SKILL.md
.agents/skills/pnpm-upgrade-package/SKILL.md
.agents/skills/posthog-instrumentation/SKILL.md
.agents/skills/react-component-cleaner/SKILL.md
.agents/skills/react-component-guidelines/SKILL.md
.agents/skills/refactor-react-effects/SKILL.md
.agents/skills/security-review/SKILL.md
.agents/skills/seed-test-data/SKILL.md
.agents/skills/sentry-instrumentation/SKILL.md
.agents/skills/skill-creator/SKILL.md
.agents/skills/turborepo/SKILL.md
.agents/skills/weekly-production-review/SKILL.md
web/.agents/skills/vercel-composition-patterns/SKILL.md
web/.agents/skills/vercel-react-best-practices/SKILL.md
.agents/skills/storybook/SKILL.md

Metadata

Files
0
Version
f7e3c26
Hash
fa586eef
Indexed
2026-08-20 17:47

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-27 20:49
浙ICP备14020137号-1 $Carte des visiteurs$