Toolverse
All skills

convex-best-practices

by waynesutton

Guidelines for building production-ready Convex apps covering function organization, query patterns, validation, TypeScript usage, error handling, and the Zen of Convex design philosophy

Installation

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

Installation

Quick info

Category
UX / Design
Views
9

About this skill

Guidelines for building production-ready Convex apps covering function organization, query patterns, validation, TypeScript usage, error handling, and the Zen of Convex design philosophy

How to use

  1. Zainstaluj plugin ESLint dla Convex, aby automatycznie sprawdzać zgodność z najlepszymi praktykami: npm i @convex-dev/eslint-plugin --save-dev. Dodaj konfigurację do pliku eslint.config.js, importując convexPlugin i rozszerzając recommended config.

  2. Zapoznaj się z czterema głównymi regułami wymuszanymi przez plugin: no-old-registered-function-syntax (wymaga nowej składni), require-argument-validators (każda funkcja musi mieć args: {}), explicit-table-ids (nazwa tabeli w operacjach db) i import-wrong-runtime (brak importów Node w runtime Convex).

  3. Przeczytaj oficjalną dokumentację Convex Best Practices na https://docs.convex.dev/understanding/best-practices/ oraz sekcje o obsłudze błędów i konfliktach zapisu, aby zrozumieć kontekst każdej reguły.

  4. Zastosuj Zen of Convex w swoim projekcie: pozwól Convexowi zarządzać cachowaniem i synchronizacją real-time, projektuj funkcje jako interfejs API aplikacji, zdefiniuj model danych w schema.ts i traktuj schemat jako źródło prawdy.

  5. Podczas pisania kodu funkcji pamiętaj o walidacji argumentów, prawidłowej organizacji funkcji i obsłudze błędów zgodnie z dokumentacją. Plugin ESLint będzie Cię ostrzegać o naruszeniach na etapie budowania.

  6. W razie pytań lub niejasności sprawdź llms.txt w dokumentacji Convex, który zawiera szerszy kontekst dla modeli językowych.

Related skills

error-handling-patterns

by wshobson

Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful degradation to build resilient applications. Use when implementing error handling, designing APIs, or improving application reliability.

UX / Design
22145

competitive-landscape

by wshobson

This skill should be used when the user asks to \

UX / Design
1457

scroll-experience

by davila7

Expert in building immersive scroll-driven experiences - parallax storytelling, scroll animations, interactive narratives, and cinematic web experiences. Like NY Times interactives, Apple product pages, and award-winning web experiences. Makes websites feel like experiences, not

UX / Design
75117

solid-principles

by SmidigStorm

Enforce SOLID principles (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion) in object-oriented design. Use when writing or reviewing classes and modules.

UX / Design
24154

figma-integration

by duongdev

Guides design-to-code workflow using Figma integration. Helps extract designs, analyze components, and generate implementation specs. Auto-activates when users mention Figma URLs, design implementation, component conversion, or design-to-code workflows. Works with

UX / Design
18121

penpot-uiux-design

by github

Comprehensive guide for creating professional UI/UX designs in Penpot using MCP tools. Use this skill when: (1) Creating new UI/UX designs for web, mobile, or desktop applications, (2) Building design systems with components and tokens, (3) Designing dashboards, forms,

UX / Design
1788