Toolverse
All skills

zig-system-calls

by oven-sh

Guides using bun.sys for system calls and file I/O in Zig. Use when implementing file operations instead of std.fs or std.posix.

Installation

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

Installation

Quick info

Author
oven-sh
Category
Backend

About this skill

Guides using bun.sys for system calls and file I/O in Zig. Use when implementing file operations instead of std.fs or std.posix.

How to use

  1. Zainstaluj umiejętność w swoim konfiguracji Claude'a lub agenta Bun – dodaj zig-system-calls do listy dostępnych skills.

  2. Gdy pracujesz nad operacjami na plikach w Zig, zamiast sięgać po std.fs lub std.posix, poproś Claude'a o wskazówki dotyczące bun.sys – umiejętność pokaże Ci, jak używać bun.sys.File do otwierania, czytania i pisania plików.

  3. Naucz się wzorca Maybe(T) – każda funkcja bun.sys zwraca tagged union z polami .result i .err; użyj switch do obsługi obu przypadków, jak pokazano w przykładach.

  4. Dla typowych operacji na plikach (zapis, odczyt, pobieranie rozmiaru) używaj bun.sys.File – wrapper zapewnia metody read(), writeAll(), stat() i getEndPos() oraz kompatybilność z std.io reader/writer.

  5. Obsługuj błędy poprzez konwersję Maybe(T) na błędy Zig – umiejętność pokaże Ci, jak wywoływać .unwrap() lub .toError() w zależności od kontekstu funkcji.

  6. Korzystaj z pełnego wsparcia Windows i automatycznego ponowienia EINTR – bun.sys obsługuje to za Ciebie, w przeciwieństwie do std.posix, które wymaga ręcznej obsługi.

Related skills

supabase-operations

by elevanaltd

Supabase operational knowledge for migrations, RLS optimization, MCP tool benchmarks, and ADR-003 compliance. Use when validating database migrations, optimizing Row-Level Security policies, checking MCP tool performance, or ensuring Supabase operational standards. Triggers on:

Backend
27109

openspec

by ruan-cat

OpenSpec 中文版规范助手 - 规范驱动的 AI 编程开发,帮助初始化、创建提案、编写规格、校验格式并归档变更。触发条件: 当用户提及 openspec、规范文档、需求管理、变更提案、spec-driven development 等关键词时主动调用。

Backend
27122

clickup

by civitai

Interact with ClickUp tasks and documents - get task details, view comments, create and manage tasks, create and edit docs. Use when working with ClickUp task/doc URLs or IDs.

Backend
2483

video-downloader

by ComposioHQ

Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.

Backend
50173

stripe-integration

by wshobson

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

Backend
40147

effective-go

by openshift

Apply Go best practices, idioms, and conventions from golang.org/doc/effective_go. Use when writing, reviewing, or refactoring Go code to ensure idiomatic, clean, and efficient implementations.

Backend
248296