typescript-quality-gates
/typescript-quality-gates
Sprawdza jakość builda biblioteki TypeScript: reguły tsconfig, pliki deklaracji, lintowanie, integralność paczki i bramki CI.
- Autor
- samplexbro ↗
- Repozytorium
- agentsmesh ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 24.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 24.09.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Sprawdza jakość builda biblioteki TypeScript: reguły tsconfig, pliki deklaracji, lintowanie, integralność paczki i bramki CI.
Oryginalny opis (EN)
Use when validating build quality, tsconfig rules, declaration output, linting, package integrity, or CI gates for a TypeScript library.
Jak działa
- Purpose
- Goals
- Required baseline checks
- tsconfig expectations
- Declaration quality rules
- Packaging integrity rules
- Anti-patterns to flag
- CI recommendations
- Output format
Podgląd SKILL.md
--- name: typescript-quality-gates description: Use when validating build quality, tsconfig rules, declaration output, linting, package integrity, or CI gates for a TypeScript library. --- ## 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: 1. Typecheck - `tsc --noEmit` or equivalent project validation - zero unresolved type errors 2. Build - production build succeeds - declaration files emit correctly - output structure matches `package.json` exports 3. Lint - enforce correctness-focused linting - avoid excessive stylistic churn unless the repo explicitly wants it 4. Tests - unit/integration/type tests pass 5. Package verification - inspect the packed artifact using `npm pack --dry-run` or equivalent - confirm only intended files ship - verify README, LICENSE, declaration files, and dist outputs are present ## tsconfig expectations Prefer strict settings for libraries. Recommended expectations: - `strict: true` - `noImplicitOverride: true` where applicable - `noUncheckedIndexedAccess: true` when practical - `exactOptionalPropertyTypes: true` when the API benefits from tighter semantics - `declaration: true` - `declarationMap: true` when useful for debugging - `sourceMap: true` for distributed debugging if desired - `skipLibCheck` may 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: - `exports` map matches real files - `types` path exists and is correct - `bin` targets exist and are executable when applicable - `files` whitelist is accurate - `sideEffects` is correct - `engines` reflects 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 `any` in public API without explicit justification - unstable inferred return types in exported functions ## CI recommendations For PR validation, prefer a pipeline like: 1. install 2. lint 3. typecheck 4. test 5. build 6. 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: 1. Failed gates 2. Risk level 3. Exact fixes 4. Suggested CI commands Favor hard release confidence over superficial cleanliness.
Wersje
W bazie nie ma innych skilli o nazwie typescript-quality-gates.
Identyczna treść występuje jeszcze w 2 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 13.11.2026 · wersja paczki 67ce48a5eec1 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 2 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100project-system
Pomaga konfigurować projekty TypeScript: tsconfig.json, narzędzia budowania, bundlery, opcje kompilatora, systemy modułów, project references i pliki deklaracji. - 100typescript
Pomaga w złożonych typach TypeScript: ograniczenia generyków, typy warunkowe i mapowane, łączenie deklaracji, optymalizacja tsconfig i refaktoryzacja JavaScript do TypeScript. - 100static-code-analysis-typescript
Tworzy, przegląda i unowocześnia konfiguracje analizy statycznej dla repozytoriów Node.js i TypeScript: ESLint flat config, typescript-eslint, tsconfig, Prettier, Husky, lint-staged i bramki jakości w CI. - 100typescript-tooling
Konfiguruje narzędzia deweloperskie TypeScript: ESLint, Prettier, Jest, Vitest, tsconfig i budowanie projektu. - 100typescript
Konfiguruje i naprawia projekty TypeScript: dobiera ustawienia tsconfig.json, uruchamia sprawdzanie typów w CI, zastępuje any i niebezpieczne rzutowania oraz pomaga migrować z JavaScript. - 100typescript-best-practices
Wspiera czytanie i pisanie plików TypeScript i JavaScript (.ts, .tsx, .js, tsconfig.json) według dobrych praktyk.