: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: recommend /simplify before opening PRs (#84539)
Raúl Negrón-Otero0819cb887232
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.mdindex 85e9f87bb938..b5d1308d9588 100644--- a/.github/pull_request_template.md+++ b/.github/pull_request_template.md@@ -68,6 +68,7 @@- Body: pass it straight to the creation tool's `body` arg (GitHub MCP `create_pull_request` body, or `gh pr create --body-file -` via stdin) — don't write it to a temp file first; the arg preserves markdown and newlines verbatim.- Public OSS repo: no internal customers, incidents, or operational metrics.- Stack instead of stuffing: if the diff holds two or more separable steps (migration then behavior, rename then rewrite), open a stack rather than one big PR. See AGENTS.md, "Stacked PRs" and /stacking-prs.+- Simplify before opening: if your agent has a behavior-preserving cleanup pass (Claude Code: `/simplify`), run it on a non-trivial diff before final tests and preflight, since it edits the tree. Skip it for small mechanical changes.- Draft by default: open new PRs as drafts (`gh pr create --draft`) — drafts run only a narrow CI subset and save runner credits. Fix CI and run affected tests locally before marking ready for review.- Labels: apply `skip-agent-review` for trivial/chore PRs that don't need Copilot or Greptile review.- When a human directed the work, the PR must be attributable to that person, even if agent-assisted.