:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(skills): add contents to long references (#71510)
posthog[bot]1a2ff27f8b94
diff --git a/products/ai_observability/skills/exploring-llm-costs/references/breakdown-patterns.md b/products/ai_observability/skills/exploring-llm-costs/references/breakdown-patterns.mdindex 4ed6afb2277e..3c1e1474784e 100644--- a/products/ai_observability/skills/exploring-llm-costs/references/breakdown-patterns.md+++ b/products/ai_observability/skills/exploring-llm-costs/references/breakdown-patterns.md@@ -4,6 +4,16 @@ Every cost question is a variation of the same template. Always set a time rangeAlways include `$ai_embedding` alongside `$ai_generation` if the project usesembeddings — missing them silently under-counts.+## Contents++- Cost over time (daily)+- Cost by model+- Cost by user (top spenders)+- Cost by trace (top expensive traces)+- Cost by custom dimension+- Cost per call (distribution)+- Input vs output vs cache economics+## Cost over time (daily)```sqldiff --git a/products/ai_observability/skills/exploring-llm-traces/references/events-and-properties.md b/products/ai_observability/skills/exploring-llm-traces/references/events-and-properties.mdindex a0ea0c0dde11..8cbe7a999f24 100644--- a/products/ai_observability/skills/exploring-llm-traces/references/events-and-properties.md+++ b/products/ai_observability/skills/exploring-llm-traces/references/events-and-properties.md@@ -1,5 +1,11 @@# AI observability event and property reference+## Contents++- Event types+- Where heavy content lives: `events` vs `ai_events`+- Common patterns+## Event types### `$ai_trace`diff --git a/products/error_tracking/skills/authoring-error-tracking-alerts/references/block-templates.md b/products/error_tracking/skills/authoring-error-tracking-alerts/references/block-templates.mdindex 494b50fd1f85..9ca9ce98ba2c 100644--- a/products/error_tracking/skills/authoring-error-tracking-alerts/references/block-templates.md+++ b/products/error_tracking/skills/authoring-error-tracking-alerts/references/block-templates.md@@ -12,6 +12,12 @@ The three placeholders inside `inputs` that you must fill at create time are:Everything else in the templates below is a HogQL template expression that will be evaluated at firetime against the live event — leave the curly-braced segments as-is.+## Contents++- `$error_tracking_issue_created`+- `$error_tracking_issue_reopened`+- `$error_tracking_issue_spiking`+## `$error_tracking_issue_created`### Slack — `template-slack`diff --git a/products/error_tracking/skills/diagnosing-stacktrace-symbolication/references/javascript.md b/products/error_tracking/skills/diagnosing-stacktrace-symbolication/references/javascript.mdindex 1cb77082c029..027eead135f2 100644--- a/products/error_tracking/skills/diagnosing-stacktrace-symbolication/references/javascript.md+++ b/products/error_tracking/skills/diagnosing-stacktrace-symbolication/references/javascript.md@@ -3,6 +3,16 @@Companion to [../SKILL.md](../SKILL.md) for JavaScript and TypeScript web apps. Covers `@posthog/rollup-plugin`,`@posthog/webpack-plugin`, `@posthog/nextjs-config`, `@posthog/nuxt`, and direct `posthog-cli sourcemap` invocations.+## Contents++- Step 1 — Build config and packages+- Step 2 — Local artifacts+- Smoking gun — empty `mappings`+- Inspecting an extracted symbol set+- CLI and plugin logging+- JS-specific fixes+- JS-specific failure rows+## Step 1 — Build config and packagesShow relevant package versions, using the package manager the repo uses:diff --git a/products/experiments/skills/configuring-experiment-analytics/references/metric-configuration.md.j2 b/products/experiments/skills/configuring-experiment-analytics/references/metric-configuration.md.j2index 43b8e264d0d4..3e912ad58508 100644--- a/products/experiments/skills/configuring-experiment-analytics/references/metric-configuration.md.j2+++ b/products/experiments/skills/configuring-experiment-analytics/references/metric-configuration.md.j2@@ -11,6 +11,16 @@ blocks (`EventsNode`, `ActionsNode`, `ExperimentDataWarehouseNode`) and theproperty-filter types are defined once under `$defs` and referenced by `$ref`.The schema is authoritative; the prose and examples below are guidance.+## Contents++- Schema+- Mean metric+- Funnel metric+- Ratio metric+- Retention metric+- Adding metrics to an experiment+- Property filters+## Schema```jsondiff --git a/products/product_analytics/skills/exploring-autocapture-events/references/example-queries.md b/products/product_analytics/skills/exploring-autocapture-events/references/example-queries.mdindex d34713f76d15..c96347e55f22 100644--- a/products/product_analytics/skills/exploring-autocapture-events/references/example-queries.md+++ b/products/product_analytics/skills/exploring-autocapture-events/references/example-queries.md@@ -2,6 +2,24 @@All queries filter by timestamp — adjust the interval to match your analysis window.+## Contents++- Confirm autocapture exists+- Top clicked tag names+- Top clicked text values+- Top clicked hrefs+- Sample raw elements_chain for a page+- Find elements with data-attr attributes+- Find all data-\* attribute keys in use+- Test selector uniqueness+- Sample matching events to inspect captures+- Refine with text filter+- Refine with URL filter+- Ad-hoc trends: count matching clicks over time+- Ad-hoc trends: breakdown by page+- Ad-hoc funnel: pageview to click+- Verify an action matches correctly+## Confirm autocapture exists```sqldiff --git a/products/product_analytics/skills/investigate-metric/references/shared-patterns.md b/products/product_analytics/skills/investigate-metric/references/shared-patterns.mdindex 57a1187f5068..77dd25301b97 100644--- a/products/product_analytics/skills/investigate-metric/references/shared-patterns.md+++ b/products/product_analytics/skills/investigate-metric/references/shared-patterns.md@@ -2,6 +2,20 @@Recipes used across playbooks.+## Contents++- When to reach for HogQL+- HogQL insights+- HogQL quantile template+- Property discovery+- Related-metrics sweep+- Breakdown dimensions+- Interpreting breakdown results+- Interval zoom+- Actor drilldown+- Session recordings+- Error / logs cross-check+## When to reach for HogQLUse the typed query tools by default. Use `posthog:execute-sql` only when the questiondiff --git a/products/replay/skills/diagnosing-missing-recordings/references/diagnosis-logic.md b/products/replay/skills/diagnosing-missing-recordings/references/diagnosis-logic.mdindex e074034959f9..d492a6f20649 100644--- a/products/replay/skills/diagnosing-missing-recordings/references/diagnosis-logic.md+++ b/products/replay/skills/diagnosing-missing-recordings/references/diagnosis-logic.md@@ -3,6 +3,11 @@This describes the priority-ordered logic for interpreting diagnostic signals.Evaluate conditions top-to-bottom - the first match is the verdict.+## Contents++- Decision tree+- Verdict descriptions+## Decision tree```textdiff --git a/products/warehouse_sources/skills/setting-up-a-custom-rest-source/references/manifest-reference.md b/products/warehouse_sources/skills/setting-up-a-custom-rest-source/references/manifest-reference.mdindex 9b634c5ada4b..5f00d9a2c16e 100644--- a/products/warehouse_sources/skills/setting-up-a-custom-rest-source/references/manifest-reference.md+++ b/products/warehouse_sources/skills/setting-up-a-custom-rest-source/references/manifest-reference.md@@ -3,6 +3,16 @@The manifest is a JSON `RESTAPIConfig`. The generic REST engine consumes it directly, so every field below maps to areal engine behavior. Only the fields the engine reads are documented here; unknown keys are ignored.+## Contents++- Top-level shape+- Auth+- Endpoint fields+- Paginators+- Incremental sync+- Parent/child fan-out+- Worked examples+## Top-level shape```jsondiff --git a/products/warehouse_sources/skills/setting-up-a-data-warehouse-source/references/sync-types.md b/products/warehouse_sources/skills/setting-up-a-data-warehouse-source/references/sync-types.mdindex 807651b0b905..a10f9e1cb707 100644--- a/products/warehouse_sources/skills/setting-up-a-data-warehouse-source/references/sync-types.md+++ b/products/warehouse_sources/skills/setting-up-a-data-warehouse-source/references/sync-types.md@@ -3,6 +3,17 @@Every table in a data warehouse source needs a `sync_type`. The choice determines how data flows on every sync, howmuch it costs, how fresh the data is, and what shape it has after import.+## Contents++- The five sync types+- How to choose+- Picking an `incremental_field`+- `incremental_field_type` values+- `primary_key_columns`+- `cdc_table_mode` (CDC only)+- Webhooks are a two-step setup+- Sync frequency+## The five sync types| Sync type | What it does | Requires | Good for |diff --git a/products/workflows/skills/building-workflows/references/graph-schema.md b/products/workflows/skills/building-workflows/references/graph-schema.mdindex 112516d13dfe..0999630fa28b 100644--- a/products/workflows/skills/building-workflows/references/graph-schema.md+++ b/products/workflows/skills/building-workflows/references/graph-schema.md@@ -2,6 +2,16 @@The contract for `actions` and `edges`. The stored workflow is loose JSON, but **the visual editor validates every node against a strict schema keyed on `type`**. A node that saves successfully but doesn't match this contract will **break the editor view for the whole workflow** when someone opens it. Treat the shapes below as required, not advisory.+## Contents++- Node (action) shape+- Action types and their `config`+- Edges+- `function*` inputs+- Duration strings (`delay_duration`, `max_wait_duration`)+- Conversion & exit condition+- Pre-submit checklist+## Node (action) shapeEvery action object has these common fields plus a type-specific `config`:diff --git a/products/workflows/skills/designing-email-templates/references/unlayer-design-json.md b/products/workflows/skills/designing-email-templates/references/unlayer-design-json.mdindex 2cc4eeede82a..6a452c615d51 100644--- a/products/workflows/skills/designing-email-templates/references/unlayer-design-json.md+++ b/products/workflows/skills/designing-email-templates/references/unlayer-design-json.md@@ -4,6 +4,17 @@ Schema for `content.email.design` — the Unlayer design document that is the soAdapted from [unlayer/unlayer-skills](https://github.com/unlayer/unlayer-skills) (`unlayer-export/references/design-json.md`), MIT License, Copyright (c) Unlayer.+## Contents++- Top-level structure+- Body values+- Row structure+- Column structure+- Content item structure+- Content types+- Validation constants+- Minimal working example+## Top-level structure```typescript