All ` ```locus ` fenced blocks in the docs/
directory are parsed and validated during npm run docs:check
.
.snippets.hash
to detect drift.Use one of these markers directly before or inside the fenced block:
<!-- skip-validate -->
comment above the fence.// snippet: partial
comment inside the code (indicates intentionally incomplete code).Negative / intentionally failing examples should be placed in prose (not fenced) or fenced with a skip marker and formatted as plain text or ` ```text `.
Early detection of syntax drift keeps the docs reliable and reduces example rot. Contributors get immediate feedback instead of shipping broken examples.
Last updated: 2025-09-04