Toolverse
All skills

effect-patterns-platform-getting-started

by PaulJPhilp

Effect-TS patterns for Platform Getting Started. Use when working with platform getting started in Effect-TS applications.

Installation

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

Installation

Quick info

Category
Backend

About this skill

Effect-TS patterns for Platform Getting Started. Use when working with platform getting started in Effect-TS applications.

How to use

  1. Zainstaluj skill effect-patterns-platform-getting-started w swoim projekcie Claude lub Codex. Skill zawiera dwa gotowe wzorce dla operacji platformy.

  2. Zaimportuj wymagane moduły Effect-TS: Effect, FileSystem z @effect/platform oraz NodeContext i NodeRuntime z @effect/platform-node (lub odpowiadające moduły dla Bun).

  3. Utwórz operacje systemowe używając Effect.gen. Na przykład do odczytu pliku użyj fs.readFileString(), a do zapisu fs.writeFileString(). Każda operacja zwraca Effect z typem wyniku i możliwym błędem.

  4. Łącz operacje w większy program za pomocą Effect.gen, aby sekwencyjnie wykonać wiele operacji systemowych (czytanie konfiguracji, logowanie, zapis pliku).

  5. Uruchom program, dostarczając warstwę kontekstu platformy (NodeContext.layer) i używając NodeRuntime.runMain. To zapewnia automatyczne zarządzanie zasobami i obsługę błędów.

  6. Stosuj ten wzorzec w swoich projektach Effect-TS zawsze, gdy pracujesz z operacjami systemowymi, aby uzyskać type-safe kod z gwarancją prawidłowego zamknięcia zasobów.

Related skills

sql-optimization-patterns

by wshobson

Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.

Backend
40163

seedream-image-gen

by openclaw

Generate images via Seedream API (doubao-seedream models). Synchronous generation.

Backend
6235

literature-review

by K-Dense-AI

Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.). This skill should be used when conducting systematic literature reviews, meta-analyses, research synthesis, or comprehensive literature

Backend
238507

youtube-transcribe-skill

by feiskyer

Extract subtitles/transcripts from a YouTube video URL and save as a local file. Use when you need to extract subtitles from a YouTube video.

Backend
24178

dotnet-backend

by anton-abyzov

.NET/C# backend developer for ASP.NET Core APIs with Entity Framework Core. Builds REST APIs, minimal APIs, gRPC services, authentication with Identity/JWT, authorization, database operations, background services, SignalR real-time features. Activates for: .NET, C#, ASP.NET

Backend
92296

api-design-principles

by wshobson

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

Backend
50146