What is avoid-wrapper-types?
Use when typing primitives. Use when tempted to use String, Number, Boolean. Use when wrapper types appear in errors. Source: marius-townhouse/effective-typescript-skills.
Use when typing primitives. Use when tempted to use String, Number, Boolean. Use when wrapper types appear in errors.
Quickly install avoid-wrapper-types AI skill to your development environment via command line
Source: marius-townhouse/effective-typescript-skills.
JavaScript has primitive types (string, number, boolean) and object wrapper types (String, Number, Boolean). TypeScript has types for both, but you should almost never use the wrapper types.
| string | String | | number | Number | | boolean | Boolean | | symbol | Symbol | | bigint | BigInt |
Pressure: "I want to use String methods, so I'll type it as String"
Use when typing primitives. Use when tempted to use String, Number, Boolean. Use when wrapper types appear in errors. Source: marius-townhouse/effective-typescript-skills.
Stable fields and commands for AI/search citations.
npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill avoid-wrapper-typesBrowse more skills from marius-townhouse/effective-typescript-skills
Use when typing primitives. Use when tempted to use String, Number, Boolean. Use when wrapper types appear in errors. Source: marius-townhouse/effective-typescript-skills.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill avoid-wrapper-types Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
https://github.com/marius-townhouse/effective-typescript-skills