typescript-patterns
✓Best practices for TypeScript types, interfaces, assertions, and type safety. Use when writing or reviewing TypeScript code.
Installation
SKILL.md
Note: Only apply these when explicitly told to use interfaces instead of types.
Never use enums. Use const objects with as const instead.
Why: for...of works with break, continue, return, await, and has better debugging/stack traces.
Best practices for TypeScript types, interfaces, assertions, and type safety. Use when writing or reviewing TypeScript code. Source: adrianbrowning/agent-skills.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/adrianbrowning/agent-skills --skill typescript-patterns- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-05
- Updated
- 2026-02-18
Quick answers
What is typescript-patterns?
Best practices for TypeScript types, interfaces, assertions, and type safety. Use when writing or reviewing TypeScript code. Source: adrianbrowning/agent-skills.
How do I install typescript-patterns?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/adrianbrowning/agent-skills --skill typescript-patterns Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/adrianbrowning/agent-skills
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-05