typescript
/typescript
Implementuje, debuguje i przegląda kod TypeScript oraz granice typów: generyczne API, opcje kompilatora, walidację w czasie działania i interoperacyjność z JS.
- Autor
- helx0071 ↗
- Repozytorium
- skillsmo ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 12.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 12.11.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
Implementuje, debuguje i przegląda kod TypeScript oraz granice typów: generyczne API, opcje kompilatora, walidację w czasie działania i interoperacyjność z JS.
Oryginalny opis (EN)
Implement, debug, or review TypeScript code and type boundaries. Use when changing types, generic APIs, compiler options, runtime validation, module behavior, or JavaScript interoperability.
Jak działa
- Goal
- Workflow
- Decision rules
- Boundaries
- Completion standard
- Further reading
Podgląd SKILL.md
--- name: typescript description: "Implement, debug, or review TypeScript code and type boundaries. Use when changing types, generic APIs, compiler options, runtime validation, module behavior, or JavaScript interoperability." --- # TypeScript implementation and review ## Goal Use types to clarify valid program states while retaining runtime checks for untrusted data. ## Workflow 1. Inspect TypeScript version, `tsconfig`, module resolution, lint rules, build target, and project type conventions. 2. Trace the data and API boundary; identify which values are trustworthy at compile time and which arrive at runtime. 3. Model domain states with narrow, composable types; add runtime parsing or validation at external boundaries. 4. Resolve compiler errors at the source rather than suppressing them; avoid broad assertions and `any` where safer types are possible. 5. Run the targeted typecheck and relevant tests/build; document version or interoperability assumptions. ## Decision rules - Use discriminated unions for materially different states and exhaustive checks where they prevent missed cases. - Prefer `unknown` plus narrowing for untrusted inputs. - Use a type assertion only when a runtime invariant is established and documented. ## Boundaries - Do not treat compile-time types as validation of network, disk, environment, or user input. - Do not disable strict checks globally to bypass one error. ## Completion standard Return the requested artifact or findings with enough evidence for a reviewer to understand what changed, what was checked, and what remains uncertain. Distinguish observed facts, inferred risks, and unverified assumptions. Keep the scope tied to the user's request. ## Further reading - [Field guide](references/field-guide.md) — use for task-specific review questions and edge cases. - [Source and rights notes](references/source-notes.md) — use when maintaining this package or reviewing its provenance.
Pliki w paczce (3)
- SKILL.md 2 KB
- references/field-guide.md 1 KB
- references/source-notes.md 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · helx0071/skillsmo | 90 | MIT |
| sentimony/skills | 100 | MIT |
| TerminalSkills/skills | 100 | Apache-2.0 |
| ericrisco/rsc-harness | 100 | MIT |
| microsoft/fast | 100 | MIT |
| sorah/config | 100 | MIT |
| claude-dev-suite/claude-dev-suite | 100 | MIT |
| alexander-danilenko/cortex-claude-code-plugins | 100 | MIT |
| EpicenterHQ/epicenter | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 8bd0e6e10d12 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90typescript-type-system
Pomaga pracować z systemem typów TypeScript: tryb strict, złożone typy, generyki, type guards i konfiguracja kompilatora. - 95typescript-patterns
Podaje wzorce TypeScript dla ścisłego, bezpiecznego typowo kodu: konfigurację kompilatora, typy z rozróżnialnymi wariantami, generyki i obsługę błędów. - 90ts-api-types
Pomaga typować granice kodu TypeScript: publiczne API, typy brandowane i walidację nietypowanych danych wejściowych w czasie wykonania. - 100typescript-write
Przegląda zmiany w TypeScript i JavaScript pod kątem standardów: typów, generyków, asynchroniczności i stylu. - 100typescript-write
Sprawdza kod TypeScript i JavaScript według wewnętrznych standardów: typy, asynchroniczność, granice modułów i styl. - 90TanStack Types
Doradza w bezpieczeństwie typów w TanStack Query: typowanie queryOptions, walidację Zod, generyczne useQuery, DataTag i wnioskowanie typów zapytań w TypeScript.