·using-typescript-lsp
</>

using-typescript-lsp

mhagrelius/dotfiles

在使用 TypeScript 或 JavaScript 代码并且启用了 typescript-lsp 插件时使用 - 用于查找引用、检查类型、导航定义或验证类型正确性

28安装·0热度·@mhagrelius

安装

$npx skills add https://github.com/mhagrelius/dotfiles --skill using-typescript-lsp

SKILL.md

The typescript-lsp plugin provides semantic code intelligence for TypeScript and JavaScript. Use LSP tools instead of grep/read when you need semantic accuracy - LSP understands TypeScript's type system, inheritance, interfaces, and symbol relationships.

| Find all callers of a function | findReferences | Grep for function name | | Get function/variable type | hover | Read file + parse | | Jump to definition | goToDefinition | Grep + Read | | Check type errors | getDiagnostics | Run tsc CLI | | View file structure | documentSymbol | Read entire file |

| Grep for symbol before rename | Text search misses aliased imports, re-exports | Use findReferences | | Read entire file for one type | Wastes context, slow | Use hover | | Run tsc after every change | Slow, external tool | Use getDiagnostics | | Grep to find definition | May find wrong match (same name, different module) | Use goToDefinition |

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/mhagrelius/dotfiles --skill using-typescript-lsp
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 using-typescript-lsp?

在使用 TypeScript 或 JavaScript 代码并且启用了 typescript-lsp 插件时使用 - 用于查找引用、检查类型、导航定义或验证类型正确性 来源:mhagrelius/dotfiles。

如何安装 using-typescript-lsp?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/mhagrelius/dotfiles --skill using-typescript-lsp 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/mhagrelius/dotfiles