Typescript guidelines

From enso-org/enso · View interactive version

Typescript guidelines is an AI agent skill from the GitHub repository enso-org/enso. Typescript coding guidelines and conventions. Use this skill whenever working on Typescript source files (.ts or .tsx) including Vue framework (.vue) — editing, creating, reviewing, or refactoring Typescript code. This includes any task involving Typescript: writing new modules, fixing bugs, adding

How to use this skill

Skill file

General rules

proper typechecking. Then consider adding assertions or guards ensuring the

value's type is correct.

nested generic arguments, for example), or if the aliast name would provide

useful information besides the variable's/parameter's name.

run, except as a cautionary tale to not repeat errors.

Documentation Comments

entities.

used, unless it is useful as an example to understand the entity itself. Do

not mention details which are easily deduced from the name or code itself.

important to the dev using the entity (like time complexity).

detailed description should be on the main function/class defined in module.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.