Showing 28 verified skills. 284 preview entries are hidden until we confirm a real source. Show preview skills · Why?
Get real-time TypeScript diagnostics and refactoring inside your AI editor
claude install anthropics/claude-plugins-official/typescript-lspFull TypeScript LSP support enabling real-time diagnostics, hover info, go-to-definition, and refactoring tools.
This is the actual SKILL.md file that powers this skill. Copy it to install.
---
name: typescript-lsp
description: |
Always active when working in TypeScript projects. Runs tsc diagnostics
after edits to catch type errors early. Trigger: any .ts or .tsx file edit.
allowed-tools:
- Bash(npx tsc --noEmit *)
- Bash(npx tsc --noEmit --pretty *)
- Read
- Glob
---
# TypeScript LSP
Run TypeScript compiler diagnostics after edits to catch type errors before
they compound. Provides real-time feedback on type safety.
## Prerequisites
- `typescript` installed in the project (`npm install -D typescript`)
- `tsconfig.json` present in project root
## Steps
1. After any TypeScript file edit, run diagnostics:
```bash
npx tsc --noEmit --pretty 2>&1 | head -50
```
2. If errors are found:
- Read the erroring file at the reported line
- Fix the type error
- Re-run diagnostics to confirm the fix
3. Common fixes:
- Missing type annotations: add explicit types to function parameters
- Null checks: use optional chaining or nullish coalescing
- Import errors: verify the export exists in the source module
- Generic constraints: add `extends` clauses to type parameters
4. For project-wide checks, run:
```bash
npx tsc --noEmit 2>&1 | wc -l
```
Report the total error count and fix systematically.
mkdir -p ~/.claude/skills/typescript-lsp~/.claude/skills/typescript-lsp/SKILL.mdResulting file structure:
~/.claude/
skills/
typescript-lsp/
SKILL.md <-- skill definitionSkills are loaded automatically by Claude Code when you start a new session. The skill name and description in the frontmatter determine when Claude triggers it.
Recommended from shared domain, career, and tool overlap with TypeScript LSP
Query databases, inspect schemas, and explore data from your AI editor
Both used by Software Engineer
Inspect Redis keys, TTLs, and cache hit rates from your AI editor
Both used by Software Engineer
Query Sentry errors and analyze stack traces from your AI editor
Both used by Software Engineer
Manage Stripe payments and subscriptions from your AI assistant
Both used by Software Engineer
Manage Supabase databases, auth, and storage from your editor
Both used by Software Engineer
Control a browser from your AI editor - navigate, screenshot, interact
Both used by Software Engineer
TypeScript LSP