typescript-tooling
FreeNo executable scriptsNot checkedDevelopment tools, linting, and build config for TypeScript. Use when configuring ESLint, Prettier, Jest, Vitest, tsconfig, or any TS build tooling.
by HoangNguyen0403★ 598 GitHub starsAbout this skill
TypeScript Tooling
Priority: P1 (HIGH)
Implementation Guidelines
- Compiler: Use
tscfor CI builds;esbuildorts-nodefor development. - Linting: Enforce
ESLintwith@typescript-eslint/recommended. Enable strict type checking. - Formatting: Mandate
Prettiervialint-stagedand.prettierrc. - Testing: Use
Vitest(orJest) for unit/integration testing. Target > 80% line coverage. - Builds: Use
tsup(library bundling) orVite(web applications). - TypeScript Config: Aim for
strict: truelong-term. For existing projects, migrate incrementally: start withstrictNullChecks, thennoImplicitAny,strictFunctionTypes. Do NOT flipstrict: truein one step. - CI/CD: Always run
tsc --noEmitin build pipeline to catch type errors. - Error Suppression: Favor
@ts-expect-errorover@ts-ignorefor documented edge-cases.
ESLint Configuration
Enable @typescript-eslint/recommended at minimum. When strict: false in tsconfig, no-unsafe-* rules may produce excessive noise — suppress selectively with @ts-expect-error rather than disabling globally.
See reference for common linting issues (request typing, unused params, test mock typing) and tsconfig migration examples.
Verification Workflow (Mandatory)
After editing any .ts / .tsx file:
- Prefer a TypeScript LSP
getDiagnosticstool when the host provides one — real-time type errors. - Run
tsc --noEmitin CI — catches project-wide errors the editor may miss. - Run
eslint --fix— auto-fix formatting and lint violations.
Without typescript-lsp MCP:
tsc --noEmitis the check; do not block on an unavailable tool.
Use getHover/getReferences only when an LSP tool is actually configured.
Compiler Compatibility
- Pin
typescriptin the lockfile; checktsc --versionbefore adopting newer syntax. - TS 7 defaults differ (
stricttrue,moduleesnext,types[],rootDir./) and it ships no compiler API. A peer needing the API (typescript-eslint, plugins, custom transformers) must stay on TS 6, e.g. via the@typescript/typescript6alias — do not force the upgrade.
Anti-Patterns
- No
@ts-ignore: Use@ts-expect-error— self-documents intent, fails if error disappears. - No
anyfor request objects: Import centralized interfaces fromsrc/common/interfaces/. - No
eslint-disable(global): Suppress per-line; fix root cause instead. - No atomic
strict: trueflip on existing repos: migrate incrementally starting withstrictNullChecks.
References
Install typescript-tooling in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the typescript-tooling skill do?
Development tools, linting, and build config for TypeScript. Use when configuring ESLint, Prettier, Jest, Vitest, tsconfig, or any TS build tooling.
How do I install the typescript-tooling skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the typescript-tooling skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic