원클릭으로
typedb
Write and debug TypeQL queries for TypeDB 3.8+. Use when working with TypeDB schemas, data queries, insertions, deletions, or functions.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Write and debug TypeQL queries for TypeDB 3.8+. Use when working with TypeDB schemas, data queries, insertions, deletions, or functions.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Pre-flight checklist for TypeDB 3 schema edits in the typedb_tactics package. Invoke before writing or editing any .tql schema file to catch known error patterns before running Docker tests.
Use when defining a new TypeDB 3 `fun` function in a schema file. Provides correct boilerplate and inlines the constraints that cause the most common parse and type errors.
Write and debug TypeQL queries for TypeDB 3.8+. Use when working with TypeDB schemas, data queries, insertions, deletions, or functions.
SOC 직업 분류 기준
| name | typedb |
| description | Write and debug TypeQL queries for TypeDB 3.8+. Use when working with TypeDB schemas, data queries, insertions, deletions, or functions. |
Adapted from CaliLuke/skills for local use in this repository.
entityrelationattributeTypeDB 3 does not support thing as a schema root.
define
attribute name, value string;
relation employment, relates employer, relates employee;
entity person, owns name, plays employment:employee;
TypeDB 3 uses fun, not rule.
fun get_active_users() -> { string }:
match
$u isa user, has status "active", has email $e;
return { $e };
fun count_users() -> integer:
match
$u isa user;
return count;
fun user_exists($email: string) -> boolean:
match
$u isa user, has email == $email;
return check;
match
let $emails in get_active_users();
fetch { "active_emails": $emails };
match
let $count = count_users();
fetch { "total_users": $count };
match
true == user_exists("alice@example.com");
fetch {};
Anonymous relation:
employment (employer: $c, employee: $p);
Relation variable:
$rel isa employment;
$rel links (employer: $c, employee: $p);
Do not write:
$rel (employer: $c, employee: $p) isa employment;
matchfetchinsertputupdatedeletesortoffsetlimitreducedistinctrequiretrynotorrule ... when ... then ... blocks.$x isa person; # includes subtypes
$x isa! person; # exact type only
return max($m);
return min($m);
Parentheses are required.
let $r = true;
return first $r;
fun composition over duplicated query fragments.match stage where possible..codex/skills/new-typedb-fun/SKILL.md.claude/skills/typeql-preflight/SKILL.md