logseq-schema
Installation
SKILL.md
Logseq Schema
Overview
Use this skill to ground Datascript queries in Logseq's schema: core block/page/file attributes, built-in properties, built-in classes, and schema entities with :db/ident. Load references/logseq-datascript-schema.md for authoritative sources and query patterns, and
references/logseq-datascript-query-examples.md for scenario-based query examples.
Glossary
db/id: Internal numeric entity id (use with CLI flags like--id).:block/uuid: Stable UUID for a block entity; prefer when you need a persistent reference.:block/name: Lowercased page name, used for page lookup and joins.:block/title: Block or page title stored in the DB graph (use in queries when content text is needed).:block/tags: Ref-many attribute linking blocks to tag/page entities.:user.property/<name>: Namespace for user-defined properties stored directly on block entities.:logseq.property/*: Namespace for built-in properties stored directly on block entities.