본문으로 건너뛰기
cccskills
무료GitHub에 공개

surrealdb

Expert SurrealDB 3 skill. Use when working with SurrealDB, SurrealQL queries, multi-model data modeling (document, graph, vector, time-series, geospatial), schema design, graph traversal, vector search, security and permissions, deployment and operations, performance tuning, SDK integration, Surrealism WASM extensions, SurrealMCP, Surrealist IDE, Surreal-Sync migrations, SurrealFS, SurrealKit, or ecosystem integrations such as n8n and CodeMirror.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구n8nDocker

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

SurrealDB 3 Expert Skill

Expert-level SurrealDB 3 architecture, development, and operations for GitHub Copilot.

When Copilot Should Use This Skill

Activate automatically when the user:

  • Writes or asks about SurrealQL queries
  • Works with .surql files
  • Designs database schemas for SurrealDB
  • Configures SurrealDB deployment or Docker
  • Uses SurrealDB SDKs (JavaScript, Python, Go, Rust, Java, Kotlin, .NET, C, PHP, Swift, Ruby)
  • Works with graph relationships (RELATE, traversal)
  • Implements vector search or RAG patterns
  • Configures security, permissions, or access control
  • Builds Surrealism WASM extensions
  • Migrates data to SurrealDB from other databases
  • Connects SurrealDB to MCP hosts, n8n, AI frameworks, or custom editors

Rules Reference

This skill contains 18 detailed rule files. Read the relevant rule file when the user's request matches its domain:

Rule FileWhen to LoadDomain
surrealql.mdWriting or debugging SurrealQL queriesFull SurrealQL language reference
data-modeling.mdDesigning schemas, choosing field types, record IDsMulti-model schema design patterns
graph-queries.mdRELATE, graph traversal, path expressionsGraph edge and traversal patterns
vector-search.mdHNSW indexes, similarity search, embeddingsVector search and RAG pipelines
security.mdPermissions, auth, JWT, access controlRow-level security and auth flows
deployment.mdInstalling, configuring, running SurrealDBStorage engines, Docker, Kubernetes
performance.mdSlow queries, index strategy, EXPLAINPerformance tuning and optimization
sdks.mdUsing SurrealDB from application codeJS, Python, Go, Rust, Java, Kotlin, .NET, C, PHP, Swift, Ruby patterns
surrealism.mdWriting WASM extensionsRust to WASM extension development
surrealml.mdWorking near SurrealMLPreview .surml boundary and native dependency warning
surrealmcp.mdConnecting AI hostsMCP tool catalog and deployment
editor-tooling.mdEditor / IDE supportLSP, tree-sitter, CodeMirror, editor extensions
langchain.mdLangChain RAGPython vector store API
ecosystem-integrations.mdn8n / framework pointersn8n, AI framework docs, Spectron boundary, Agent Skills
surrealist.mdUsing the Surrealist IDE/GUIIDE features and schema designer
surreal-sync.mdMigrating from other databasesCDC sync from Postgres, Mongo, etc.
surrealfs.mdAI agent filesystem operationsVirtual FS backed by SurrealDB
surrealkit.mdSchema sync, rollouts, seeds, and declarative testsDesired-state schema management for SurrealDB apps

Quick Reference

SurrealQL Essentials

-- Create records
CREATE person:alice SET name = 'Alice', age = 30;

-- Graph edges
RELATE person:alice->follows->person:bob SET since = time::now();

-- Traverse graph
SELECT ->follows->person.name AS following FROM person:alice;

-- Vector search (HNSW)
DEFINE INDEX idx_embed ON document FIELDS embedding HNSW DIMENSION 1536 DIST COSINE;
SELECT * FROM document WHERE embedding <|10,40|> $query_vector;

-- Row-level permissions
DEFINE TABLE post SCHEMALESS PERMISSIONS
  FOR select WHERE published = true OR user = $auth.id
  FOR create, update WHERE user = $auth.id;

-- Live queries
LIVE SELECT * FROM person WHERE age > 25;

Key Concepts

  • Record IDs: table:id (e.g., person:alice) -- first-class citizens, no JOINs needed
  • Multi-model: Document + Graph + Vector + Time-series + Geospatial in one DB
  • Graph operators: -> (outgoing), <- (incoming), <-> (bidirectional)
  • KNN operator: <|K,EF|> where K=neighbors, EF=search parameter (NOT distance metric)
  • Storage engines: memory, RocksDB, SurrealKV (time-travel), TiKV (distributed)
  • WASM extensions: New in v3 -- write Rust, compile to WASM, register with DEFINE MODULE

Scripts

# Health check
uv run scripts/doctor.py

# Schema introspection
uv run scripts/schema.py introspect

# Check upstream for updates
uv run scripts/check_upstream.py

Security Notes

  • Examples use root/root for local development only. Use scoped credentials in production.
  • Scripts connect to user-specified endpoints only. No third-party network calls.
  • Table names are validated against [a-zA-Z_][a-zA-Z0-9_]* before query interpolation.
  • Prefer package-manager or container installs over remote shell installers.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Data migration and synchronization to SurrealDB from MongoDB, PostgreSQL, MySQL, Neo4j, Kafka, and JSONL. Full and incremental CDC sync. Part of the surreal-skills collection.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

24601/surreal-skills352026년 6월 18일 업데이트

surrealdb

무료

Expert SurrealDB 3 architect and developer skill (tracks v3.1.4+). SurrealQL mastery, multi-model data modeling (document, graph, vector, time-series, geospatial), schema design, security, deployment, performance tuning, SDK integration (JS, Python, Go, Rust, Java, .NET, C, PHP, Swift, Kotlin, Ruby), Surrealism WASM extensions, SurrealML scope coverage (preview), built-in MCP (v3.1+) and standalone SurrealMCP, LangChain Python integration, editor tooling (LSP v0.1.6, tree-sitter, CodeMirror v1.0.6, VS Code/JetBrains/Neovim/Zed), and ecosystem integrations (Surrealist v3.9, Surreal-Sync, SurrealFS, SurrealKit v0.7, n8n, Agent Skills, setup-surreal). Universal skill for 30+ AI agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

24601/surreal-skills352026년 6월 18일 업데이트

surrealfs

무료

SurrealFS virtual filesystem for AI agents. Rust core + Python agent (Pydantic AI). Persistent file operations backed by SurrealDB. Part of the surreal-skills collection.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

24601/surreal-skills352026년 6월 18일 업데이트

SurrealDB Surrealism WASM extension development. Write Rust functions, compile to WASM, deploy as database modules. Part of the surreal-skills collection.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

24601/surreal-skills352026년 6월 18일 업데이트

SurrealKit schema sync, rollout migrations, seeding, and declarative testing for SurrealDB apps. Part of the surreal-skills collection.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

24601/surreal-skills352026년 6월 18일 업데이트

SurrealDB MCP for AI agents: built-in server (SurrealDB 3.1+ `surreal mcp`) and standalone surrealmcp (surrealdb/surrealmcp v0.4.0). Part of the surreal-skills collection.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

24601/surreal-skills352026년 6월 18일 업데이트

24601의 스킬 모두 보기

이 스킬의 문제 신고