Surrealdb Expert
CheckedLeverages a SurrealDB expert for querying, schema design, and optimization – ideal for developers needing rapid database insights & solutions.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add martinholovsky/claude-skills-generator --skill surrealdb-expert -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
martinholovsky
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill passed all 6 checks. We read its files at one commit and looked for the things that make a skill dangerous to run — not for whether it works.
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Makes no network calls.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned martinholovsky/claude-skills-generator at 1086ef2567.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 1086ef2567
- Manifest
- skills/surrealdb-expert/SKILL.md
- Scanned
- 1 file, 1,231 lines
About this skill
What it does
This skill provides access to an expert SurrealDB developer, enabling AI agents to generate and optimize SurrealDB queries, design schemas, and address security concerns. The skill leverages deep expertise in SurrealQL, graph modeling, RBAC, schema definition (using DEFINE TABLE, FIELD, INDEX), and real-time capabilities like LIVE queries. It focuses on building secure, scalable, and type-safe SurrealDB applications with an emphasis on performance optimization.
When to use it
- Designing a new SurrealDB database schema for a complex application involving graph relationships and various data models.
- Optimizing existing SurrealDB queries that are performing poorly or consuming excessive resources.
- Implementing row-level security or other access control mechanisms within a SurrealDB deployment.
- Troubleshooting authentication or authorization issues in a SurrealDB environment.
- Generating code snippets (Rust, JavaScript/TypeScript, Python, Go) for interacting with a SurrealDB database.
Key capabilities
- Expertise in SurrealQL query language (SELECT, CREATE, UPDATE, RELATE, DEFINE).
- Graph modeling and traversal techniques.
- Security implementation including RBAC, parameterized queries, and row-level security.
- Schema design with strict typing using
DEFINE TABLE,FIELD, andINDEX. - Real-time query subscriptions (LIVE queries).
- Performance optimization strategies like indexing and efficient graph traversals.
- Knowledge of SurrealDB SDKs for Rust, JavaScript/TypeScript, Python, and Go.
Example prompts
- "Generate a SurrealQL query to find all users connected to a specific group."
- "Design a schema for storing product reviews with ratings and associated user data in SurrealDB."
- "How can I implement row-level security to restrict access to certain records based on user roles?"
- “Write a Rust function using the SurrealDB SDK to create a new record.”
Tips & gotchas
- Security Considerations: This skill deals with database systems and has a HIGH risk level due to potential security implications. Always review generated code carefully and adhere to best practices.
- Testing is Crucial: The skill emphasizes Test-Driven Development (TDD). Ensure all operations have failing tests before implementation.
- Performance Awareness: Be mindful of performance when designing queries and schemas; utilize indexing and other optimization techniques.