strict-typescript-mode
CommunityEnforce TypeScript best practices for safer code.
AuthorSvenja-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill enforces TypeScript best practices to improve safety, readability, and maintainability by preventing implicit any usage and requiring explicit types.
Core Features & Use Cases
- Enforces explicit return types and public API types to prevent accidental type leakage.
- Forbids usage of any in new code unless there is a documented justification, with type guards and runtime checks where appropriate.
- Encourages the use of generic constraints and TypeScript utility types to create safer abstractions.
- Use Case: When converting a JavaScript project to TypeScript or implementing new features, this skill guides developers to write type-safe, robust code.
Quick Start
- Update tsconfig.json to enable strict mode and helpful flags (e.g., "strict": true, "noImplicitAny": true, "strictNullChecks": true).
- Add lint rules to enforce explicit types on exports and disallow bare any usages.
- Run the TypeScript compiler and linting tools (tsc, eslint) to validate code changes.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: strict-typescript-mode Download link: https://github.com/Svenja-dev/claude-code-skills/archive/main.zip#strict-typescript-mode Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.