Semantic Model Optimizer

Reverse-engineers a `*-semantic-model.md` file from a live Semantius module, reads the module's entities, fields, and enum values via `semantius`, pulls in any related tables referenced from other modules or Semantius built-ins (e.g. `users`, `departments`) so the output is self-contained, and writes a file byte-compatible with the template used by the `semantic-model-analyst` skill. After saving, optionally runs an audit pass and suggests optimizations to the `.md` file. Trigger when the user wants to extract / export / snapshot / document / reverse-engineer / pull / refresh / regenerate a semantic model from a live Semantius instance, optimize an existing module, or bring a customized live module back in sync with its markdown spec. Example phrases: "generate a model from the `<slug>` module", "extract the `<slug>` semantic model", "snapshot the live module", "pull `<slug>` down to a markdown spec", "optimize the `<slug>` module", "the live model has drifted, regenerate the spec".

semantius d41303c 40.3 KB Updated

File contents

semantius/semantius-cli/tree/main/skills-v0/semantic-model-optimizer commit d41303ce58

Frequently asked questions

npx skillmds@latest add semantius/semantic-model-optimizer