typescript-lsp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited typescript-lsp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
This skill provides TypeScript Language Server Protocol integration for exploring and understanding TypeScript/JavaScript codebases.
IMPORTANT: Prefer LSP tools over Grep/Glob when working with *.ts, *.tsx, *.js, *.jsx files. LSP provides type-aware results that understand imports, exports, and symbol relationships.
Use these tools to:
| Tool | Purpose |
|---|---|
| Glob | Find files by pattern |
| Grep | Search text content |
| lsp-find | Search TypeScript symbols |
| lsp-hover | Get type info + TSDoc documentation |
| lsp-refs | Find all references to a symbol |
| lsp-analyze | Batch analysis of file structure |
| Task | Use LSP | Use Grep/Glob |
|---|---|---|
| Find all usages of a function/type | ✅ lsp-refs | ❌ Misses re-exports, aliases |
| Search for a symbol by name | ✅ lsp-find | ❌ Matches strings, comments |
| Get type signature + TSDoc | ✅ lsp-hover | ❌ Not possible |
| Understand file exports | ✅ lsp-analyze --exports | ❌ Doesn't resolve re-exports |
| Find files by pattern | ❌ | ✅ Glob |
| Search non-TS files (md, json) | ❌ | ✅ Grep |
| Search for text in comments/strings | ❌ | ✅ Grep |
Exploring code (prefer LSP):
lsp-find to search for symbols across the workspacelsp-symbols to get an overview of file structurelsp-analyze --exports to see what a module providesBefore editing code:
lsp-references to find all usages of a symbol you plan to modifylsp-hover to verify current type signaturesBefore writing code:
lsp-find to search for similar patterns or related symbolslsp-hover on APIs you plan to useAll scripts accept three types of file paths:
/Users/name/project/src/file.ts./src/file.ts or ../other/file.tsmy-package/src/module.ts (resolved via Bun.resolve())Package export paths are recommended for portability and consistency with the package's exports field.
#### lsp-hover Get type information at a specific position.
bunx @plaited/development-skills lsp-hover <file> <line> <char>Arguments:
file: Path to TypeScript/JavaScript fileline: Line number (0-indexed)char: Character position (0-indexed)Example:
bunx @plaited/development-skills lsp-hover src/utils/parser.ts 42 10#### lsp-symbols List all symbols in a file.
bunx @plaited/development-skills lsp-symbols <file>Example:
bunx @plaited/development-skills lsp-symbols src/utils/parser.ts#### lsp-references Find all references to a symbol.
bunx @plaited/development-skills lsp-refs <file> <line> <char>Example:
bunx @plaited/development-skills lsp-refs src/utils/parser.ts 42 10#### lsp-find Search for symbols across the workspace.
bunx @plaited/development-skills lsp-find <query> [context-file]Arguments:
query: Symbol name or partial namecontext-file: Optional file to open for project contextExample:
bunx @plaited/development-skills lsp-find parseConfig
bunx @plaited/development-skills lsp-find validateInput src/lib/validator.ts#### lsp-analyze Perform multiple analyses in a single session for efficiency.
bunx @plaited/development-skills lsp-analyze <file> [options]Options:
--symbols, -s: List all symbols--exports, -e: List only exported symbols--hover <line:char>: Get type info (repeatable)--refs <line:char>: Find references (repeatable)--all: Run symbols + exports analysisExamples:
# Get file overview
bunx @plaited/development-skills lsp-analyze src/utils/parser.ts --all
# Check multiple positions
bunx @plaited/development-skills lsp-analyze src/utils/parser.ts --hover 50:10 --hover 75:5
# Before refactoring: find all references
bunx @plaited/development-skills lsp-analyze src/utils/parser.ts --refs 42:10# 1. Get exports overview
bunx @plaited/development-skills lsp-analyze path/to/file.ts --exports
# 2. For specific type info, hover on interesting symbols
bunx @plaited/development-skills lsp-hover path/to/file.ts <line> <char># 1. Find all references first
bunx @plaited/development-skills lsp-refs path/to/file.ts <line> <char>
# 2. Check what depends on it
# Review the output to understand impact# Search for similar implementations
bunx @plaited/development-skills lsp-find handleRequest
bunx @plaited/development-skills lsp-find parseConfig# Before writing code that uses an API, verify its signature
bunx @plaited/development-skills lsp-hover path/to/api.ts <line> <char>All scripts output JSON to stdout. Errors go to stderr.
Hover output:
{
"contents": {
"kind": "markdown",
"value": "```typescript\nconst parseConfig: (options: Options) => Config\n```"
},
"range": { "start": {...}, "end": {...} }
}Symbols output:
[
{
"name": "symbolName",
"kind": 13,
"range": { "start": {...}, "end": {...} }
}
]Analyze output:
{
"file": "path/to/file.ts",
"exports": [
{ "name": "exportName", "kind": "Constant", "line": 139 }
]
}Each script invocation:
For multiple queries on the same file, use lsp-analyze to batch operations in a single session.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.