Logo di Sentry Perf

Sentry Perf

Community
jpoehnelt
sentry-perf

Find and fix performance regressions from Sentry spans, transactions, dashboards, and web vitals. Use when asked for a performance dashboard summary, slow routes, week-over-week regressions, comparable measurement windows, or a perf fix PR. Use sentry-bugfix for errors and gh-ci-triage for CI.

Panoramica

Pubblicato dajpoehnelt
Repositoryskills
Nome della skillsentry-perf
Stelle
23
Fork
1
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da jpoehnelt su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Sentry Perf in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/jpoehnelt/skills/tree/main/sentry-perf
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jpoehnelt/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/sentry-perf .claude/skills/sentry-perf
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Sentry Perf in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Sentry Perf non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Sentry Perf non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Sentry performance analysis

Repo facts (read from AGENTS.md or CLAUDE.md; verify in Sentry): Sentry organization, region, and project; environment names and hosts; where tracing and sample rates are configured; custom span.op names; where dashboards and alerts are defined (UI or infrastructure as code); and the repo's check and PR commands.

Use eng-benchmark-checklist before reporting a number or choosing a fix. Discover the callable Sentry tools and confirm coordinates as in sentry-bugfix.

Read live measurements

  1. Fix the project, environment, host or runtime, release, and window. If several deployments share an environment tag, confirm the host before attributing traffic.
  2. For a supplied dashboard, read its widget definitions, then run each relevant widget's conditions as a live query with an explicit environment. Saved definitions are not data.
  3. Query the spans dataset. Transactions are spans with is_transaction:true. Discover emitted span.op values from data and source; do not assume another app's names.
  4. Keep field lists lean and limits small; wide queries time out.
  5. Record sample counts beside p50, p95, and total duration. Compare equivalent windows with the same query, cohort, sampling, and release context.
  6. Open representative traces to find the dominant database, auth, network, AI provider, rendering, or queue delay.

Useful query shapes (put the environment in the query string):

QuestionQueryFields and sort
Slowest transactionsenvironment:<env> is_transaction:truetransaction, p50(span.duration), p95(span.duration), count(); sort -p95(span.duration)
Total-time sinkssamesort -sum(span.duration)
Subsystem costenvironment:<env>span.op, count(), p95(span.duration), sum(span.duration)
Slow queries in one subsystemenvironment:<env> span.op:<op>span.description, p95(span.duration), count()
Web vitalsenvironment:<env> has:measurements.lcptransaction, p75(measurements.lcp), p75(measurements.cls), count()

Regression check: run the same query over a recent window (24h) and a baseline (7d, or the prior week), and flag transactions whose p95 rose more than about 30% at non-trivial volume. Sparse percentiles do not establish a regression.

Thresholds

  • Web vitals at p75: LCP good under 2.5s, poor over 4.0s; INP good under 200ms, poor over 500ms; CLS good under 0.1, poor over 0.25; TTFB good under 800ms, poor over 1.8s.
  • API p95 over 1s is notable, over 3s is bad. SSR p95 over 3s is slow.
  • A p95 pinned at a round number near a configured deadline (for example 30000ms) is a timeout ceiling, so those are failures, not slow successes.

Traps

  • Sampling. Read the configured sample rates from source; they often differ by route or method. Do not extrapolate counts by a fixed multiplier, and treat a sampling change between windows as a confound.
  • Noise. Exclude bot and scanner paths (/wp-login.php, apple-touch-icon*, probes). A p95 of 0 usually means static, cached, or redirect paths.
  • By design. Streaming, long-polling, and subscriptions are long on purpose; do not report them as slow interactive work.
  • Runtime clocks. On Cloudflare Workers the clock does not advance during synchronous CPU work, so span durations there measure I/O wait, not compute.
  • Cold starts and deploys inflate a short window; check release boundaries.

Choose and verify the fix

  1. Classify each finding: regression, chronic slow path, poor UX, by design, noise, or insufficient evidence. Name the affected user operation and the dominant span.op.
  2. Confirm the fix targets that span at real user volume, not a bystander.
  3. Reproduce the path locally and measure it. Use the repo's verification skill for the user-visible result (agents-create-verification-skill if none exists).
  4. Target the measured cause: run independent I/O with bounded concurrency, batch repeated reads, add an index or limit, stream or defer heavy payloads. Preserve ordering, authorization, and resource bounds. Hold architectural, sampling, or infrastructure changes for human review.
  5. Run the repo's affected checks. Open a perf(scope): ... PR with the before numbers and their queries, then follow gh-pr-feedback-loop.
  6. After the separately authorized rollout, rerun the same query over a comparable window and report the change with its uncertainty.

With several independent findings and authorization to delegate, fan out one triage agent per finding with an adversarial verifier, implement only confirmed low-risk fixes in disjoint files, and return escalations for human decision (agents-swarm). Without that authorization, work the findings yourself in sequence.

Review checklist

  • Every reported number has a query, window, environment, cohort, release context, and sample count.
  • Sampling, bots, cold starts, and by-design long requests are accounted for.
  • The fix targets the dominant span and preserves behavior.
  • Local evidence and deployed observations are reported separately.

Domande frequenti

Cosa fa la skill IA Sentry Perf?

Find and fix performance regressions from Sentry spans, transactions, dashboards, and web vitals. Use when asked for a performance dashboard summary, slow routes, week-over-week regressions, comparable measurement windows, or a perf fix PR. Use sentry-bugfix for errors and gh-ci-triage for CI.

Perché usare Sentry Perf su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Sentry Perf è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Sentry Perf in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/jpoehnelt/skills/tree/main/sentry-perf. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Sentry Perf?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Sentry Perf?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Sentry Perf: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Sentry Perf è gratuita?

Sì. È pubblicata su GitHub da jpoehnelt con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇