Show HN: STE-Code a distillation and adaptation of ASD-STE100 for code STE-Code, a documentation standard adapted from ASD-STE100 Issue 9, achieves a 96.6% pass rate on 59 documentation tests, compared to 11.9% for a plain assistant, a +84.7% improvement. The standard provides 51 writing rules, 4 grammar recommendations, a controlled vocabulary, and system prompt templates at five levels to remove ambiguity from code documentation. It is available on GitHub under the repository NikolaRHristov/STE-Code. STE-Code is a documentation standard adapted from ASD-STE100 Issue 9 https://asd-ste100.org for code documentation. It gives you 51 writing rules, 4 grammar recommendations, a controlled vocabulary, and system prompt templates at five levels. The standard removes ambiguity, jargon, and hedging from README files, API documentation, docstrings, commit messages, and error messages. Choose the level that fits your token budget: | Level | File | Tokens | Best For | |---|---|---|---| 1 | level1/system-prompt.txt | 2 level2/system-prompt.txt 3 level3/system-prompt.txt 4 level4/system-prompt.txt Level 5 the full specification has 51 rule summaries at ste-code/artifacts/level5/ /NikolaRHristov/STE-Code/blob/Current/ste-code/artifacts/level5 . Copy a system prompt into your LLM. The model writes clear, unambiguous documentation. You: Copy level1/system-prompt.txt into the system prompt field. LLM: You are an STE-Code technical writer. Apply these rules... You: Check this docstring. / This function basically handles user stuff. / LLM: / Creates a user or updates the data of a user. / The LLM applies the controlled vocabulary, the synonym table, and the sentence-length limits. It replaces jargon with approved words. It uses active voice and imperative mood. The 51 rules cover nine sections: | Section | Rules | Covers | |---|---|---| | 1 — Words | 14 | Approved vocabulary, parts of speech, technical nouns and verbs | | 2 — Noun Phrases | 2 | Article use, noun clusters | | 3 — Verbs | 7 | Tense, voice, mood, verb forms | | 4 — Sentences | 5 | Length, clarity, contractions, completeness | | 5 — Procedures | 5 | Instructional writing, step structure | | 6 — Descriptions | 5 | Descriptive writing, comparisons | | 7 — Warnings | 3 | BREAKING, DEPRECATED, NOTE formatting | | 8 — Punctuation | 6 | Commas, hyphens, parentheses, lists | | 9 — Document Structure | 4 | Headings, lists, tables, organization | Each rule has a code-domain adaptation with paradigm-specific guidance for object-oriented, functional, procedural, declarative, and systems programming. The full rules are in ste-code/adapted/ /NikolaRHristov/STE-Code/blob/Current/ste-code/adapted . STE-Code against a plain assistant on 59 documentation tests across 14 categories: | STE-Code | Plain Assistant | Improvement | | |---|---|---|---| | Pass rate | 96.6% | 11.9% | +84.7% | | Average score | 0.919 | 0.471 | +0.448 | Top categories: comments, error messages, and config files. STE-Code/ ├── README.md ├── ste-code/ │ ├── artifacts/ │ │ ├── level1/system-prompt.txt ★ ~1.2K tokens │ │ ├── level2/system-prompt.txt ★ ~4.5K tokens │ │ ├── level3/system-prompt.txt ★ ~8K tokens │ │ ├── level4/system-prompt.txt ★ ~45K tokens │ │ └── level5/ ★ 51 rule summaries │ ├── adapted/ The standard 57 adapted files │ ├── data/ Structured JSON vocabulary, synonyms │ ├── templates/ Additional system prompts │ ├── merged/ master.md full spec consolidation │ ├── refined/ Stage 2 — formatted extraction │ └── extracted/ Stage 1 — raw extraction ├── spec/ ASD-STE100 Issue 9 source 434 pages ├── translations/ Translation scaffolding 9 locales └── .agents/ Pipeline orchestration agents, skills, config ├── config/agents.yaml Agent backend configuration └── tools/ Assembly scripts agent-agnostic All assembly scripts use the agent runner at .agents/tools/agent-runner.py . The default backend is Hermes. Add other agents in .agents/config/agents.yaml . Assemble prompts default: Hermes python3 .agents/tools/assemble-level3.py python3 .agents/tools/assemble-level2.py python3 .agents/tools/assemble-level1.py Use a different agent python3 .agents/tools/assemble-level1.py --agent claude List available agents python3 .agents/tools/agent-runner.py --list For full documentation, see .agents/AGENTS.md /NikolaRHristov/STE-Code/blob/Current/.agents/AGENTS.md . The standard was built from ASD-STE100 Issue 9 through a five-stage automated pipeline: Extract → Refine → Merge → Adapt → Artifacts 434pp 109f 1f 57f 5 levels Nine specialized agents orchestrated 109 parallel workers. The adaptation replaced aerospace terms with code-domain equivalents. MIT. See LICENSE /NikolaRHristov/STE-Code/blob/Current/LICENSE . @misc{ste-code-2025, title = {{STE-Code}: Simplified Technical English for Code Documentation}, author = {{Nikola Hristov}}, year = {2025}, howpublished = {\url{https://github.com/NikolaRHristov/STE-Code}}, note = {Adapted from ASD-STE100 Issue 9 January 2025 } } STE-Code stands on decades of controlled-language research, documentation theory, and verification tooling. - ASD-STE100 Simplified Technical English, Issue 9 January 2025 — the foundational standard STE-Code adapts to the code domain. Owned by ASD — Aerospace, Security and Defence Industries Association of Europe , Brussels; maintained by the Simplified Technical English Maintenance Group STEMG . Copyright and trademark of ASD. https://www.asd-ste100.org/ https://www.asd-ste100.org/ - AECMA / AIA Simplified English lineage — STE's origin: developed in the late 1970s–1980s by the European Association of Aerospace Industries AECMA, now ASD with the Aerospace Industries Association of America AIA , at the request of the Association of European Airlines AEA . Working group founded 30 June 1983, Amsterdam; first Guide release 1986; became ASD-STE100 specification in 2005 and an international standard in 2025. Historical basis for STE-Code's core principle: enforceability determines survival Caterpillar Fundamental English, unenforced, died 1982 . - Tobias Kuhn — A Survey and Classification of Controlled Natural Languages Computational Linguistics, 2014; 636+ citations . Source of the PENS classification Precision, Expressiveness, Naturalness, Simplicity used to profile STE-Code rules. https://aclanthology.org/J14-1005.pdf https://aclanthology.org/J14-1005.pdf - Norbert E. Fuchs & Rolf Schwitter University of Zurich — Attempto Controlled English ACE 1996 . Precedent for machine-processable controlled English and explicit quoting conventions for the use–mention distinction. https://attempto.ifi.uzh.ch/ https://attempto.ifi.uzh.ch/ - Rimay CNL research — On systematically building a controlled natural language for functional requirements PubMed . Source of the coverage methodology 88% of 460 real statements expressible . https://pubmed.ncbi.nlm.nih.gov/34776756/ https://pubmed.ncbi.nlm.nih.gov/34776756/ John M. Carroll — Minimalism tradition in technical documentation ACM SIGDOC . Learning-theoretic basis for register stratification: users act first and read at the moment of need. https://dl.acm.org/doi/10.1145/296336.296362 https://dl.acm.org/doi/10.1145/296336.296362 asciidoctest PyPI — Verifiable, stateful, and interactive documentation with AsciiDoc . Reference implementation for code-block verification. https://libraries.io/pypi/asciidoctest https://libraries.io/pypi/asciidoctest Google Style Guides — precedent for public, per-language style standards. https://google.github.io/styleguide/ https://google.github.io/styleguide/ Kristories/awesome-guidelines — community catalogue of coding standards. https://github.com/Kristories/awesome-guidelines https://github.com/Kristories/awesome-guidelines github/codeql-coding-standards — precedent for machine-enforceable standards as executable queries. https://github.com/github/codeql-coding-standards https://github.com/github/codeql-coding-standards ASD-STE100 is a copyright and trademark of ASD, Brussels. STE-Code adapts its principles and rule categories to the software domain; it does not reproduce the standard's dictionary or rule text. Users requiring the authoritative aerospace standard should obtain Issue 9 directly from ASD free of charge via the official form : https://www.asd-ste100.org/ https://www.asd-ste100.org/ .