Toolverse
All skills

typescript-strict

by citypaul

TypeScript strict mode patterns. Use when writing any TypeScript code.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
citypaul
Category
Testing
Views
19

About this skill

TypeScript strict mode patterns. Use when writing any TypeScript code.

How to use

  1. Zainstaluj skill w katalogu Claude'a lub Copilota, umieszczając zawartość repozytorium w folderze .claude/skills/typescript-strict lub równoważnym dla Twojego narzędzia.

  2. Włącz skill przed pisaniem kodu TypeScript, dodając go do kontekstu sesji lub konfiguracji projektu.

  3. Pamiętaj o pierwszej regule: nigdy nie używaj any. Jeśli typ jest naprawdę nieznany, zastosuj unknown i dodaj walidację.

  4. Unikaj asercji typów (as Type), chyba że masz konkretne uzasadnienie. Zamiast tego preferuj prawidłowe typowanie od źródła.

  5. Organizuj schematy walidacji (np. Zod) w centralnym katalogu src/schemas/ i importuj je wszędzie, gdzie są potrzebne. Nigdy nie duplikuj tej samej logiki walidacji w różnych plikach.

  6. Używaj type dla struktur danych i rezerwuj interface wyłącznie dla kontraktów behawioralnych, aby kod był spójny i łatwy do utrzymania.

Related skills

lean4-theorem-proving

by cameronfreer

Use when developing Lean 4 proofs, facing type class synthesis errors, managing sorries/axioms, or searching mathlib - provides build-first workflow, instance management patterns (haveI/letI), and domain-specific tactics

Testing
9108

playwright-browser-automation

by lackeyjb

Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test

Testing
13130

hono

by openstatusHQ

Efficiently develop Hono applications using Hono CLI. Supports documentation search, API reference lookup, request testing, and bundle optimization.

Testing
1257

langgraph-docs

by langchain-ai

Use this skill for requests related to LangGraph in order to fetch relevant documentation to provide accurate, up-to-date guidance.

Testing
23127

backtesting-frameworks

by wshobson

Build robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure.

Testing
12105

crypto-research

by stevengonsalvez

Comprehensive cryptocurrency market research and analysis using specialized AI agents. Analyzes market data, price trends, news sentiment, technical indicators, macro correlations, and investment opportunities. Use when researching cryptocurrencies, analyzing crypto markets,

Testing
14118