.claude/skills/posthog-kb-article/SKILL.md
Draft a PostHog docs update or internal KB article from a resolved support issue. Use when a ticket reveals a docs gap, a recurring issue without documentation, or a workaround worth publishing.
npx skillsauth add mongo-ai/posthog-triage-agent posthog-kb-articleInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Type | When | Template | |------|------|----------| | Docs update | Existing docs page is incomplete or misleading | Suggest specific edits to the existing page | | Troubleshooting guide | Common problem with diagnostic steps | Symptom → Cause → Solution → Prevention | | How-to | Common setup/config question | Prerequisites → Steps → Verification | | Known issue | Confirmed bug with workaround or timeline | Status → Symptoms → Workaround → Fix timeline |
From the triage report, extract:
# [Problem description — what the user sees]
## Symptoms
- [What the user observes — use their language, not internal jargon]
## Cause
[Brief, plain-language explanation of why this happens]
## Solution
### Option 1: [Primary fix]
1. [Step with exact UI path or code]
2. [Step]
3. [Verification — how to confirm it's fixed]
### Option 2: [Alternative if Option 1 doesn't work]
1. [Step]
2. [Step]
## Prevention
[How to avoid this in the future]
## Still having issues?
[Contact support — link to PostHog support page]
# How to [accomplish task]
[1-2 sentence overview of what this covers and when you'd use it]
## Prerequisites
- [What's needed before starting — SDK version, plan tier, etc.]
## Steps
### 1. [Action]
[Instruction with specific UI path or code snippet]
### 2. [Action]
[Instruction]
## Verify it worked
[How to confirm success — what to check in PostHog UI or events]
## Common issues
- **[Issue]**: [Fix]
- **[Issue]**: [Fix]
# Known issue: [Brief description]
**Status:** [Investigating / Workaround available / Fix in progress / Fixed in vX.Y.Z]
**Affected:** [SDK versions, platforms, plan tiers]
**Last updated:** [Date]
## Symptoms
[What users experience]
## Workaround
[Steps to work around the issue — or "No workaround available"]
## Fix timeline
[When the fix is expected or what version it shipped in]
## Updates
- [Date]: [Update]
Before finalizing:
## KB Article Suggestion
**Type:** [Docs update / Troubleshooting / How-to / Known issue]
**Target:** [Existing docs page URL to update, or "New article"]
**Product area:** [events / replay / flags / experiments / error tracking / surveys / pipelines]
**Source ticket:** [ticket reference from triage report]
---
[Full article draft]
---
**Why this matters:** [How many customers this could help / how often this comes up]
**Repo for PR:** [PostHog/posthog.com for docs, or PostHog/posthog for in-app help]
tools
Diagnose PostHog web analytics issues including missing pageviews, incorrect bounce rates, broken channel attribution, missing UTM data, reverse proxy problems, and discrepancies with other analytics tools.
business
Final synthesis skill. Produce a structured, evidence-graded triage report with a clear root-cause assessment, honest confidence, and a ready-to-send customer response.
tools
Normalize an incoming support ticket into structured investigation inputs: product area, identifiers, scope clues, URLs, timeframe, and likely first diagnostic path.
development
Diagnose PostHog survey issues including surveys not appearing, targeting mismatches, response collection failures, display timing problems, and API-mode survey integration issues.