TypeScript LSP

TypeScript language server providing type checking, code intelligence, and LSP diagnostics for .ts, .tsx, .js, .jsx, .mts, .cts, .mjs, .cjs files. Use when working with TypeScript or JavaScript code that needs type checking, autocomplete, error detection, refactoring support, or code navigation.

MIT-0 · Free to use, modify, and redistribute. No attribution required.
0 · 1k · 8 current installs · 8 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description describe a TypeScript LSP and the SKILL.md only instructs installing and using typescript-language-server and tsc, which directly match the stated capabilities (type checking, diagnostics, refactoring, etc.).
Instruction Scope
Instructions are scoped to installing the language server (npm/yarn) and running the TypeScript compiler (tsc). They do not instruct reading unrelated files, exfiltrating data, or accessing environment variables or unrelated system configuration.
Install Mechanism
This is an instruction-only skill (no automated install spec). It tells users to run `npm install -g` or `yarn global add`, which is a common, expected install path for a CLI language server but does require network access and may modify global npm state or require elevated privileges. The referenced packages are known (npm + GitHub links included).
Credentials
No environment variables, credentials, or config paths are requested. The required surface is minimal and appropriate for the described purpose.
Persistence & Privilege
Skill is not forced-always, does not require persistent system changes beyond user-run global npm installs, and does not request elevated platform privileges or modify other skills' configs.
Assessment
This skill is coherent for TypeScript/Javascript LSP usage. Before installing: prefer adding typescript and typescript-language-server as devDependencies (local project) instead of global installs to avoid changing global npm state; review the packages' npm/GitHub pages and pinned versions; be aware global `npm install -g` may require sudo on some systems and will download code from the public registry; avoid running unfamiliar postinstall scripts and keep dependencies up to date.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk97dz4jcczkwhwmwy3s0mrfntn80vfby

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

SKILL.md

TypeScript LSP

TypeScript/JavaScript language server integration providing comprehensive code intelligence through typescript-language-server.

Capabilities

  • Type checking: Static analysis of TypeScript and JavaScript types
  • Code intelligence: Autocomplete, go-to-definition, find references, rename symbols
  • Error detection: Real-time diagnostics for type errors, syntax issues, and semantic problems
  • Refactoring: Extract function/variable, organize imports, quick fixes
  • Supported extensions: .ts, .tsx, .js, .jsx, .mts, .cts, .mjs, .cjs

Installation

Install TypeScript language server and TypeScript compiler:

npm install -g typescript-language-server typescript

Or with yarn:

yarn global add typescript-language-server typescript

Verify installation:

typescript-language-server --version
tsc --version

Usage

The language server runs automatically in LSP-compatible editors. For manual type checking:

tsc --noEmit  # Type check without generating output files

Compile TypeScript files:

tsc src/index.ts

Watch mode for continuous type checking:

tsc --watch --noEmit

Configuration

Create tsconfig.json in project root:

{
  "compilerOptions": {
    "target": "ES2020",
    "module": "ESNext",
    "strict": true,
    "esModuleInterop": true,
    "skipLibCheck": true,
    "forceConsistentCasingInFileNames": true,
    "resolveJsonModule": true,
    "moduleResolution": "node"
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules", "dist"]
}

Integration Pattern

When editing TypeScript/JavaScript code:

  1. Run tsc --noEmit after significant changes
  2. Address type errors before committing
  3. Use tsc --watch during active development
  4. Leverage quick fixes for common issues

Common Flags

  • --noEmit: Type check only, no output files
  • --strict: Enable all strict type checking options
  • --watch: Watch mode for continuous compilation
  • --project <path>: Specify tsconfig.json location
  • --pretty: Stylize errors and messages

More Information

Files

1 total
Select a file
Select a file to preview.

Comments

Loading comments…