documenting-warehouse-sources
Installation
SKILL.md
Documenting Data warehouse sources
User-facing source docs live in the posthog.com repo (not this one) at
contents/docs/cdp/sources/<slug>.md, served at both /docs/cdp/sources/<slug> and
/docs/data-warehouse/sources/<slug>. This skill defines the one consistent shape every source doc
must follow. Pair it with /implementing-warehouse-sources when shipping a new source.
Assume a sibling posthog.com checkout (e.g. ../posthog.com).
The two things the website renders for you
You do not hand-write connection fields or the table list — both come from the
public_source_configs API the site fetches at build time, mirrored into the doc via MDX components:
<SourceParameters />renders the connection/config form fields fromget_source_config.fields.<SourceTables />renders the Supported tables reference (table name, description, sync method, incremental field, primary key) from the source'sget_documented_tables().