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.

feat(agents): write agent output in simplified technical english (#80018)

Michael Matloka717da2281629
diff --git a/products/posthog_ai/skills/writing-simplified-technical-english/SKILL.md b/products/posthog_ai/skills/writing-simplified-technical-english/SKILL.md
new file mode 100644
index 000000000000..85b1a6a90a89
--- /dev/null
+++ b/products/posthog_ai/skills/writing-simplified-technical-english/SKILL.md
@@ -0,0 +1,80 @@
+---
+name: writing-simplified-technical-english
+description: 'Write English that a reader cannot misread: one meaning per word, active voice, simple tenses, one idea per sentence, short sentences. Based on ASD-STE100 (Simplified Technical English), the controlled-language standard written for aircraft maintenance manuals. Use it for any prose an agent produces that someone else acts on. That covers reports and findings, PR descriptions and commit messages, instructions handed to another agent, tool descriptions, error messages, status summaries, and prompts. Also use it on request, with triggers like "simplify this", "make this readable", "too dense", "rewrite in STE", "simplified technical english", "ASD-STE100".'
+---
+
+# Writing simplified technical English
+
+ASD-STE100 is a controlled-language standard.
+The aerospace and defense industry wrote it so that a technician cannot misread a maintenance instruction.
+It removes the two biggest sources of misreading: words that carry more than one meaning, and sentences that support more than one structure.
+
+The same discipline fixes the usual failure of agent-written prose.
+Agent output is often correct and unreadable: long sentences, stacked hedges, passive voice, and a synonym rotation that makes one action look like three.
+The reader has no author to ask, so ambiguity costs them a re-read at best and a wrong action at worst.
+
+Apply the rules below as you write.
+Do not write a dense draft and clean it up afterward.
+
+## When to use this
+
+Use it for text that a person or another agent must act on:
+
+- Reports, findings, and summaries.
+- PR descriptions, commit messages, and code comments.
+- Instructions passed to another agent, and prompts.
+- Tool descriptions, error messages, empty states, and log lines.
+
+Do not use it where voice is the point: marketing copy, blog posts, or anything persuasive.
+STE is deliberately flat.
+Also leave quoted text alone.
+If you quote a user, a log, or a document, quote it as it is.
+
+## The rules
+
+| Rule | Do | Do not |
+| --------------------------- | -------------------------------------------------------------------- | ----------------------------------------------------------- |
+| One meaning per word | Pick one verb per action and reuse it every time | Rotate "check", "verify", and "confirm" for the same action |
+| One part of speech per word | "Apply oil to the valve" | "Oil the valve" |
+| Active voice | "The worker deletes the file." | "The file is deleted." |
+| Simple tenses | "We received the report." | "We have received the report." |
+| One idea per sentence | "Open the file. Read line 3." | "Open the file and read line 3, then check it matches." |
+| Sentence length | 20 words or fewer for instructions, 25 or fewer for descriptions | Chains of subordinate clauses |
+| Noun clusters | 3 words or fewer ("fuel pump valve") | "high pressure fuel pump inlet valve assembly" |
+| No missing words | Keep the subject, the verb, and the article, even if it reads longer | "Files not backed up will be lost", which hides which files |
+| One hedge, at most | "The client version is probably out of date." | "An error may have occurred which could be caused by..." |
+| Paragraphs | One topic, 6 sentences or fewer | Multi-topic paragraphs |
+| Lists | Use a list for 3 or more steps or conditions | A sequence buried in one sentence |
+| Jargon | Keep the technical term you need, and define it once | Use an internal name the reader has never seen |
+
+PostHog house style sits on top of these rules and wins where the two disagree.
+We use American English, sentence case, and the Oxford comma.
+We do not use the em-dash.
+
+## How to rewrite
+
+1. Read the text once for meaning. Do not start rewriting before you know what it must still say.
+2. Go sentence by sentence. Name the rule each sentence breaks.
+3. Rewrite the sentence to fix that break. Keep every fact, number, condition, and qualifier.
+4. Check the result against the rules again. A rewrite often introduces a new long sentence.
+
+Precision beats brevity.
+If a shorter sentence would drop a safety condition, a scope qualifier, or a number, keep the longer sentence and say why.
+
+If the text already follows the rules, say so.
+Do not change compliant text.
+
+## Self-check
+
+Before you send the text, read it once and ask:
+
+- Does any sentence run past 25 words?
+- Does any sentence carry two instructions?
+- Does the same action appear under two different verbs?
+- Can a passive sentence name its actor?
+- Would a reader who joins here, with no context, know what to do next?
+
+## References
+
+- `references/writing-rules.md`: the detail behind the table, plus sources.
+- `references/before-after.md`: worked examples of the rewrite, including agent output.
diff --git a/products/posthog_ai/skills/writing-simplified-technical-english/references/before-after.md b/products/posthog_ai/skills/writing-simplified-technical-english/references/before-after.md
new file mode 100644
index 000000000000..1f6db9c162eb
--- /dev/null
+++ b/products/posthog_ai/skills/writing-simplified-technical-english/references/before-after.md
@@ -0,0 +1,83 @@
+# Before and after
+
+Every example below is invented to show a rule.
+None comes from a real report, ticket, or conversation.
+
+## Single sentences
+
+| Rule | Before | After |
+| -------------------- | -------------------------------------------------------------------- | ------------------------------------------------------------- |
+| One meaning per word | "Verify the flag, then confirm the rollout, then check the payload." | "Check the flag, the rollout, and the payload." |
+| Precise verb | "Follow the retry policy." | "Obey the retry policy." |
+| Simple tense | "We have received 400 exceptions since Tuesday." | "We received 400 exceptions since Tuesday." |
+| Active voice | "The stale cache entry is evicted on the next write." | "The next write evicts the stale cache entry." |
+| Noun cluster | "the task queue priority handler config" | "the config that sets task-queue priority" |
+| No missing words | "Sessions not sampled are dropped." | "The worker drops a session that the sampler did not select." |
+
+## Tool description
+
+Before:
+
+> This tool will attempt to synchronize state across the various backends that have been configured, and if a conflict is detected it may resolve it automatically depending on the strategy that has been set, or otherwise it will surface the conflict for manual review.
+
+What it breaks: two instructions in one sentence, three hedges, 55 words against a 25-word cap.
+
+After:
+
+> The tool syncs state across the configured backends.
+> If it finds a conflict, it reads the current strategy.
+> If the strategy allows automatic resolution, the tool resolves the conflict.
+> If not, the tool reports the conflict for manual review.
+
+## Error message
+
+Before:
+
+> An error may have occurred while processing your request due to a possible mismatch in the expected data format, which could be caused by an outdated client version.
+
+What it breaks: passive voice with no actor, two hedges stacked, two claims in one sentence.
+
+After:
+
+> The request failed.
+> The data format did not match what the server expected.
+> Check your client version.
+> An outdated client is the most common cause.
+
+## Instruction to another agent
+
+Before:
+
+> Once the upstream job has completed and assuming no errors were raised, the downstream agent should proceed to consume the output artifact, though it is worth noting that partial artifacts are sometimes produced under timeout conditions.
+
+What it breaks: present perfect, three facts in one sentence, 42 words against a 20-word cap.
+
+After:
+
+> Wait for the upstream job to finish with no errors.
+> Then read the output artifact.
+> A timeout can produce a partial artifact, so check that the artifact is complete before you use it.
+
+## Report finding
+
+Before:
+
+> It appears that there may be an issue with the way in which the signup funnel is currently being instrumented, as the property that identifies the plan the user selected has not been being sent on the final step of the funnel since around the middle of last month, which means that any breakdown by plan is likely to be undercounting.
+
+What it breaks: 62 words, three hedges, present perfect progressive, a vague date.
+
+After:
+
+> The signup funnel drops the plan property on its final step.
+> The property stopped arriving on 12 May.
+> Every breakdown by plan undercounts from that date.
+
+## What not to simplify
+
+Keep the longer sentence when the shorter one loses something:
+
+- A condition: "Delete the row only after the export finishes."
+- A scope qualifier: "This applies to teams on the legacy ingestion path."
+- A number, a date, or a unit.
+
+Say why you kept it, in one line, rather than dropping it.
diff --git a/products/posthog_ai/skills/writing-simplified-technical-english/references/writing-rules.md b/products/posthog_ai/skills/writing-simplified-technical-english/references/writing-rules.md
new file mode 100644
index 000000000000..a568ae19d9e5
--- /dev/null
+++ b/products/posthog_ai/skills/writing-simplified-technical-english/references/writing-rules.md
@@ -0,0 +1,58 @@
+# ASD-STE100 writing rules
+
+This file gives the detail behind the rule table in `SKILL.md`.
+It paraphrases the rule categories of the standard.
+It does not reproduce the text of the standard or its dictionary.
+
+## What the standard is
+
+ASD-STE100 is a controlled natural language.
+European airlines asked for it, because most of their maintenance staff read English as a second language.
+A misread instruction on an aircraft can kill people.
+The standard first shipped in 1986.
+ASD (the AeroSpace and Defense Industries Association of Europe) maintains it through the Simplified Technical English Maintenance Group.
+It has been free to download since 2013.
+The current edition is Issue 9, from January 2025.
+
+The standard has two parts:
+
+- 53 writing rules across 9 sections. They cover word choice, grammar, sentence structure, and style.
+- A dictionary of about 900 approved words. Each word has one meaning and one part of speech. About 1,200 more words are listed as words to avoid, each with a replacement.
+
+An organization may add its own approved technical nouns and verbs on top of the base dictionary.
+That is how a domain term survives the rules: approve it once, define it once, then use it the same way every time.
+
+## Detail behind the rules
+
+**Verb forms.**
+Use the infinitive, the imperative, the simple present, the simple past, the simple future, and the past participle as an adjective.
+Do not use the present perfect, the past perfect, or other compound forms.
+Use an "-ing" form only inside a technical noun, never as a verb form.
+
+**Voice.**
+Use the active voice for procedures and instructions.
+The passive voice is allowed in descriptive text, and only when the actor is unknown or irrelevant to the reader.
+
+**Missing words.**
+Do not drop the verb, the subject, or the article to shorten a sentence.
+The standard warns that this creates ambiguity rather than clarity.
+This is the rule that most often surprises a writer who equates short with clear.
+
+**Safety instructions.**
+Open a safety-critical instruction with the command or the condition.
+Do not bury it mid-sentence.
+The reader must know the risk before they read the detail.
+
+## What this skill does not do
+
+- It does not reproduce the approved dictionary. When exact approved wording matters, download the standard and check word by word.
+- It does not certify a document as STE compliant. It is a clarity tool built on the same rules.
+
+## Sources
+
+- [ASD-STE100 official site](https://www.asd-ste100.org/)
+- [ASD Europe: Simplified Technical English](https://www.asd-europe.org/standards-specifications/simplified-technical-english/)
+- [Simplified Technical English on Wikipedia](https://en.wikipedia.org/wiki/Simplified_Technical_English)
+- [TechScribe: ASD-STE100 Simplified Technical English](https://www.techscribe.co.uk/techw/asd-simplified-technical-english.htm)
+
+This skill is adapted from [danyuchn/asd-ste100-skill](https://github.com/danyuchn/asd-ste100-skill), published under the MIT license.
diff --git a/products/signals/backend/auto_start.py b/products/signals/backend/auto_start.py
index ee122663f8d8..591fa715f073 100644
--- a/products/signals/backend/auto_start.py
+++ b/products/signals/backend/auto_start.py
@@ -264,6 +264,9 @@ def _build_autostart_task_description(
"the user to that branch so they can review the changes and decide how to proceed, and explain in your "
"turn summary why you didn't open the PR directly. Err on the side of caution to avoid committing a "
"social faux pas in someone else's project.\n\n"
+ "Write everything you produce in Simplified Technical English, following the "
+ "`writing-simplified-technical-english` skill: one meaning per word, active voice, simple tenses, "
+ "one idea per sentence.\n\n"
f"{_PR_DESCRIPTION_FORM_RULES}"
f"{source_reference_instruction}"
"When opening the PR, include this report link in the description footer, "
diff --git a/products/signals/backend/report_generation/research.py b/products/signals/backend/report_generation/research.py
index 08b5b29aaf85..0188837f617e 100644
--- a/products/signals/backend/report_generation/research.py
+++ b/products/signals/backend/report_generation/research.py
@@ -397,6 +397,7 @@ _RESEARCH_PREAMBLE = """You are a research agent investigating a signal report f
Your findings will be passed downstream to a coding agent that will act on this report — thorough, evidence-based research here directly improves the quality of the coding agent's work.
<writing_guide>
+Write everything you produce in Simplified Technical English, following the `writing-simplified-technical-english` skill: one meaning per word, active voice, simple tenses, one idea per sentence.
We use American English.
We use the Oxford comma.
We always use sentence case rather than title case, including in titles, headings, subheadings, or bold text. However if quoting provided text, we keep the original case.