TopRank Skills

Home / Claw Skills / Git / GitHub / typescript-lsp
Official OpenClaw rules 54%

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.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 typescript-lsp 技能。 若已安装,则直接安装 typescript-lsp 技能。

Overview

Skill Key
bowen31337/typescript-lsp
Author
bowen31337
Source Repo
openclaw/skills
Version
-
Source Path
skills/bowen31337/typescript-lsp
Latest Commit SHA
aa73d23637ca4672e5fc761f9a191d8e6ade2747

Extracted Content

SKILL.md excerpt

# 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:

```bash
npm install -g typescript-language-server typescript
```

Or with yarn:
```bash
yarn global add typescript-language-server typescript
```

Verify installation:
```bash
typescript-language-server --version
tsc --version
```

## Usage

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

```bash
tsc --noEmit  # Type check without generating output files
```

Compile TypeScript files:

```bash
tsc src/index.ts
```

Watch mode for continuous type checking:

```bash
tsc --watch --noEmit
```

## Configuration

Create `tsconfig.json` in project root:

```json
{
  "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 co...

Related Claw Skills

heyixuan2

bambu-studio-ai

★ 41

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).

openstockdata

stock-data-skill

★ 4

OpenClaw Skill for stock data analysis

capt-marbles

geo-optimization

★ 1

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.

cecwxf

openai-codex-operator

★ 0

Run OpenAI Codex CLI from OpenClaw for coding tasks in a target project directory. Use when the user asks OpenClaw to use Codex for implementation, debugging, refactoring, review, or scripted coding workflows.

cclank

news-aggregator-skill

★ 0

Comprehensive news aggregator that fetches, filters, and deeply analyzes real-time content from 8 major sources: Hacker News, GitHub Trending, Product Hunt, 36Kr, Tencent News, WallStreetCN, V2EX, and Weibo. Best for 'daily scans', 'tech news briefings', 'finance updates', and 'deep interpretations' of hot topics.

cemoso

pr-review-loop

★ 0

Autonomous PR review loop with Greptile. Use when an agent creates a PR and needs to autonomously handle code review feedback — reading Greptile reviews, fixing issues, pushing fixes, re-triggering review, and auto-merging when score is 4/5+. Trigger on commands like "pr review {url}", "review my PR", or when a Greptile review webhook/poll delivers feedback.