triaging-error-issues
यह क्या करती है
यह स्किल ऐसे त्रुटि मुद्दों की छोटी सूची देती है जो सबसे ज़्यादा देखने लायक हैं, जैसे नए मुद्दे या वे जो कई उपयोगकर्ताओं को प्रभावित करते हैं। यह रोज़ की समीक्षा करने वाले डेवलपर्स या ऑन-कॉल स्टाफ़ के लिए है।
कब इस्तेमाल करें
- ✓जब आप पूछें कि आज क्या टूटा है और आपको छोटी प्राथमिकता सूची चाहिए।
- ✓जब आप पिछले एक-दो दिनों की नई त्रुटियाँ देखना चाहें।
- ✓जब आप अपना दिन शुरू कर रहे हों और जानना चाहें कि पहले किन मुद्दों को देखें।
Skill का लिंक
https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/triaging-error-issues/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“आज हमारे पास कौन सी नई त्रुटियाँ हैं, और उनमें से कौन सी सबसे ज़्यादा उपयोगकर्ताओं को प्रभावित कर रही है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह एक समय-सीमा चुनती है, मुद्दों को प्रभावित उपयोगकर्ताओं और हाल की गतिविधि के हिसाब से क्रम में लगाती है, और जुड़े रीप्ले की ओर इशारा करती है। फिर हर ज़रूरी मुद्दे के लिए अगला कदम सुझाती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Triaging error tracking issues
When a user asks "what's broken?" or wants a daily error review, the goal is a short prioritized list of issues worth a human's attention — not a dump of every active issue. Most projects have hundreds of active issues; the few that matter are usually new (first seen in the last 24-48h), spiking, or affecting many distinct users.
Available tools
| Tool | Purpose |
|---|---|
posthog:query-error-tracking-issues-list |
List + rank issues with aggregate metrics (occurrences, users, sessions) |
posthog:query-error-tracking-issue |
Compact details for a single issue (status, assignee, top frame, release) |
posthog:query-error-tracking-issue-events |
Sampled $exception events with stack, URL, browser, and $session_id |
posthog:query-session-recordings-list |
Find replays of users hitting an issue |
posthog:inbox-reports-list |
Pre-curated actionable signals if the project uses Inbox |
Workflow
Step 1 — Pick a window and a signal
Read the time window from the user's wording. Defaults if unspecified:
- "Today" / "this morning" / "right now" →
dateRange: { date_from: "-24h" } - "This week" / "since Monday" →
-7d - On-call shift handoff →
-24h
Pick what "matters" means:
- New issues —
orderBy: "first_seen",orderDirection: "DESC", tight window. Catches regressions introduced by recent deploys. - High-impact —
orderBy: "users"ranks by distinct users affected. Better than raw occurrences for severity (one bot loop produces many occurrences but one user). - Trending —
orderBy: "occurrences"over a short window vs a longer baseline to spot spikes.
Step 2 — Pull the candidate list
Start narrow and widen if too few issues come back:
posthog:query-error-tracking-issues-list
{
"status": "active",
"orderBy": "users",
"orderDirection": "DESC",
"dateRange": { "date_from": "-24h" },
"limit": 20,
"volumeResolution": 24
}
Match volumeResolution to the window (24 buckets for -24h, 14 for -14d, etc.)
so each row's sparkline has enough resolution to show a spike vs flat steady state.
A single bucket only gives a total, not a shape.
For new-issues-only, run a parallel query with orderBy: "first_seen":
{
"status": "active",
"orderBy": "first_seen",
"orderDirection": "DESC",
"dateRange": { "date_from": "-24h" },
"limit": 10
}
If a project mixes browser and server SDKs, the top-by-users list is usually drowned
by server-side errors (each invocation often gets a fresh distinct_id). Narrow with
the library filter — values match the SDK's $lib, not the npm package name, examples:
web— posthog-js (browser)posthog-node,posthog-python,posthog-ruby,posthog-go,posthog-php,posthog-java,posthog-elixir— server SDKsposthog-edge— Cloudflare Workers / edge runtimeposthog-ios,posthog-android,posthog-react-native,posthog-flutter— mobile
Step 3 — Filter the noise
The list will include known noise. Before presenting, drop or call out:
- Issues whose volume is flat over the window — they're not new, the user already lives with them. Surface them only if they're in the top by users.
- Bot-only issues — if all events come from headless browsers or crawler user agents,
flag for suppression (
suppressing-noisy-errors) instead of triage.
If unsure whether an issue is new vs. recurring, compare first_seen to the start
of the window:
first_seeninside the window → new, worth attentionfirst_seenweeks ago but spiking now → regression worth attentionfirst_seenweeks ago, flat volume → background noise
Step 4 — Add context for the top items
For the top 3-5 candidates, pull a sample exception so the summary includes a stack
frame and URL, not just a title. Use posthog:query-error-tracking-issue-events rather than
raw SQL — it returns normalized fields ($exception_types, $exception_values,
$current_url, browser/OS, $session_id) and defaults to onlyAppFrames: true to
strip vendor noise from the stack:
posthog:query-error-tracking-issue-events
{
"issueId": "<issue_id>",
"limit": 1,
"include": ["ex
अक्सर पूछे जाने वाले सवाल
यह कितने मुद्दे दिखाती है?
यह हर सक्रिय मुद्दा नहीं, बल्कि प्राथमिकता वाली छोटी सूची दिखाती है, क्योंकि ज़्यादातर प्रोजेक्ट में सैकड़ों मुद्दे होते हैं।
कोई मुद्दा उच्च प्राथमिकता कब बनता है?
पिछले एक-दो दिन के नए मुद्दे, अचानक बढ़ोतरी, और वे मुद्दे जो कई अलग उपयोगकर्ताओं को प्रभावित करें।
क्या यह दिखा सकती है कि उपयोगकर्ता ने क्या किया?
हाँ। यह हर मुद्दे से प्रभावित उपयोगकर्ताओं के सेशन रीप्ले ढूँढ सकती है।
जानकारी
लेखक का मूल विवरण
Triage PostHog error tracking issues during a daily or on-call review. Use when the user asks "what's broken?", "what new errors do we have?", "show me top errors today", "what should I look at this morning", or wants a prioritized list of active issues to work on. Surfaces new and high-impact issues, ranks by users affected and recency, points at linked replays, and proposes next actions (investigate, assign, suppress, merge).
repo: PostHog/posthog
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6873
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
depot-ci
41kयह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।
depot-container-builds
41kयह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।
depot-github-runners
41kयह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।
editing-agents-md
41kयह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।