Toolverse
All skills

m04-zero-cost

by actionbook

CRITICAL: Use for generics, traits, zero-cost abstraction. Triggers: E0277, E0308, E0599, generic, trait, impl, dyn, where, monomorphization, static dispatch, dynamic dispatch, impl Trait, trait bound not satisfied, 泛型, 特征, 零成本抽象, 单态化

Installation

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

Installation

Quick info

Category
Backend

About this skill

CRITICAL: Use for generics, traits, zero-cost abstraction. Triggers: E0277, E0308, E0599, generic, trait, impl, dyn, where, monomorphization, static dispatch, dynamic dispatch, impl Trait, trait bound not satisfied, 泛型, 特征, 零成本抽象, 单态化

How to use

  1. Aktywuj skill m04-zero-cost w swoim środowisku Claude/Copilot, gdy napotkasz błędy kompilacji związane z genericami, trait'ami lub trait bounds — szczególnie E0277 (trait bound not satisfied), E0308 (type mismatch) lub E0599 (method not found). 2. Zamiast pytać o szybką poprawkę, zadaj sobie pytanie z sekcji "Core Question": czy typ jest znany w compile-time czy runtime? Czy potrzebujesz heterogenicznej kolekcji? Jaki jest Twój priorytet — wydajność czy czas kompilacji? 3. Skonsultuj tabelę "Error → Design Question" — każdy błąd mapuje się na głębsze pytanie projektowe, nie tylko na syntaktyczną poprawkę. 4. Przeanalizuj swoją abstrakcję za pomocą trzystopniowego frameworku: (a) jaka abstrakcja jest potrzebna (to samo zachowanie, różne typy = trait; różne zachowanie, ten sam typ = enum), (b) kiedy typ jest znany (compile-time = generics, runtime = trait objects), (c) jaki jest trade-off (wydajność vs. czas kompilacji vs. elastyczność). 5. Jeśli błąd się powtarza, użyj sekcji "Trace Up" — przejdź do powiązanych skills (m09-domain dla abstrakcji, m05-type-driven dla typestate, m10-performance dla optymalizacji) i pytaj o poziom abstrakcji, a nie o składnię.

Related skills

youtube-transcript

by michalparkola

Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.

Backend
53214

openspec

by ruan-cat

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

Backend
27122

supabase-developer

by daffy0208

Build full-stack applications with Supabase (PostgreSQL, Auth, Storage, Real-time, Edge Functions). Use when implementing authentication, database design with RLS, file storage, real-time features, or serverless functions.

Backend
78170

himalaya

by openclaw

CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).

Backend
35108

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

travel-planner

by ailabs-393

This skill should be used whenever users need help planning trips, creating travel itineraries, managing travel budgets, or seeking destination advice. On first use, collects comprehensive travel preferences including budget level, travel style, interests, and dietary

Backend
4379