Skip to main content

typescript-advanced-patterns

Provides advanced TypeScript patterns to enhance type safety and eliminate runtime bugs in production codebases.

Install this skill

or
70/100

Security score

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

Categories Tested

Security Issues

medium line 80

Template literal with variable interpolation in command context

SourceSKILL.md
80if (!Number.isInteger(n) || n < 0) throw new Error(`Invalid cents: ${n}`);
medium line 120

Template literal with variable interpolation in command context

SourceSKILL.md
120throw new Error(`Unexpected value: ${JSON.stringify(x)}`);
medium line 144

Template literal with variable interpolation in command context

SourceSKILL.md
144type ApiEndpoint = `/${ApiVersion}/${Resource}`;
medium line 150

Template literal with variable interpolation in command context

SourceSKILL.md
150type CSSPropertyWithSide = `${CSSProperty}-${Side}`;
medium line 159

Template literal with variable interpolation in command context

SourceSKILL.md
159type EventName = `on${Capitalize<keyof DOMEventMap>}`;
medium line 371

Template literal with variable interpolation in command context

SourceSKILL.md
371Path extends `${infer Head}.${infer Tail}`
Scanned on Mar 7, 2026
View Security Dashboard