← ClaudeAtlas

jsonlogiclisted

Work with JsonLogic business rules — the JSON-based conditional-logic format at jsonlogic.com. Use whenever the user wants to turn a business requirement into a JsonLogic rule, needs an existing JsonLogic expression explained or debugged, asks whether a rule is valid, wants to execute JsonLogic in a specific language (JavaScript, TypeScript, Python, Ruby, Java, PHP, Go, C#, others), is choosing or comparing a JsonLogic library, or is integrating JsonLogic into an application. Trigger on mentions of JsonLogic, json-logic, JSON rule objects shaped like {"var": ...}, or requests to express conditions and business rules as portable JSON. Do not use for general programming tasks that don't involve the JsonLogic format.
valeryia-piatrova/jsonlogic-skill · ★ 14 · Data & Documents · score 71
Install: claude install-skill valeryia-piatrova/jsonlogic-skill
# JsonLogic A skill for work with JsonLogic. [JsonLogic](https://jsonlogic.com) is a small, portable format for expressing conditional logic as JSON. The JsonLogic standard is the universal rule format and defines its semantics. A rule at this level is language-agnostic. See [references/jsonlogic.md](references/jsonlogic.md) and [references/operations.md](references/operations.md). A specific library is the code that executes JsonLogic in a particular language, such as **json-logic-js** for **JavaScript** or **json-logic-rb** for **Ruby**. Libraries can differ in the operations they support, as well as their API shape and error handling. ## Running JsonLogic ### Library If a specific implementation is named, such as **json-logic-js**, use that exact implementation. A language name alone, such as **“in Python”**, means use the library for that language from [references/libraries.md](references/libraries.md). If neither a library nor a language is named, default to [scripts/jsonlogic.rb](scripts/jsonlogic.rb). ### Support A rule can be valid JsonLogic and still be unsupported by the selected library or its current version. Flag unsupported operations. Never rewrite a valid JsonLogic rule just because one library can't run it. Say which level the limitation is at and offer the real options: - a custom operation - a different library if operation is not supported in specific implementation - logic change ## Playground artifact Whenever a concrete rule is in play (cr