surrealdb-expert

Community

Master SurrealDB design and security patterns.

Authortwarogowski
Version1.0.0
Installs0

System Documentation

What problem does it solve?

SurrealDB Expert helps teams design secure, scalable multi-model schemas and efficient queries, reducing security risks and development time by providing best-practice patterns.

Core Features & Use Cases

  • Graph and document modeling with typed edges, and efficient traversal strategies for SurrealDB.
  • Security-by-default: explicit PERMISSIONS, row-level security, and RBAC to enforce least privilege.
  • Real-time patterns: LIVE queries and subscriptions with proper cleanup and monitoring.
  • Performance optimization: indexing strategies, FETCH usage to avoid N+1, and optimized graph traversals.
  • Use Case: Architect a multi-tenant application with secure data access, audit trails, and responsive real-time dashboards.

Quick Start

Start by outlining a SurrealDB schema for a sample domain (e.g., users, posts, and comments) with a typed relationship edge, apply row-level security, and add relevant indexes. Then refine the model to support RBAC roles and live subscription needs.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: surrealdb-expert
Download link: https://github.com/twarogowski/trauma2/archive/main.zip#surrealdb-expert

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.