: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(agents): drop first-person PR descriptions (#83755)
Raúl Negrón-Otero9477041a2476
diff --git a/.agents/skills/writing-pr-descriptions/SKILL.md b/.agents/skills/writing-pr-descriptions/SKILL.mdindex 5c07b5772446..f0f566e26ab4 100644--- a/.agents/skills/writing-pr-descriptions/SKILL.md+++ b/.agents/skills/writing-pr-descriptions/SKILL.md@@ -200,7 +200,10 @@ Copy the second one. It is shorter, not just flatter.- Sentence case for titles, headings, and bolded text. Only the first word and proper nouns.- Spare use of inline code. Limited use of the colon and semicolon.- Do not hard-wrap at a column width and do not space-align tables. GitHub renders markdown and flows the text.-- Write in first person as the author. When an agent did the work, say so: "I (actually Claude) moved the derivation into one place."+- The subject of a sentence is the change, not its author. Never "I", "me" or "my", and keep "we" for PostHog.+ "The exporter now retries once", never "I made the exporter retry once".+ An agent writing as "I" hands the assignee an account of work they did not do, and a parenthetical does not undo it.+ Authorship is one stated fact in `## 🤖 Agent context`, not a voice the body speaks in.## Pass 5: check your own draft@@ -226,12 +229,13 @@ A "no" anywhere means the body is ordered for the writer, not the reader. Go bac6. Read each bullet alone. Does it state one fact? If it states two, split it.7. Count the words in the longest sentence. Over 25, split it.8. Rewrite every passive sentence in active voice, unless the actor is genuinely unknown. Break every noun string longer than three words with a preposition.-9. Is any fact in the wrong form? A visual change needs a screenshot. A flow change needs before and after diagrams. A comparison needs a table.-10. Does every claim about what you ran, measured or saw link its evidence, or say it went unchecked? Descriptions of behavior need no link.-11. Did a `<!-- -->` template comment survive anywhere? That section is unfilled. Fill it or delete it.-12. Is the `## 🤖 Agent context` section filled, listing the skills invoked?-13. Does the body claim manual testing that did not happen? Delete it.-14. Does the body name an internal customer, incident, Slack quote, or operational metric? This repo is public. Delete it.+9. Does any sentence take its author as the subject? Rewrite it around the change. "I", "me" and "my" appear nowhere.+10. Is any fact in the wrong form? A visual change needs a screenshot. A flow change needs before and after diagrams. A comparison needs a table.+11. Does every claim about what you ran, measured or saw link its evidence, or say it went unchecked? Descriptions of behavior need no link.+12. Did a `<!-- -->` template comment survive anywhere? That section is unfilled. Fill it or delete it.+13. Is the `## 🤖 Agent context` section filled, listing the skills invoked?+14. Does the body claim manual testing that did not happen? Delete it.+15. Does the body name an internal customer, incident, Slack quote, or operational metric? This repo is public. Delete it.## Backgrounddiff --git a/.agents/skills/writing-pr-descriptions/references/examples.md b/.agents/skills/writing-pr-descriptions/references/examples.mdindex 12bdead64440..59e4b000e4aa 100644--- a/.agents/skills/writing-pr-descriptions/references/examples.md+++ b/.agents/skills/writing-pr-descriptions/references/examples.md@@ -38,11 +38,11 @@ Every fact survived. The reviewer now learns that tiles break and nobody can unbAs shipped, the two sections a reviewer needs ran 190 words and the two under them ran 224. Three moves fix the ratio:-| Text | From | To |-| ---------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- | -------------------------------------- |-| "I considered returning a 400 for unknown keys on write and rejected it: the UI echoes persisted blobs into saves, so that would block saving" | Agent context, last bullet | Changes, as a bullet |-| "Ran `pytest` on the two touched test files (52 passed), repo-wide `mypy` (clean), and `hogli ci:preflight --fix` (no failures)" | Testing | Deleted. The checks report all three |-| "The existing PATCH round-trip test in `test_dashboard.py` guards the wiring" | Testing | Deleted. An existing test still passes |+| Text | From | To |+| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------- | -------------------------------------- |+| "A 400 for unknown keys on write would block saving: the UI echoes persisted blobs back into saves" | Agent context, last bullet | Changes, as a bullet |+| "Ran `pytest` on the two touched test files (52 passed), repo-wide `mypy` (clean), and `hogli ci:preflight --fix` (no failures)" | Testing | Deleted. The checks report all three |+| "The existing PATCH round-trip test in `test_dashboard.py` guards the wiring" | Testing | Deleted. An existing test still passes |The rejected alternative is the one line a reviewer needs to judge the design. It sat below the changelog checkbox.diff --git a/.github/pull_request_template.md b/.github/pull_request_template.mdindex 664d32c8f839..85e9f87bb938 100644--- a/.github/pull_request_template.md+++ b/.github/pull_request_template.md@@ -64,6 +64,7 @@✅ feat(insights): add retention graph export❌ feat: Added retention export. (capitalized, period, no scope)- Description: high-level rationale, not a step-by-step replay.+- Voice: the subject of every sentence is the change, never its author. No "I", "me" or "my" anywhere in the body. "I (actually Claude)" is worse than either half: it hands the assignee an account of work they did not do. Authorship is one stated fact in the Agent context section below.- 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.