typescript-best-practices
Guides TypeScript best practices for type safety, code organization, and maintainability. Use this skill when configuring TypeScript projects, deciding on typing strategies, writing async code, or reviewing TypeScript code quality.
Installation
SKILL.md
Comprehensive guide to writing clean, type-safe, and maintainable TypeScript code.
| Overusing any | Defeats type checking | Use unknown, generics, or proper types | | Not using strict mode | Misses many errors | Enable "strict": true | | Redundant annotations | Clutters code | Trust type inference | | Ignoring union types | Runtime errors | Use type guards | | Not handling null | Crashes | Use ?. and ?? operators |
| Nested conditionals | Hard to read | Use guard clauses |
Guides TypeScript best practices for type safety, code organization, and maintainability. Use this skill when configuring TypeScript projects, deciding on typing strategies, writing async code, or reviewing TypeScript code quality. Source: flpbalada/my-opencode-config.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/flpbalada/my-opencode-config --skill typescript-best-practices- Category
- </>Dev Tools
- Verified
- —
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is typescript-best-practices?
Guides TypeScript best practices for type safety, code organization, and maintainability. Use this skill when configuring TypeScript projects, deciding on typing strategies, writing async code, or reviewing TypeScript code quality. Source: flpbalada/my-opencode-config.
How do I install typescript-best-practices?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/flpbalada/my-opencode-config --skill typescript-best-practices 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/flpbalada/my-opencode-config
Details
- Category
- </>Dev Tools
- Source
- user
- First Seen
- 2026-02-01