datomic

Optimize Datomic queries using index-range, index-pull, and datoms APIs.

1|Updated Aug 16, 2018
One-click install
npx skills add https://github.com/saskenuba/dotfiles --skill datomic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: datomic
Source: https://github.com/saskenuba/dotfiles/tree/main/ai/.claude/skills/datomic
Command: npx skills add https://github.com/saskenuba/dotfiles --skill datomic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers extract and reason about data from a Datomic database at scale, providing guidance on leveraging queries, Datalog, and index strategies to optimize multi-user performance.

Core Features & Use Cases

  • Pull, q, transacts, and index-range patterns for high-throughput data access.
  • Guidance on using d/q, d/index-pull, d/index-range, and d/datoms effectively for scalable read and write workloads.
  • Use case: design a scalable read model and optimize query performance for a multi-tenant application.

Quick Start

Start with a basic Datomic pull to inspect an entity, then try a sample index-range for a filtered set.

Frequently Asked Questions about datomic

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize Datomic queries for high-throughput reads?

Optimize Datomic query performance by leveraging d/q, d/index-pull, and d/datoms to apply targeted index strategies, reducing latency in high-throughput read workloads.

What is the best way to handle complex data extraction in a Datomic database?

Handle complex Datomic data extraction by using index-range patterns and pull expressions to retrieve filtered datasets efficiently across multi-user systems.

Does this approach support scalable read models for multi-tenant Datomic applications?

Yes, it supports multi-tenant Datomic applications by guiding the design of scalable read models using Datalog and index strategies to maintain multi-user performance.

How do I use d/index-range and d/datoms with the Datomic client API?

Use d/index-range and d/datoms with the Datomic client API to execute index-based queries and retrieve filtered sets while managing default result limits for scalable access.

Why are my Datomic index-based queries returning limited results?

Datomic index-based queries may return limited results due to default result limits, requiring effective management of d/index-range and d/datoms parameters to retrieve full datasets.