SKILL5.2K installs83.5K

Typescript

LobeHub TypeScript style and type-safety guide. Use when editing TS/TSX/MTS, fixing types, choosing interface vs type, avoiding any/object, import type, async flow, or ts-expect-error.

Type
Skill
Author
lobehub
Category
Code Review
GitHub stars
83.5K
Installs
5.2K
Last updated
November 2, 2026

Install

npx skills add https://github.com/lobehub/lobehub --skill typescript

Use cases


Frequently Asked Questions

Does it explain when to use interface versus type?

Yes, that choice is one of the conventions it covers.

What does it say about any and object?

It covers avoiding both in favor of safer typing.

Does it cover async code?

Yes, async flow is part of the style guide, along with import type and ts-expect-error.


About this skill

A TypeScript style and type-safety guide from LobeHub, covering when to use interface vs type, avoiding any and object, import type, async flow, and ts-expect-error. It's for developers editing TS/TSX/MTS files or fixing type errors who want consistent conventions. The skill focuses on linting and refactoring rather than teaching TypeScript from scratch.

Summary written with AI assistance from the project's public description.


Categories


More from lobehub


Similar Skills