typescript 是做什么的?
LobeHub TypeScript 样式与类型安全指南。适用于编辑 TS/TSX/MTS、修复类型、选择 interface 或 type、避免 any/object、导入类型、异步流程或 ts-expect-error 的场景。
LobeHub TypeScript 样式与类型安全指南。适用于编辑 TS/TSX/MTS、修复类型、选择 interface 或 type、避免 any/object、导入类型、异步流程或 ts-expect-error 的场景。
lobehub/typescript 是一个为开发者提供的 TypeScript 样式与类型安全指南技能,旨在帮助用户在编辑 TypeScript 文件时遵循最佳实践。它涵盖了类型修复、interface 与 type 的选择、避免使用 any 和 object、正确使用 import type、管理异步流程以及合理使用 ts-expect-error 等关键场景。该技能支持 TypeScript、TSX、MTS 等文件类型,适用于 Claude Code、Codex 等 AI 编码助手平台。通过提供清晰的规则和示例,它帮助开发者编写更健壮、更可维护的 TypeScript 代码。使用时,AI 代理会根据当前代码上下文和用户请求,自动应用指南中的规则来修正类型错误或改进代码质量。
npx skills add https://github.com/lobehub/lobe-chat/tree/main/skills/typescriptInstalled? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
LobeHub TypeScript 样式与类型安全指南。适用于编辑 TS/TSX/MTS、修复类型、选择 interface 或 type、避免 any/object、导入类型、异步流程或 ts-expect-error 的场景。
This repo contains 4 individual skills — each has its own dedicated page.
LobeHub Drizzle ORM schema and query style. Use for pgTable schemas, indexes, joins, inferred types, db.select/db.query, schema fields, foreign keys, junction tables, or postgres query patterns.
LobeHub i18n with react-i18next. Use for user-facing strings, locale keys, namespaces, useTranslation, t(), interpolation, zh-CN/en-US previews, hardcoded UI copy, or pnpm i18n.
LobeHub React component conventions. Use when editing TSX UI, choosing base-ui vs @lobehub/ui vs antd, styling with antd-style, routing, desktop variants, layouts, or component state.
LobeHub Zustand store conventions. Use when editing src/store, store slices, public/internal actions, dispatch actions, flattenActions, optimistic updates, selectors, maps, or class action migration.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.