Toolverse
All skills

postgresql-syntax-reference

by pgschema

Consult PostgreSQL's parser and grammar (gram.y) to understand SQL syntax, DDL statement structure, and parsing rules when implementing pgschema features

Installation

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

Installation

Quick info

Author
pgschema
Category
Backend
Views
7

About this skill

Consult PostgreSQL's parser and grammar (gram.y) to understand SQL syntax, DDL statement structure, and parsing rules when implementing pgschema features

How to use

  1. Zainstaluj umiejętność w swoim środowisku Claude/Copilot, wskazując ścieżkę do repozytorium pgschema i katalogu .claude/skills/postgres_syntax. 2. Gdy pracujesz nad generowaniem DDL w kodzie (np. internal/diff/.go), wyzwij umiejętność pytaniem o konkretną instrukcję SQL — na przykład "Jaka jest struktura CreateTrigStmt w gramatyce PostgreSQL?" lub "Jakie są opcjonalne elementy TriggerWhen?". 3. Umiejętność przeszukuje lokalny plik internal/gram.y za pomocą grep lub bezpośredniego odczytu, aby znaleźć regułę gramatyki odpowiadającą Twojemu zapytaniu. 4. Zapoznaj się z tabelą Statement Types → Grammar Rules w README, aby szybko zlokalizować nazwę reguły dla instrukcji, którą chcesz zrozumieć. 5. Gdy potrzebujesz szczegółów dotyczących podstruktury (np. jakie są alternatywne opcje dla CREATE INDEX), pytaj o konkretne pod-reguły — umiejętność wyjaśni notację Yacc/Bison (UPPERCASE dla tokenów, lowercase dla reguł, | dla alternatyw, opt_ dla elementów opcjonalnych). 6. Używaj wyników do walidacji składni SQL w swoim kodzie lub do zrozumienia, jak PostgreSQL obsługuje zaawansowane konstrukcje takie jak triggery warunkowe, indeksy wyrażeń czy polityki bezpieczeństwa na poziomie wierszy.

Related skills

api-design-principles

by wshobson

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

Backend
50146

context-optimizer

by openclaw

Advanced context management with auto-compaction and dynamic context optimization for DeepSeek's 64k context window. Features intelligent compaction (merging, summarizing, extracting), query-aware relevance scoring, and hierarchical memory system with context archive. Logs

Backend
2964

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

postgresql-psql

by timelessco

Comprehensive guide for PostgreSQL psql - the interactive terminal client for PostgreSQL. Use when connecting to PostgreSQL databases, executing queries, managing databases/tables, configuring connection options, formatting output, writing scripts, managing transactions, and

Backend
34173

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