Skip to main content

advanced-typescript-patterns

Explores advanced TypeScript patterns for TMNL, enhancing type safety and utility through conditional and mapped types.

Install this skill

or
70/100

Security score

The advanced-typescript-patterns skill was audited on Feb 9, 2026 and we found 6 security issues across 1 threat category. Review the findings below before installing.

Categories Tested

Security Issues

medium line 434

Template literal with variable interpolation in command context

SourceSKILL.md
434type ColorHex = `#${string}`
medium line 443

Template literal with variable interpolation in command context

SourceSKILL.md
443export type ColorValue = `#${string}`
medium line 459

Template literal with variable interpolation in command context

SourceSKILL.md
459type Hex2 = `${HexDigit}${HexDigit}`
medium line 462

Template literal with variable interpolation in command context

SourceSKILL.md
462type HexColor = `#${Hex2}${Hex2}${Hex2}`
medium line 468

Template literal with variable interpolation in command context

SourceSKILL.md
468type DomEventName = `on${Capitalize<keyof HTMLElementEventMap>}`
medium line 471

Template literal with variable interpolation in command context

SourceSKILL.md
471type Handler<T extends DomEventName> = T extends `on${infer E}`
Scanned on Feb 9, 2026
View Security Dashboard
Installation guide →