What problem does it solve?
Clarifies language-specific idioms to standardize how code is written and reviewed across a project.
Captures patterns for error handling, type usage, naming, tests, configuration, and dependency wiring as language-aware guidelines.
Prevents drift when teams switch languages or onboard new contributors by providing a single reference document.
Generates a reusable artifact that atoms can reference to align generated pseudocode with the project's language norms.
Core Features & Use Cases
- Output: The document is produced at .lattice/standards/language-idioms.md (or a configured path from .lattice/config.yaml -> paths.language_idioms).
- Mode: Standalone — no embedded language defaults exist in atoms to overlay; revisions load and update the existing document in place.
- Config keys: language (top-level) and paths.language_idioms; supports the template from assets/template.md.
- Template: Reads assets/template.md for structure, examples, and interview guidance notes.
- Consumed by: Multiple atoms reference six stable sections: Error Handling, Type System & Object Model, Naming Conventions, Testing Patterns, Parameter & Function Design, Dependency Management.
Quick Start
Start the language-idioms refinement flow to generate the document at the configured path for your project language.