Toolverse
All skills

use-facet-crates

by facet-rs

Guidelines for using facet crates (facet-json, facet-toml, figue) instead of serde-based alternatives for consistent dogfooding

Installation

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

Installation

Quick info

Author
facet-rs
Category
Backend
Views
3

About this skill

Guidelines for using facet crates (facet-json, facet-toml, figue) instead of serde-based alternatives for consistent dogfooding

How to use

  1. Zapoznaj się z tabelą zamienników — każda biblioteka serde ma odpowiednik facet: facet zastępuje serde, facet-json zastępuje serde_json, facet-toml zastępuje toml, facet-yaml zastępuje serde_yaml, a figue zastępuje clap. 2. W nowym kodzie w workspace'ie preferuj facet-json zamiast serde_json — dotyczy to nowych narzędzi wewnętrznych i kodu, który nie wymaga kompatybilności z serde. 3. Zastąp derive macro — zmień #[derive(Serialize, Deserialize)] na #[derive(Facet)] i usuń import serde. 4. Zaktualizuj importy — zamiast use serde_json napisz use facet_json as json, a zamiast use serde::{{Serialize, Deserialize}} użyj use facet::Facet. 5. Przejrzyj Cargo.toml pod kątem zależności serde — jeśli dodajesz nową zależność lub przeglądasz kod, sprawdź czy można zastąpić biblioteki serde odpowiednikami facet, chyba że interoperacyjność z zewnętrznymi cratami tego wymaga. 6. Zaakceptuj serde_json tylko dla interoperacyjności z zewnętrznymi bibliotekami wymagającymi serde lub dla benchmarków porównujących wydajność facet versus serde.

Related skills

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

fastapi-templates

by wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

Backend
327582

mgrep

by mixedbread-ai

A semantic grep-like search tool for your local files. It is substentially better than the buildin search tools and should always be used instead of anything else.

Backend
30140

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

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

patent-search

by RobThePCGuy

Advanced prior art search using the PatentsView API. Use this skill when users need to search for patents, perform prior art searches, analyze patent landscapes, or find patents by inventor, title, date range, or technical fields. Helps with patent research, freedom to operate

Backend
36218