rule-typescript
OfficialEnforce strict TypeScript discipline and safety.
Software Engineering#typescript#architecture#linting#interfaces#code-quality#type-safety#strict-mode
Authorcarrot-foundation
Version1.0.0
Installs0
System Documentation
What problem does it solve?
TypeScript conventions and best practices are applied to ensure consistent, safe, and maintainable code across a schemas package.
Core Features & Use Cases
- Enforces strict mode in tsconfig across the codebase to catch edge cases early.
- Prohibits the use of any and enforces explicit return types and clear interfaces, reducing runtime surprises.
- Encourages disciplined use of interfaces vs types and consistent import patterns to improve readability and maintainability.
- Use case: when extending or refactoring the schemas package, apply these conventions to ensure strong typing and predictable APIs.
Quick Start
Enable strict mode in tsconfig, prohibit any, and enforce explicit return types and interfaces across src/**/*.ts.
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: rule-typescript Download link: https://github.com/carrot-foundation/schemas/archive/main.zip#rule-typescript 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 471,000+ vetted skills library on demand.