rules-typescript
CommunityEnforce safer TypeScript coding
AuthorNSObjects
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill ensures TypeScript code stays aligned with strict project conventions, preventing unchecked anys, inconsistent naming, and unsafe async handling that slip through generic guidance.
Core Features & Use Cases
- Naming & Formatting Guidance: Clarifies PascalCase patterns for interfaces, generics, and files, plus rules for constants and barrel files so TypeScript exports stay predictable.
- Typing & Testing Discipline: Enforces strict: true, discriminated unions, readonly defaults, and test-first workflows with TypeScript-aware runners to keep typings meaningful.
- Async, Error, and Dependency Safety: Requires awaited Promises, Result-type error handling, AbortController cleanup, and dependency-aware dependency injection patterns when vetting PRs that introduce new services.
Quick Start
Describe your TypeScript module and ask for a review that aligns it with these rules.
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: rules-typescript Download link: https://github.com/NSObjects/specpowers/archive/main.zip#rules-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.