Toolverse
All skills

polymarket-knowledge

by cyl19970726

Polymarket CLOB API knowledge base for order management, WebSocket events, and trading operations. Use when working with order lifecycle (place, fill, cancel), debugging WebSocket USER_TRADE/USER_ORDER events, understanding API field mappings, or implementing trading logic.

Installation

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

Installation

Quick info

Category
Backend

About this skill

Polymarket CLOB API knowledge base for order management, WebSocket events, and trading operations. Use when working with order lifecycle (place, fill, cancel), debugging WebSocket USER_TRADE/USER_ORDER events, understanding API field mappings, or implementing trading logic.

How to use

  1. Zainstaluj umiejętność w swoim projekcie Claude, dodając katalog .claude/skills/polymarket-knowledge do konfiguracji agenta.

  2. Gdy pracujesz nad integracją API Polymarket, odwołaj się do umiejętności pytając o cykl życia zlecenia — otrzymasz mapowanie stanów (PENDING, OPEN, PARTIALLY_FILLED, FILLED, CANCELLED, EXPIRED) oraz odpowiadające im statusy API (delayed, live, matched, cancelled, expired).

  3. Do debugowania zdarzeń WebSocket użyj umiejętności do weryfikacji poprawnych endpointów (wss://ws-subscriptions-clob.polymarket.com/ws/user dla zdarzeń USER_ORDER i USER_TRADE, /ws/market dla zdarzeń rynkowych) i typów zdarzeń (USER_ORDER: PLACEMENT, UPDATE, CANCELLATION; USER_TRADE: MATCHED, MINED, CONFIRMED, RETRYING, FAILED).

  4. Przy implementacji logiki składania zleceń sprawdź w umiejętności wymagania minimalne (wartość 1 USDC, minimum 5 akcji, tick size 0.01) oraz dostępne typy zleceń — GTC dla zleceń maker, GTD dla czasowo ograniczonych, FOK dla muszą być całkowicie wypełnione, FAK dla częściowego wypełnienia.

  5. Gdy napotkasz błędy mapowania pól, skonsultuj się z umiejętnością w sprawie typowych pułapek — API używa matched_amount zamiast matched_size, wymaga uwierzytelnienia dla endpointu /ws/user i operuje na USDC jako walucie rozliczeniowej.

  6. Dla złożonych scenariuszy handlowych odwołaj się do diagramu stanów zleceń w umiejętności, aby zrozumieć możliwe przejścia między stanami i warunki przejścia.

Related skills

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

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

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

drizzle

by lobehub

Drizzle ORM schema and database guide. Use when working with database schemas (src/database/schemas/*), defining tables, creating migrations, or database model code. Triggers on Drizzle schema definition, database migrations, or ORM usage questions.

Backend
79340

find-skills

by openstatusHQ

Helps users discover and install agent skills when they ask questions like \

Backend
150111

architecture-decision-records

by wshobson

Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation. Use when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes.

Backend
29130