language-idioms-refiner

Solid

Facilitate a structured conversation to define language-specific idioms and patterns for a repository. Produces a language-idioms.md document consumed by multiple atoms to adapt pseudocode defaults to the project's language. Use when setting up a new project, switching languages, or when the user says 'setup language', 'define language idioms', 'configure language', 'language patterns', or 'adapt for Go/Rust/Python'.

AI & Automation 134 stars 8 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
71
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Language Idioms Refiner ## What This Produces - **Output**: `.lattice/standards/language-idioms.md` (or custom path from `.lattice/config.yaml` -> `paths.language_idioms`) - **Mode**: Always standalone -- no embedded language defaults exist in atoms to overlay on. For revisions, load existing document and update sections in place. - **Config keys**: - `language` (top-level) -- language identifier (e.g., `go`, `rust`, `python`, `java`, `typescript`) - `paths.language_idioms` -- path to the produced document - **Template**: Read `./assets/template.md` for the full document structure, pre-populated examples, and interview guidance comments - **Consumed by**: Multiple atoms reference specific sections by heading name: | Section | Consumed by | |---------|------------| | **Error Handling** | `clean-code` atom (§8), `secure-coding` atom (§1 trust boundary messages) | | **Type System & Object Model** | `clean-code` atom (§1 SRP/cohesion), `domain-driven-design` atom (entities, VOs, aggregates) | | **Naming Conventions** | `clean-code` atom (§4) | | **Testing Patterns** | `test-quality` atom (§5 naming, §4 isolation, §6 builders) | | **Parameter & Function Design** | `clean-code` atom (§2 function size, §5 parameters) | | **Dependency Management** | `clean-code` atom (§9 testability/DI), `architecture` atom (dependency direction) | These six section headings are the **stable contract**. Atoms reference them by name. Additional sections can be added by consumers but these si...

Details

Author
techygarg
Repository
techygarg/lattice
Created
3 months ago
Last Updated
3 days ago
Language
Shell
License
MIT

Related Skills