Skillpedia
التحليل وجداول البيانات41k · #6896

auditing-experiments-flags

ما الذي تفعله

تفحص هذه المهارة تجاربك ومفاتيح الميزات بحثاً عن مشاكل الإعداد والقدم والأخطاء الشائعة. وهي مناسبة للفرق التي تريد فحصاً صحياً سريعاً لإعداد اختباراتها.

متى تستخدمها

  • ✓عندما تريد فحص تجربة واحدة أو مفتاح واحد بحثاً عن مشاكل الإعداد.
  • ✓عندما تريد مراجعة لكل تجاربك ومفاتيحك.
  • ✓عندما تريد تنظيف المفاتيح التي أصبحت قديمة.

رابط المهارة

https://github.com/PostHog/posthog/blob/master/products/posthog_ai/skills/auditing-experiments-flags/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/PostHog/posthog/blob/master/products/posthog_ai/skills/auditing-experiments-flags/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“دقّق كل تجاربي ومفاتيح الميزات لدي، وأخبرني بما يحتاج إلى انتباه أولاً.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تقرأ المهارة التجارب والمفاتيح، وتشغّل الفحوص المناسبة، وتجمّع النتائج في حرج أو تحذير أو معلومة. ويرتبط كل اكتشاف بالعنصر الذي يخصه.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Auditing experiments and feature flags

This skill teaches you how to run configuration audits on experiments and feature flags. All checks use the experiment and feature flag read tools (experiment-get, experiment-list, feature-flag-get-definition, feature-flag-get-all) — no SQL queries are needed for Phase 1 checks.

Usage modes

Quick check (single entity)

When the user asks about a specific experiment or flag:

  1. Fetch the entity via experiment-get (experiment ID) or feature-flag-get-definition (numeric flag ID).
  2. Apply the relevant checks from experiment checks or flag checks.
  3. Report findings inline as markdown, grouped by severity (CRITICAL first, then WARNING, then INFO).
  4. Include entity links as [Experiment: name](/experiments/id) or [Flag: key](/feature_flags/id).

Scoped audit (one domain)

When the user asks to audit all experiments or all flags:

  1. Bulk-fetch via experiment-list or feature-flag-get-all.
  2. Run all checks for that domain against each entity.
  3. Group findings by severity, then by entity.
  4. Report as inline markdown.

Full audit (comprehensive)

When the user asks for a comprehensive audit of both experiments and flags:

  1. Fetch all experiments via experiment-list and all flags via feature-flag-get-all.
  2. Run all experiment checks and all flag checks.
  3. Apply recurring patterns to identify patterns across multiple findings.
  4. If there are more than 5 entities with findings, write them to a notebook for easier navigation. Otherwise report inline. Create the notebook from the project's own notebook tools. Run search notebooks?- to load them and read the titles.

Output format

For each finding, include:

  • Severity badge: 🔴 CRITICAL, 🟡 WARNING, or 🔵 INFO
  • Check name: Which check produced this finding
  • Entity link: Markdown link to the entity
  • What's wrong: One-sentence description
  • Action: What to do about it (see remediation actions)

Example:

🟡 WARNING — Flag integration · Experiment: checkout-redesign The linked feature flag is inactive (paused). Traffic is not being split. Action: Re-enable the flag or end the experiment.

Handling unavailable data

Some checks require activity logs (feature-flags-activity-retrieve for flags), which may not be available in every session. If activity log data is unavailable:

  • Skip checkActivityHistory (experiment check) entirely.
  • Skip the "toggle instability" and "never activated" sub-checks in flag lifecycle checks.
  • In your report, note which checks were skipped and why:

    Skipped: Activity history checks (activity logs not available via current tools)

Partial failures

If a fetch call fails for some entities:

  • Continue with the entities you could fetch.
  • Report which entities could not be assessed and why.
  • Do not silently omit entities from the audit.

Reference files

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

هل يغيّر التدقيق أي شيء؟

لا. يُبلغ عن النتائج حتى تقرر ما الذي تصلحه.

ماذا يغطي التدقيق المحدد النطاق؟

يغطي منطقة واحدة في كل مرة، مثل التجارب فقط أو المفاتيح فقط.

هل نحتاج إلى استعلامات SQL؟

لا. تعتمد الفحوص الرئيسية على أدوات قراءة التجارب والمفاتيح.

التفاصيل

الوصف الأصلي من المؤلف

Audit PostHog experiments and feature flags for configuration issues, staleness, and best-practice violations. Read when the user asks to audit, health-check, or review experiments or feature flags, check flag hygiene, or verify experiment setup.

repo: PostHog/posthog

الشعبية

نجوم GitHub
41k
الترتيب
#6896
الترخيص
—
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة