cd /news/developer-tools/show-hn-ste-code-a-distillation-and-… Β· home β€Ί topics β€Ί developer-tools β€Ί article
[ARTICLE Β· art-81586] src=github.com β†— pub= topic=developer-tools verified=true sentiment=↑ positive

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.

read5 min views1 publishedJul 31, 2026
Show HN: STE-Code a distillation and adaptation of ASD-STE100 for code
Image: source

STE-Code is a documentation standard adapted from ASD-STE100 Issue 9 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

2level2/system-prompt.txt

3level3/system-prompt.txt

4level4/system-prompt.txt

Level 5 (the full specification) has 51 rule summaries at 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/.

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

.

python3 .agents/tools/assemble-level3.py
python3 .agents/tools/assemble-level2.py
python3 .agents/tools/assemble-level1.py

python3 .agents/tools/assemble-level1.py --agent claude

python3 .agents/tools/agent-runner.py --list

For full documentation, see .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.

@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/ - 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 - 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/ - 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/

John M. Carrollβ€”Minimalismtradition 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

asciidoctest(PyPI) β€”Verifiable, stateful, and interactive documentation with AsciiDoc. Reference implementation for code-block verification.https://libraries.io/pypi/asciidoctest

Google Style Guidesβ€” precedent for public, per-language style standards.https://google.github.io/styleguide/Kristories/awesome-guidelinesβ€” community catalogue of coding standards.https://github.com/Kristories/awesome-guidelinesgithub/codeql-coding-standardsβ€” precedent for machine-enforceable standards as executable queries.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/.

── more in #developer-tools 4 stories Β· sorted by recency
── more on @ste-code 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/show-hn-ste-code-a-d…] indexed:0 read:5min 2026-07-31 Β· β€”