Toolverse
All skills

typescript-best-practices

by HoangNguyen0403

Idiomatic TypeScript patterns for clean, maintainable code.

Installation

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

Installation

Quick info

Category
Mobile
Views
17

About this skill

Idiomatic TypeScript patterns for clean, maintainable code.

How to use

  1. Aktywuj umiejętność w swoim agencie AI, wskazując pliki TypeScript (*.ts, *.tsx) lub słowa kluczowe takie jak class, function, async, import, export.

  2. Gdy agent analizuje lub refaktoryzuje kod TypeScript, umiejętność automatycznie sugeruje poprawki: zmień nazwy zmiennych na camelCase, klasy na PascalCase, stałe na UPPER_SNAKE.

  3. Dla funkcji eksportowanych zawsze dodaj jawny typ zwracanej wartości; dla callbacków preferuj arrow functions zamiast regular functions.

  4. Organizuj importy w kolejności: najpierw pakiety zewnętrzne, potem moduły wewnętrzne, na końcu ścieżki relatywne. Używaj import type dla typów, aby umożliwić tree-shaking.

  5. W logice asynchronicznej zastosuj async/await zamiast raw Promise; dla operacji równoległych użyj Promise.all(). Nigdy nie używaj any — wymuszaj strict typing lub rzutuj unknown na konkretny typ.

  6. W klasach dodaj jawne modyfikatory dostępu (public, private, protected), preferuj composition zamiast dziedziczenia, oznaczaj pola jako readonly gdzie to możliwe. Zabrania się eslint-disable i ts-ignore komentarzy — napraw problem u źródła.

Related skills

interactive-portfolio

by davila7

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities. Use when: portfolio,

Mobile
1823

xcodebuildmcp

by cameroncooke

Official skill for XcodeBuildMCP. Use when doing iOS/macOS/watchOS/tvOS/visionOS work (build, test, run, debug, log, UI automation).

Mobile
2225

flutter-development

by aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

Mobile
1,1601,122

app-store-optimization

by davila7

Complete App Store Optimization (ASO) toolkit for researching, optimizing, and tracking mobile app performance on Apple App Store and Google Play Store

Mobile
1153

mobile-design

by sickn33

Mobile-first design and engineering doctrine for iOS and Android apps. Covers touch interaction, performance, platform conventions, offline behavior, and mobile-specific decision-making. Teaches principles and constraints, not fixed layouts. Use for React Native, Flutter, or

Mobile
6091

claude-mobile-ios-testing

by krzemienski

Use when testing iOS apps on simulator, capturing screenshots for validation gates, automating UI testing with expo-mcp and xc-mcp, or verifying visual correctness - combines expo-mcp autonomous testing (React Native level) with xc-mcp simulator management (iOS level)

Mobile
15111