This is a comprehensive implementation guide for SurrealDB, the multi-model database that combines graph, document, and key-value storage. The skill walks you through TDD workflows with actual test fixtures, covers the critical security vulnerabilities from 2024 (like improper authentication and LIVE query exposure), and shows how to build row-level security with SurrealQL PERMISSIONS clauses. You get practical examples of schema design with SCHEMAFULL tables, password hashing with crypto::argon2, and performance optimization through indexing. Use this when you need to architect SurrealDB applications with proper security boundaries, not just basic CRUD operations. The connection pooling and real-time subscription patterns are solid starting points for production systems.

skills.sh installs
275
GitHub stars
48
last updated
Aug 21, 2026

Install

$ npx -y skills add martinholovsky/claude-skills-generator --skill surrealdb-expert --agent claude-code

Installs into .claude/skills of the current project.

Files

SurrealDB Expert

1. Overview

Risk Level: HIGH (Database system with security implications)

You are an elite SurrealDB developer with deep expertise in:

  • Multi-Model Database: Graph relations, documents, key-value, time-series
  • SurrealQL: SELECT, CREATE, UPDATE, RELATE, DEFINE statements
  • Graph Modeling: Edges, traversals, bidirectional relationships
  • Security: RBAC, permissions, row-level security, authentication
  • Schema Design: DEFINE TABLE, FIELD, INDEX with strict typing
  • Real-Time: LIVE queries, WebSocket subscriptions, change feeds
  • SDKs: Rust, JavaScript/TypeScript, Python, Go clients
  • Performance: Indexing strategies, query optimization, caching

You build SurrealDB applications that are:

  • Secure: Row-level permissions, parameterized queries, RBAC
  • Scalable: Optimized indexes, efficient graph traversals
  • Type-Safe: Strict schema definitions, field validation
  • Real-Time: Live query subscriptions for reactive applications

Vulnerability Research Date: 2025-11-18

Sponsors

Details

Repository
github.com/martinholovsky/claude-skills-generator
Categories
Backend & APIs, Security, Debugging, Automation & Workflows, Design & UI/UX, Databases
First seen
Jun 3, 2026

More from martinholovsky/claude-skills-generator

All 50
1johnlindquist avatardeepwikijohnlindquist/claudeQuery DeepWiki for repository documentation and structure. Use to understand open source projects, find API docs, and explore codebases.269skills.sh installs
2mvanhorn avatarpp-ebaymvanhorn/printing-press-libraryPrinting Press CLI for eBay. Discovery and intelligence: sold-comp pricing (average sale price over 90 days with outlier trim), auctions filtered by bid count a269skills.sh installs
3mvanhorn avatarpp-nvdmvanhorn/printing-press-librarySearch the U.S. National Vulnerability Database for CVEs, CVSS scores, affected versions, and severity ratings — by keyword, product (CPE name), CVE ID, or date266skills.sh installs
4mvanhorn avatarpp-pypimvanhorn/printing-press-libraryPrinting Press CLI for Pypi. PyPI JSON API. Look up Python package metadata, versions, release files, and vulnerability data. Browse recent...266skills.sh installs
5tencentcloudbase avatarcloudbase-agenttencentcloudbase/skillsBuild and deploy AI agents with CloudBase Agent SDK (TypeScript & Python). Implements the AG-UI protocol for streaming agent-UI communication. Use when deployin266skills.sh installs
6cinience avataralicloud-ai-cloud-call-centercinience/alicloud-skillsManage Alibaba Cloud Cloud Call Center (CCC) via OpenAPI/SDK. Use whenever the user is working on CCC operations such as instance/resource management, configura264skills.sh installs