get_code_conventions
Discover coding conventions from existing project symbols before writing code, providing evidence and confidence for each rule to keep new code consistent.
Instructions
Report the coding conventions this project already follows.
Call this before generating code. Conventions are written down nowhere — they are visible only in the existing symbols — and code that compiles but breaks them reads as foreign in review. Each rule carries the evidence behind it and a confidence, so a weak signal is not mistaken for a house standard.
Covers: variable name prefixes by type (x→BOOL, r→LREAL, udi→UDINT),
function-block instance naming, established signal families, documentation
habits, task structure and the languages in use.
Args: path: Project file or directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |