uts
UTS, or Uni Type Script, is a cross-platform, high-performance, strongly-typed modern programming language
Install / Use
npx skills add dcloudio-hbuilder/uni-app-x-ai-rulesInstalls into whichever agent you are using.
Cursor Rules
Cursor IDE rules (v2)
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of uts
uts scores 54/100 on our quality scale, 4220th of 4,611 Development & Engineering skills we index.
Its Cursor Rules is 4.0 KB long, split into 5 sections and no code examples: a solid amount of guidance for an agent.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- We could not determine when the repository was last updated.
- Our last check on 2026-10-18 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 68/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
uts compared with similar skills
All 4 of these similar skills score higher than uts; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| uts (this skill)by dcloudio-hbuilder | 54 | 0 | — | Cursor Rules |
| taste-skillby Leonxlnx | 100 | 110.6k | 1d ago | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 69.8k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 46.6k | 2d ago | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 44d ago | SKILL.md |
Frequently asked questions
- How do I install uts?
- Run
npx skills add dcloudio-hbuilder/uni-app-x-ai-rules. The install tabs above show the steps for each supported agent. - Which AI agents does uts work with?
- It is written for Cursor, as a Cursor Rules file. Other agents that read the same format can often use it too.
- Is uts safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 68/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is uts still maintained?
- We could not determine when the repository was last updated.
Skill content
View source on GitHubdescription: UTS, or Uni Type Script, is a cross-platform, high-performance, strongly-typed modern programming language globs: .uts,.ts alwaysApply: false
Core
The code running environment is customized ts, and the type requirements are strictly similar to Kotlin. Any is not allowed for types. You cannot use dynamic objects. Only Map. All types must be explicitly declared, and implicit type conversions are not allowed. Don't write types directly in the code, define them at the top and then use them. Types are not allowed to be too deep, so write a separate one to refer to them. When determining if, the value inside must be of type boolean, and no other type should be used. For example: If the value of aNull is null, it is wrong to write if (aNull), and must be written as if (aNull != null)。 Optional properties must use?. Use non-null assertion!,? Can be regarded as an empty decision. Do not use === and!==, Only == and!=
Type System Specifications
- Force explicit declaration of variable/function types (except for simple literals), giving preference to using interfaces to define complex data structures. Union types need to explicitly declare null (such as string| null), prohibiting the use of any type. Support secure chain calls (?.) Handle optional values.
- Static typing: UTS emphasizes static typing, requiring all variables and function parameters to have clear type declarations, avoiding the use of any type.
- Type system: UTS does not support a structured type system, but adopts a nominal type system, emphasizing type names and inheritance relationships to ensure type safety.
- Core language features: UTS does not support undefined, variable promotion, var keywords, etc., and requires conditional statements to use boolean types.
- Type system dependent: UTS does not support conditional types, mapping types, utility types, as const assertions, etc.
- Classes and objects are related: UTS does not support private fields starting with #, dynamic field access, static blocks, using classes as objects, etc.
- Function dependence: UTS does not support types with call signatures and construct signatures, constructor types, function declarations used as values, etc.
- Modules and namespaces: UTS does not support namespaces, require and import assignment expressions, export =... grammar, etc.
- Type checking and conversion: UTS does not support the is operator and requires the use of instanceof and as for type protection.
- Special language features: UTS does not support Symbol(), index signature, declaration merge, generator functions, JSX expressions, with statements, globalThis, etc.
- Operators and expressions: UTS limits the use of unary operators and prohibits the use of delete and comma operators.
- Prototypes and object manipulation: UTS does not support assigning values on prototypes.
- Adaptation suggestions:
- Use TypeScript type annotations to clarify type information.
- Use classes and interfaces to define type structures.
- Use instanceof and as for type protection.
- Use static initializations or constructors to implement the functionality of static blocks.
- Use modules to organize code.
variable management
- let is used for variable variables, and var is disabled to avoid platform differences (such as the conflict between let and UTSlet in Swift) Variable naming follows the hump pattern, prohibits the beginning of numbers, and supports underscore separators
- Variables must be typed when they are initialized or declared
Cross-platform adaptation rules
Use conditional compilation instructions (such as #ifdef ANDROID) to handle platform differences and disable platform-specific syntax (such as Kotlin's when) Avoid directly manipulating DOM/BOM and use Uni APIs first (such as uni.request)
Adaptation suggestions
- Use TypeScript type annotations to clarify type information.
- Use classes and interfaces to define type structures.
- Use instanceof and as for type protection.
- Use static initializations or constructors to implement the functionality of static blocks.
- Use modules to organize code.
Related Skills
taste-skill
110.6kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
ai-job-search
69.8kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
46.6kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
