From tsgo-lsp
This skill should be used when working on TypeScript or JavaScript projects that have the tsgo LSP server available. It covers type checking, code navigation, refactoring, diagnostics, and code analysis via the native tsgo language server. Use when the user asks to "check types", "find type errors", "refactor TypeScript", "rename symbol", "find references", "go to definition", "format code", "fix TypeScript errors", "get diagnostics", "show code actions", "understand this TypeScript code", or when investigating type-related bugs, performing code navigation, or doing safe refactoring across a TypeScript codebase. Also use when the user mentions "tsgo", "typescript-go", "TypeScript 7", or "tsgo LSP".
npx claudepluginhub rcamf/claude-plugins --plugin tsgo-lspThis skill uses the workspace's default tool permissions.
The tsgo language server runs natively via Claude Code's `lspServers` integration,
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
The tsgo language server runs natively via Claude Code's lspServers integration,
providing real-time TypeScript analysis through the Language Server Protocol. The
server launches automatically when working with .ts, .tsx, .js, or .jsx files.
The tsgo LSP provides these capabilities through Claude Code's native LSP integration:
Follow the Understand → Investigate → Act pattern:
When investigating type errors:
When renaming or restructuring:
When first encountering a TypeScript project:
For full project type checking, run tsgo directly:
tsgo --project tsconfig.json
This performs a complete type check and reports all errors. Useful for CI-style validation or checking the entire project at once.
/check-types [file] — Run type checking on a file or the whole project/project-overview — Get a summary of project structure and types/find-symbol <name> — Search for a symbol and show its detailstsgo binary available in PATH (install via npm install -g @typescript/native-preview or build from microsoft/typescript-go)tsconfig.json in the project rootIf the LSP server fails to start:
tsgo is in PATH: which tsgotsconfig.json exists in the project.ts, .tsx, .js, .jsx)