/skills:json-logic-engineeringfrom skills
Use when writing, embedding or debugging JSON Logic (JsonLogic) rules — json-logic-js and other ports, var and missing values, truthiness and coercion, custom operations, rules shared by browser and server, or evaluators that disagree on a rule.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Treat JSON Logic as an expression format with project documentation, reference implementations, and implementation-specific behavior. Do not present it as an OMG, OASIS, or IETF standard. Identify the evaluator and supported operator profile before promising portability or predictable error handling.
Use the project documentation and json-logic-js 2.0.5 as the inspected reference profile. This package version is not a separately versioned language specification. Recheck releases before adopting dependencies.
| Task | Read |
|---|---|
| Understand expression shape, types, and object ambiguity | Language and types |
| Bind inputs and distinguish absent, empty, null, and false | Data binding and missing values |
| Predict logical, comparison, arithmetic, or conditional results | Operators and control flow |
| Write map/filter/reduce and quantified conditions | Collections and scope |
| Turn a requirement into a maintainable rule | Modeling workflow |
| Embed in a service, UI, or another language | Embedding and portability |
| Add operations or accept rules from another party | Extensions and security |
| Create a behavior corpus and compare implementations | Testing and conformance |
| Store, version, deploy, explain, and replay rules | Storage and lifecycle |
| Compare or translate other rule systems | Interoperability |
| Diagnose surprising output | Troubleshooting |
| Run original fixtures and helpers | Worked examples |
| Check authority, versions, and refresh steps | Sources and versioning |
Load only the needed references. Work independently of sibling skills. Use
dmn-engineering, feel-engineering, opa-rego-engineering, cel-engineering,
cedar-engineering, or xacml-engineering when the task also needs those technologies.
Inspect supplied rules and their caller. Record the evaluator/package version, host language, extension registry, input schema, and expected result type. Establish missing-data and coercion policies, numeric ranges, time representation, allowed operators, size/depth limits, and execution budget. Identify the authoritative decision point and the way evaluation errors reach its caller.
For an illustrative request, select a small profile and label assumptions. Do not ask for production details when a synthetic example suffices. For a repair, preserve the intended output contract instead of changing values until a test passes.
var in collection bodies.and and or return operand values. For an explicit
Boolean authorization contract, require result === true at the host boundary."0" truthy. Do not substitute
host-language truthiness.var supplies a default for an unresolved path; an explicit null is not replaced
by that default in the inspected JavaScript evaluator.missing treats null and empty string as missing in that evaluator. Zero and
false are present values. It is not a pure property-existence test.== permits coercion. === avoids scalar coercion but is not portable deep
structural equality for records or lists.map, filter, all, some, and none change data scope to the current item.
reduce supplies current and accumulator; do not invent outer-scope escapes.all is false, some is false, and none is true in the
reference profile. Do not import another language's quantifier conventions.Run from this skill directory or substitute absolute paths:
python3 scripts/inspect_rule.py assets/examples/training-eligibility.logic.json
node scripts/run_cases.cjs --engine /trusted/path/to/logic.js assets/examples/semantic-cases.json
inspect_rule.py parses strict JSON, applies bounded static checks for a deliberately
restricted authoring profile, and inventories operators and static paths. It rejects
literal record objects and unknown operations. It is not a general validator,
evaluator, or runtime-cost proof.
run_cases.cjs loads a caller-supplied trusted local CommonJS evaluator and compares
values/types or expected errors. It downloads nothing and registers no extensions.
Loading that module executes its code; use a trusted runtime. Neither helper is an
execution sandbox.
Return the requested rule or integration, runtime/profile, input contract, case results, and any material portability limitation. For an action, identify the server-side enforcement point and distinguish invalid input and runtime failure from an ordinary negative decision. Preserve the user's requested scope.
agents/openai.yaml (opens in a new tab)assets/examples/input.schema.json (opens in a new tab)assets/examples/semantic-cases.json (opens in a new tab)assets/examples/training-cases.json (opens in a new tab)assets/examples/training-eligibility.logic.json (opens in a new tab)assets/icon.svg (opens in a new tab)references/collections-and-scope.md (opens in a new tab)references/data-binding-and-missing.md (opens in a new tab)references/embedding-and-portability.md (opens in a new tab)references/extensions-and-security.md (opens in a new tab)references/interoperability.md (opens in a new tab)references/language-and-types.md (opens in a new tab)references/modeling-workflow.md (opens in a new tab)references/operators-and-control-flow.md (opens in a new tab)references/sources-and-versioning.md (opens in a new tab)references/storage-and-lifecycle.md (opens in a new tab)references/testing-and-conformance.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)references/worked-examples.md (opens in a new tab)scripts/inspect_rule.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
129 skills in this plugin
/ai-playable-gamesUse when building a game or simulation that bots or LLM agents must play — observation and order interface, agent API or MCP server, AI seats beside humans, fog of war, replays; or when an AI player cheats, stalls, misreads the state or follows text other players wrote./ai-web-scrapingUse when scraping, crawling or extracting structured data from websites, especially with an LLM — Crawl4AI, Firecrawl, Scrapy, Crawlee, Playwright, browser-use; building a dataset or RAG corpus, watching pages for changes, or a scraper that returns empty, duplicated or invented records./cedar-engineeringUse when writing, validating or debugging Cedar authorization policies — .cedar and .cedarschema files, permit/forbid, entities and hierarchies, RBAC/ABAC/ReBAC, templates, multi-tenant access, partial evaluation, Amazon Verified Permissions, migrating to or from Cedar.Other plugins' skills for the same job
Generated from the plugin's indexed repository (getty/skills) — no native marketplace selected
npx claudepluginhub p/getty-skills