Langsung ke konten
Skillpedia
Analisis & spreadsheet41k Β· #6896

auditing-experiments-flags

Fungsinya

Skill ini memeriksa eksperimen dan feature flag Anda untuk masalah konfigurasi, usia yang sudah lama, dan kesalahan umum. Ditujukan untuk tim yang menginginkan pemeriksaan kesehatan cepat atas pengaturan pengujian mereka.

Kapan dipakai

  • βœ“Saat Anda ingin memeriksa satu eksperimen atau flag untuk masalah pengaturan.
  • βœ“Saat Anda ingin meninjau semua eksperimen dan flag Anda.
  • βœ“Saat Anda ingin membersihkan flag yang sudah usang.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/PostHog/posthog/blob/master/products/posthog_ai/skills/auditing-experiments-flags/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œAudit semua eksperimen dan feature flag saya dan beri tahu saya apa yang perlu diperhatikan lebih dulu.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill membaca eksperimen dan flag, menjalankan pemeriksaan yang sesuai, dan mengelompokkan temuan sebagai critical, warning, atau info. Setiap temuan menautkan ke item yang dimaksud.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

Pertanyaan umum

Apakah audit mengubah sesuatu?

Tidak. Audit melaporkan temuan agar Anda dapat memutuskan apa yang akan diperbaiki.

Apa yang dicakup oleh audit terbatas?

Audit mencakup satu area dalam satu waktu, seperti hanya eksperimen atau hanya flag.

Apakah kueri SQL diperlukan?

Tidak. Pemeriksaan utama menggunakan alat baca untuk eksperimen dan flag.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
41k
Peringkat
#6896
Lisensi
β€”
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa