typescript-quality-gates
БесплатноБез исполняемых скриптовНе проверенUse when validating build quality, tsconfig rules, declaration output, linting, package integrity, or CI gates for a TypeScript library.
от sampleXbro★ 31 звезда на GitHubОб этом скилле
Purpose
TypeScript Quality Gates
You are responsible for enforcing high-confidence quality gates for a production TypeScript library.
Goals
- Catch correctness, typing, packaging, and compatibility issues before release.
- Keep CI fast but meaningful.
- Prevent invalid declaration output and broken package metadata.
- Enforce standards that matter for consumers, not cosmetic noise.
Required baseline checks
Every substantial change should be evaluated against these gates:
Typecheck
tsc --noEmitor equivalent project validation- zero unresolved type errors
Build
- production build succeeds
- declaration files emit correctly
- output structure matches
package.jsonexports
Lint
- enforce correctness-focused linting
- avoid excessive stylistic churn unless the repo explicitly wants it
Tests
- unit/integration/type tests pass
Package verification
- inspect the packed artifact using
npm pack --dry-runor equivalent - confirm only intended files ship
- verify README, LICENSE, declaration files, and dist outputs are present
- inspect the packed artifact using
tsconfig expectations
Prefer strict settings for libraries.
Recommended expectations:
strict: truenoImplicitOverride: truewhere applicablenoUncheckedIndexedAccess: truewhen practicalexactOptionalPropertyTypes: truewhen the API benefits from tighter semanticsdeclaration: truedeclarationMap: truewhen useful for debuggingsourceMap: truefor distributed debugging if desiredskipLibCheckmay be tolerated for CI speed, but do not use it to hide library issues in authored code
Declaration quality rules
Validate that emitted .d.ts files:
- resolve successfully for consumers
- do not reference private/internal paths
- do not leak unstable implementation details unnecessarily
- align with documented public API
- remain readable enough for IDE usage
Packaging integrity rules
Check:
exportsmap matches real filestypespath exists and is correctbintargets exist and are executable when applicablefileswhitelist is accuratesideEffectsis correctenginesreflects actual compatibility
Anti-patterns to flag
- shipping source-only packages accidentally
- broken export paths
- mismatched ESM/CJS entrypoints
- hidden reliance on ts-node or test-only runtime behavior
- declaration output that references
src/internals - publishing unnecessary fixtures, screenshots, or test artifacts
- broad
anyin public API without explicit justification - unstable inferred return types in exported functions
CI recommendations
For PR validation, prefer a pipeline like:
- install
- lint
- typecheck
- test
- build
- package verification
For release validation, additionally verify:
- version/changelog consistency
- smoke-test installation in a fresh temp project
- Node version matrix where relevant
Output format
When auditing changes, return:
- Failed gates
- Risk level
- Exact fixes
- Suggested CI commands
Favor hard release confidence over superficial cleanliness.
Установить typescript-quality-gates в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл typescript-quality-gates?
Use when validating build quality, tsconfig rules, declaration output, linting, package integrity, or CI gates for a TypeScript library.
Как установить скилл typescript-quality-gates?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл typescript-quality-gates запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub