typescript-plugin
TypeScript plugin pairing strict type configuration with Bun runtime tooling, Biome linting, and Knip dead code detection.
- CCM score
- 59 of 100
- version
- 1.10.4
- GitHub stars
- 60
Own this plugin? Claim it
What it does
- Adds Bun skills for
bun install,bun add,bun test,bun build,bun debug, andbun publish, plusbiome-toolingfor formatting and linting - Covers strict
tsconfigpatterns, Sentry error and performance monitoring, andTemporalAPI usage in place ofDate - Provides debugging guidance for the Bun inspector, including
--inspect-brkfor breaking at the first line and memory profiling - Designed for TypeScript projects that run on Bun and want dead code detection through
knip-dead-code
TypeScript development - strict types, ESLint, Biome
Add marketplace
/plugin marketplace add laurigates/claude-pluginsRun it inside Claude Code once, then install the plugin below.
Install
/plugin install typescript-plugin@laurigates-claude-pluginsRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceBiome Tooling
Biome is a modern, performant toolchain for JavaScript, TypeScript, and related web languages. It combines formatting, linting, and import organization into a single tool that's 15-20x faster than ESLint/Prettier.
Keep ESLint alongside when the project needs plugin-only rules (React hooks, a11y), framework-specific rules (Next.js, Nuxt), or carries heavy custom ESLint configuration.
Hybrid approach: Use Biome for formatting, ESLint for specialized linting.
Core Expertise
What is Biome?
- All-in-one toolchain: Linter + formatter + import sorter
- Zero-config: Works out of the box with sensible defaults
- Fast: Written in Rust, processes files in parallel
- Compatible: Matches Prettier formatting 97%+
- Supports: JavaScript, TypeScript, JSX, TSX, JSON, CSS
Installation
# Project-local (recommended)
bun add --dev @biomejs/biome
# Verify installation
bunx biome --version
# Initialize configuration
bunx biome init
Essential Commands
# Format files
bunx biome format --write src/
# Lint with fixes
bunx biome lint --write src/
# Check everything (format + lint + organize imports)
bunx biome check --write src/
# Check without changes (CI mode)
bunx biome check src/
# CI mode (exits with error on issues)
bunx biome ci src/
# Migrate from ESLint/Prettier
bunx biome migrate eslint --write
bunx biome migrate prettier --write
# Explain a rule
bunx biome explain noUnusedVariables
Configuration (biome.json)
Minimal Setup (Zero Config)
Biome works without configuration. For basic customization:
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"ignore": ["dist", "build", "node_modules", ".next", "coverage"]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"organizeImports": {
"enabled": true
}
}
Rule Categories
| Category | Purpose | Example Rules |
|---|---|---|
recommended | Essential rules everyone should enable | Most rules marked "recommended" |
correctness | Prevent bugs and logic errors | noUnusedVariables, noUnreachable |
suspicious | Detect code that might be wrong | noExplicitAny, noDoubleEquals |
style | Enforce consistent style | useConst, noVar |
complexity | Reduce code complexity | noForEach, useFlatMap |
performance | Optimize performance | noAccumulatingSpread |
a11y | Accessibility best practices | noSvgWithoutTitle, useAltText |
security | Security vulnerabilities | noDangerouslySetInnerHtml |
Common Patterns
Ignore Files and Directories
Via biome.json:
{
"files": {
"ignore": [
"dist",
"build",
"node_modules",
"**/*.config.js",
"scripts/legacy/**"
]
}
}
Via .gitignore (automatic):
{
"vcs": {
"enabled": true,
"useIgnoreFile": true
}
}
Scope a run to changed files
Both scopes need VCS integration ("vcs": { "enabled": true, "clientKind": "git" }).
| Scope | Command | Notes |
|---|---|---|
| Staged files only (pre-commit) | bunx biome check --staged --reporter=github | Not available on biome ci |
| Committed changes vs a base | bunx biome check --changed --since=main --reporter=github | --since overrides vcs.defaultBranch; without it, set defaultBranch |
--changed compares committed changes only (staged and unstaged edits are
excluded), and it does not follow imports: a changed exported type can break a
file that is not in the diff. Run a full biome check before merging when
exports change.
For an agent reading the output, combine a scope with --reporter=github
(one file:line:col line per diagnostic), --diagnostic-level=error, and
--max-diagnostics=N.
Performance Comparison
| Tool | Time (1000 files) | Notes |
|---|---|---|
| Biome | 0.5s | Rust, parallel processing |
| ESLint | 8-10s | Node.js, single-threaded |
| Prettier | 3-5s | Node.js, formatting only |
| ESLint + Prettier | 11-15s | Sequential execution |
Agentic Optimizations
| Context | Command |
|---|---|
| Quick check | bunx biome check src/ |
| Fix all | bunx biome check --write src/ |
| Format only | bunx biome format --write src/ |
| Lint only | bunx biome lint --write src/ |
| CI mode | bunx biome ci src/ |
| Errors only | bunx biome check --diagnostic-level=error src/ |
| Limited output | bunx biome check --max-diagnostics=10 src/ |
| GitHub reporter | bunx biome check --reporter=github src/ |
| Staged files only | bunx biome check --staged --reporter=github |
| Changed vs main | bunx biome check --changed --since=main --reporter=github |
| JSON output | bunx biome check --reporter=json src/ |
| Migrate ESLint | bunx biome migrate eslint --write |
| Migrate Prettier | bunx biome migrate prettier --write |
Quick Reference
| Flag | Description |
|---|---|
--write | Apply fixes/formatting |
--reporter=github | GitHub annotations format |
--reporter=json | JSON output |
--diagnostic-level=error | Errors only |
--max-diagnostics=N | Limit output count |
--verbose | Show detailed diagnostics |
--no-errors-on-unmatched | Ignore unmatched files |
ci | CI mode (check + exit code) |
For detailed examples, advanced patterns, and best practices, see REFERENCE.md.
References
- Official docs: https://biomejs.dev
- Configuration: https://biomejs.dev/reference/configuration/
- Rules: https://biomejs.dev/linter/
- Migration guide: https://biomejs.dev/guides/migrate-eslint-prettier/
- Editor integration: https://biomejs.dev/
Readme
TypeScript Plugin
TypeScript development for Claude Code - strict types, ESLint, Biome, Bun runtime, and dead code detection.
Overview
TypeScript development support with modern tooling: strict type configuration, ESLint/Biome for linting, Bun for fast runtime/testing/bundling, and Knip for dead code detection.
Skills
| Skill | Description |
|---|---|
typescript-strict | Strict TypeScript configuration and patterns |
typescript-debugging | Debugging with Bun inspector, VSCode, memory profiling |
typescript-sentry | Error monitoring and performance tracking with Sentry |
typescript-temporal | Dates and times with the Temporal API instead of Date |
biome-tooling | Biome linter and formatter |
bun-package-manager | Fast package management with Bun |
bun-development | Bun runtime, testing, and bundling |
bun-publishing | Publish packages to npm with Bun build |
knip-dead-code | Detect dead code in TypeScript/JavaScript projects |
Agents
| Agent | Description |
|---|---|
typescript-development | TypeScript-specific development tasks |
javascript-development | JavaScript/Node.js development tasks |
Usage Examples
Strict TypeScript Config
{
"compilerOptions": {
"strict": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true
}
}
Biome Setup
biome init
biome check .
biome format . --write
Bun Commands
/bun:install # Install dependencies
/bun:add lodash # Add package
/bun:test # Run tests with compact output
/bun:build ./src/index.ts # Bundle for production
/bun:debug script.ts # Debug with inspector
/bun:debug --brk app.ts # Break at first line
/bun:outdated # Check for updates
/bun:publish # Publish to npm
/bun:publish --dry-run # Preview publish
Debugging
# Debug with web inspector
bun --inspect script.ts
# Break at first line
bun --inspect-brk script.ts
# Debug tests
bun --inspect-brk test
# Memory profiling
bun -e "import{heapStats}from'bun:jsc';console.log(heapStats())"
# Network request debugging
BUN_CONFIG_VERBOSE_FETCH=curl bun script.ts
Sentry Error Monitoring
import * as Sentry from "@sentry/bun";
// Initialize (in instrument.ts)
Sentry.init({
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 0.1,
});
// Capture errors
Sentry.captureException(error, {
tags: { feature: "checkout" },
});
// Performance spans
await Sentry.startSpan({ op: "db.query", name: "Fetch users" }, async () => {
return db.query("SELECT * FROM users");
});
// Cron monitoring
Sentry.withMonitor("daily-cleanup", () => cleanupOldRecords());
Dead Code Detection
knip
Companion Plugins
Works well with:
- testing-plugin - For vitest patterns
- code-quality-plugin - For code review
Installation
/plugin install typescript-plugin@laurigates-claude-plugins
License
MIT
Details
- Marketplace
- laurigates/claude-plugins
- Source
- typescript-plugin
- Author
- Lauri Gates
- Category
- Language
- License
- MIT
- Keywords
- typescript, eslint, biome, types
- Listed since
- Apr 7, 2026
Questions
What does the typescript-plugin add to Claude Code?
It adds skills for strict TypeScript configuration, Biome linting and formatting, Bun runtime, testing and bundling, Knip dead code detection, Sentry error monitoring and the Temporal API. It also provides typescript-development and javascript-development agents, plus Bun slash commands such as /bun:test and /bun:build.
How do I install the typescript-plugin?
Run /plugin marketplace add laurigates/claude-plugins inside Claude Code, then run /plugin install typescript-plugin@laurigates-claude-plugins. This installs the TypeScript skills, agents and Bun commands into your session.
Where does typescript-plugin rank in the Developer Tools category?
typescript-plugin is listed in the Developer Tools category on Claude Marketplaces, alongside n8n, understand-anything, ruflo-cost-tracker, ruflo-iot-cognitum and ruflo-metaharness. It focuses on TypeScript work with strict types, ESLint, Biome and Bun.
Can typescript-plugin help me debug TypeScript code with Bun?
Yes, its typescript-debugging skill and Bun commands cover this. The README shows /bun:debug for running with the inspector, and bun --inspect-brk to break at the first line or to debug tests.
More from laurigates/claude-plugins
All 52- video-pluginv2.0.2
- workflow-orchestration-pluginv1.20.2
- youtube-pluginv1.1.1
- accessibility-pluginv2.3.6
- agent-patterns-pluginv2.59.1
- agents-pluginv1.16.3
- api-pluginv2.0.1
- bevy-pluginv1.4.2
- bios-pluginv1.2.0
- blog-pluginv1.3.4
- blueprint-pluginv3.52.2
- cloud-pluginv1.1.1
- code-quality-pluginv1.30.4
- codebase-attributes-pluginv1.3.4
- comfyui-pluginv1.15.10
- communication-pluginv1.2.7
- component-patterns-pluginv1.5.4
- configure-pluginv1.45.0
- container-pluginv2.12.0
- css-pluginv1.2.4
- documentation-pluginv1.16.2
- evaluate-pluginv1.22.1
- feedback-pluginv1.18.0
- finops-pluginv1.4.7
Similar to typescript-plugin
More Developer Toolstypescriptvinnie357/claude-skills30 starsTypeScript development skills: language and type system, Vitest/Jest/Playwright testing, ESLint/typescript-eslint/Biome linting, and the Node.js runtime
eslintTheBushidoCollective/han201 starsComprehensive ESLint skills for JavaScript and TypeScript linting with configuration, rules, and custom plugin development.
eslint-plugineli0shin/cli-lsp-client58 starsAutomatically runs ESLint checks on JavaScript/TypeScript files after edits
prettierTheBushidoCollective/han201 starsComprehensive Prettier skills for code formatting with configuration, editor integration, and custom plugin development.
typescript-lspanthropics/claude-plugins-official48.1K starsTypeScript/JavaScript language server for enhanced code intelligence