typescript-tooling
БесплатноБез исполняемых скриптовНе проверенDevelopment tools, linting, and build config for TypeScript. Use when configuring ESLint, Prettier, Jest, Vitest, tsconfig, or any TS build tooling.
от HoangNguyen0403★ 598 звёзд на GitHubОб этом скилле
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
Установить typescript-tooling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл typescript-tooling?
Development tools, linting, and build config for TypeScript. Use when configuring ESLint, Prettier, Jest, Vitest, tsconfig, or any TS build tooling.
Как установить скилл typescript-tooling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл typescript-tooling запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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…
от 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…
от 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…
от 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…
от Anthropic