شعار Sentry Perf

Sentry Perf

المجتمع
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.

نظرة عامة

الناشرjpoehnelt
المستودعskills
اسم المهارةsentry-perf
النجوم
23
التفريعات
1
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها jpoehnelt على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Sentry Perf في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/jpoehnelt/skills/tree/main/sentry-perf
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Sentry Perf في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Sentry Perf تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Sentry Perf بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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.

لماذا تستخدم Sentry Perf على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Sentry Perf عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Sentry Perf في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/jpoehnelt/skills/tree/main/sentry-perf. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Sentry Perf؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Sentry Perf؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Sentry Perf معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Sentry Perf مجانية؟

نعم. نشرها jpoehnelt على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇