Skip to content

: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.

chore: use simplified English in code comments (#87646)

Julian Bez8ec9644e7936
diff --git a/.agents/skills/writing-code-comments/SKILL.md b/.agents/skills/writing-code-comments/SKILL.md
index a4ecb236bcb8..90129f12afa9 100644
--- a/.agents/skills/writing-code-comments/SKILL.md
+++ b/.agents/skills/writing-code-comments/SKILL.md
@@ -83,6 +83,7 @@ Delete it; the version history has it if it's needed again. Commented-out code i
Write comments the way you'd write technical documentation: explicit and precise. State the reasoning so the reader does not have to infer it. Length is not a target in either direction: don't clip a comment to look terse, and don't pad it to look thorough. Say what needs saying and stop.
- **Be explicit and technical.** State the cause and effect. Name the actual conditions, values, and consequences. A reader should not have to reconstruct your reasoning from a hint.
+- **Use mostly ASD-STE100 Simplified Technical English.** Use active voice, simple tenses, one idea per sentence, and consistent terms.
- **Let length follow the content.** One line is fine when one line covers it; use more when the reasoning needs more. Neither brevity nor length is the goal.
- **No em-dash.** The tell to avoid is the clipped two-part phrase joined by a dash, like `# do the thing — it's faster`. Use a real connective instead ("because", "so that", "which means", "to avoid").
- **Explain why, not what.** The what is in the code; the why usually is not.
diff --git a/AGENTS.md b/AGENTS.md
index eb10cc10df0b..a148f0cba197 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -215,6 +215,7 @@ See [.agents/security.md](.agents/security.md) for security guidelines — least
- Error handling: Prefer explicit error handling with typed errors
- Naming: Use descriptive names, camelCase for JS/TS, snake_case for Python
- Comments: default to short or 1-line comments. Explain _why_, not _what_, and only when a future reader (with no access to this PR or chat) would otherwise be confused
+- Comments: use mostly ASD-STE100 Simplified Technical English. Use active voice, simple tenses, one idea per sentence, and consistent terms
- Comments: never log change history or chat context in code — no "previously did X, now does Y", "per <task/PR>", "changed because…", or "AI:"/"agent:" notes. That goes in the commit message and PR description
- Comments: when refactoring or moving code, preserve existing comments unless they are explicitly made obsolete by the change
- Python tests: do not add doc comments