martinholovsky/claude-skills-generator/surrealdb-expert-2
Claude Code and agent skill by martinholovsky/claude-skills-generator
- community
Checking that the SKILL.md file is still in the repository.
Expert SurrealDB developer specializing in multi-model database design, graph relations, document storage, SurrealQL queries, row-level security, and real-time subscriptions. Use when building SurrealDB applications, designing graph schemas, implementing secure data access patterns, or optimizing query performance.
Install
npx vskill@latest install martinholovsky/claude-skills-generator/surrealdb-expert-2SKILL.md
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
Critical SurrealDB Vulnerabilities (2024):
- GHSA-gh9f-6xm2-c4j2: Improper authentication when changing databases (v1.5.4+ fixed)
- GHSA-7vm2-j586-vcvc: Unauthorized data exposure via LIVE queries (v2.3.8+ fixed)
- GHSA-64f8-pjgr-9wmr: Untrusted query object evaluation in RPC API
- GHSA-x5fr-7hhj-34j3: Full table permissions by default (v1.0.1+ fixed)
- GHSA-5q9x-554g-9jgg: SSRF via redirect bypass of deny-net flags
2. Core Principles
- TDD First - Write tests before implementation. Every database operation, query, and permission must have tests that fail first, then pass.
- Performance Aware - Optimize for efficiency. Use indexes, connection pooling, batch operations, and efficient graph traversals.
- Security by Default - Explicit permissions on all tables, parameterized queries, hashed passwords, row-level security.
- Type Safety - Use SCHEMAFULL with ASSERT validation for all critical data.
- Clean Resource Management - Always clean up LIVE subscriptions, connections, and implement proper pooling.
3. Implementation Workflow (TDD)
Step 1: Write Failing Test First
Step 2: Implement Minimum to Pass
Step 3: Refactor if Needed
Step 4: Run Full Verification
4. Performance Patterns
Pattern 1: Indexing Strategy
Pattern 2: Query Optimization
Pattern 3: Connection Pooling
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/surrealdb-expert/SKILL.md
Popularity
- Installs
- 2
- Unique users
- 1
- Repository stars
- 32
- Repository forks
- 3
- 7-day trend score
- 21
Installs come from the vskill CLI. Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 31 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/martinholovsky/claude-skills-generator/surrealdb-expert-2)