valeryia-piatrova

Jsonlogic Skill — Development skill for Claude Code

Development community

Agent skill that turns business requirements into JsonLogic rules: generate, run, validate, and debug JsonLogic for Claude Code, Cursor, Copilot, Codex, Gemini CLI.

How to install Jsonlogic Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open valeryia-piatrova/jsonlogic-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Jsonlogic Skill does

Agent skill that turns business requirements into JsonLogic rules: generate, run, validate, and debug JsonLogic for Claude Code, Cursor, Copilot, Codex, Gemini CLI.

Alternatives in Development

README

JsonLogic Skill

Helps with [JsonLogic](https://jsonlogic.com).

[![Agent Skill](https://img.shields.io/badge/Agent%20Skill-jsonlogic-6366F1)](https://agentskills.io)

![Demo of the jsonlogic skill turning a business rule into a validated JsonLogic expression](assets/demo.gif)

Install

**Claude Code:**

git clone https://github.com/valeryia-piatrova/jsonlogic-skill.git ~/.claude/skills/jsonlogic

Restart Claude Code to pick it up.

**Every install path differs by client** — each badge below jumps to that client's exact command in [docs/installing.md](docs/installing.md):

[![Cursor](https://img.shields.io/badge/Cursor-Install-lightgrey)](docs/installing.md#cursor) [![GitHub Copilot](https://img.shields.io/badge/Copilot-Install-lightgrey)](docs/installing.md#github-copilot) [![VS Code](https://img.shields.io/badge/VS%20Code-Install-lightgrey)](docs/installing.md#vs-code) [![Codex](https://img.shields.io/badge/Codex-Install-lightgrey)](docs/installing.md#codex) [![Gemini CLI](https://img.shields.io/badge/Gemini%20CLI-Install-lightgrey)](docs/installing.md#gemini-cli)

What It Does

Claude uses this skill automatically when JsonLogic comes up.

  • Turn a plain logic description into a JsonLogic rule
  • Run JsonLogic rule
  • Validate if a JsonLogic rule is valid
  • Debug a JsonLogic rule that isn't working

Usage

**No data shape given:**

Give a 20% discount on orders over $200, or 10% over $100 — otherwise no discount

Approve a claim only if the policy is active and the incident happened after the policy start date — but route it to manual review instead if the policyholder already has 2+ claims this year, or if the amount is over the coverage limit

Let a user edit a document if they’re the owner or an admin, but only while the document isn’t locked for review

Flag a transaction as suspicious if it’s over $5,000 and happens outside business hours — unless the account has 90+ days of history and no prior flags, in which case just log it i