Toolverse
All skills

graphql-schema

by ChrisWiles

GraphQL queries, mutations, and code generation patterns. Use when creating GraphQL operations, working with Apollo Client, or generating types.

Installation

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

Installation

Quick info

Category
Backend
Views
1

About this skill

GraphQL queries, mutations, and code generation patterns. Use when creating GraphQL operations, working with Apollo Client, or generating types.

How to use

  1. Utwórz plik .gql w katalogu komponentu lub w folderze graphql/ — napisz w nim zapytanie GraphQL (query) lub mutację (mutation) z parametrami i polami, które chcesz pobrać.

  2. Uruchom kodogenerator poleceniem npm run gql:typegen — narzędzie automatycznie wygeneruje plik .generated.ts z typami TypeScript i hookami React.

  3. Zaimportuj wygenerowany hook do komponentu (np. useGetItemsQuery lub useCreateItemMutation) — nigdy nie pisz surowych Apollo hooków ręcznie.

  4. W komponencie użyj hooku, przekazując zmienne jako opcje — hook zwraca data, loading, error i refetch, którymi zarządzasz w JSX.

  5. Dla mutacji zawsze dodaj obsługę błędów (onError handler) — nie pomijaj tego kroku, aby uniknąć nieobsługiwanych wyjątków.

  6. Nigdy nie wstawiaj literałów gql bezpośrednio w kod — zawsze twórz osobne pliki .gql i generuj z nich typy.

Related skills

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

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

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

using-superpowers

by obra

Use when starting any conversation - establishes mandatory workflows for finding and using skills, including using Skill tool before announcing usage, following brainstorming before coding, and creating TodoWrite todos for checklists

Backend
65167

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

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