From development-skills
Analyze a TypeScript file structure, exports, and symbols
How this command is triggered — by the user, by Claude, or both
Slash command
/development-skills:lsp-analyzecommands/This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# LSP Analyze Batch analysis of a TypeScript/JavaScript file. Get an overview of exports, symbols, and optionally type info at specific positions. **Arguments:** $ARGUMENTS ## Usage Options: - `--symbols` or `-s`: List all symbols - `--exports` or `-e`: List only exported symbols (default if no options) - `--hover <line:char>`: Get type info at position (repeatable) - `--refs <line:char>`: Find references at position (repeatable) - `--all`: Run symbols + exports analysis ## Instructions ### Step 1: Parse Arguments Extract file path and options from `$ARGUMENTS`. If file is missing...
Batch analysis of a TypeScript/JavaScript file. Get an overview of exports, symbols, and optionally type info at specific positions.
Arguments: $ARGUMENTS
/lsp-analyze <file> [options]
Options:
--symbols or -s: List all symbols--exports or -e: List only exported symbols (default if no options)--hover <line:char>: Get type info at position (repeatable)--refs <line:char>: Find references at position (repeatable)--all: Run symbols + exports analysisExtract file path and options from $ARGUMENTS.
If file is missing, show usage:
Usage: /lsp-analyze <file> [options]
Examples:
/lsp-analyze src/utils/parser.ts --exports
/lsp-analyze src/lib/config.ts --all
/lsp-analyze src/index.ts --hover 50:10 --refs 60:5
Default to --exports if no options provided.
Find the typescript-lsp skill directory. Use Glob to locate it:
**/typescript-lsp/SKILL.md
The skill directory is the parent of SKILL.md.
From the skill directory, run:
bun <skill-dir>/scripts/lsp-analyze.ts <file> [options]
Parse the JSON output and present in a structured format:
File: <file>
Exports:
| Name | Kind | Line |
|---|---|---|
| ... | ... | ... |
Symbols: (if requested)
| Name | Kind | Line |
|---|---|---|
| ... | ... | ... |
For hover/refs results, format as described in the individual commands.
npx claudepluginhub plaited/development-skills --plugin development-skills/reviewPerforms systematic 9-phase code review using LSP tools on a file or directory path, delivering phased findings and final actionable report.
/lsp-installInstalls LSP servers for your project based on development type selection (web, backend, mobile, system) or auto-detection of files like tsconfig.json or go.mod, then enables LSP tool via environment variable in Claude Code settings.
/check-fileAnalyzes specified file for code quality issues, security vulnerabilities, performance bottlenecks, and optimization opportunities.