Respect UDF limitations

Enforce read-only pure JavaScript patterns for FalkorDB UDF implementations.

22|2|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/FalkorDB/skills --skill respect-udf-limitations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Respect UDF limitations
Source: https://github.com/FalkorDB/skills/tree/main/udf-skills/respect-udf-limitations
Command: npx skills add https://github.com/FalkorDB/skills --skill respect-udf-limitations

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents invalid FalkorDB UDF designs by clarifying the restrictions around graph mutation, external access, and side effects.

Core Features & Use Cases

  • UDF Design Guidance: Helps create pure JavaScript functions that transform, compute, and format data without modifying graphs.
  • Constraint Awareness: Explains unsupported operations such as CREATE, SET, DELETE, MERGE, network calls, and external resource access.
  • Use Case: Apply this Skill when writing FalkorDB UDFs that need reliable data transformations while keeping graph updates in Cypher queries.

Quick Start

Ask the AI to design a FalkorDB UDF that performs a data transformation without changing the graph.

Frequently Asked Questions about Respect UDF limitations

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

FAQPage Schema
What operations are not allowed in a FalkorDB JavaScript UDF?

A FalkorDB UDF must be a pure JavaScript function that only transforms, computes, or formats data. It cannot execute graph mutations like CREATE, SET, DELETE, or MERGE, and must not access external networks or resources to satisfy FalkorDB UDF constraints.

How do I write a FalkorDB UDF for data transformation without modifying the graph?

To build a safe FalkorDB UDF, write a pure JavaScript function that performs read-only data transformation and computation without side effects. Keep all graph mutations confined to your Cypher queries to satisfy FalkorDB UDF constraints.

Can I use network calls inside a FalkorDB UDF?

No, you cannot use network calls inside a FalkorDB UDF. External network access and external resource retrieval are unsupported operations that violate FalkorDB UDF constraints, which require pure functions without side effects for reliable data transformation.

Why does my FalkorDB UDF fail when I try to update the graph directly?

Your FalkorDB UDF fails because it enforces read-only transformation patterns and prohibits graph mutations. Operations like CREATE, SET, DELETE, and MERGE are unsupported in UDFs; graph updates must be handled separately through Cypher queries.

Does FalkorDB support side effects in JavaScript UDFs integrated with Cypher queries?

No, FalkorDB does not support side effects in JavaScript UDFs. UDFs integrated with Cypher queries must be pure functions without side effects, ensuring they only perform data computation and formatting without altering state or accessing external resources.