More screenshots

    Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    Repair JSON Merge Patch & Partial Update Bugs

    1

    Diagnose or review JSON Merge Patch semantics, null-versus-delete behavior, omitted fields, nested object replacement, validation order, persistence mapping, and partial-update tests. Works from repositories/workspaces or supplied evidence and produces concrete findings, bounded repairs or readiness gates, and deterministic validation while preserving public behavior, authorization, security boundaries, and evidence honesty.

    $5

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned
    Repair JSON Merge Patch & Partial Update Bugs

    Repair JSON Merge Patch & Partial Update Bugs

    Example session with this skill installed

    A PATCH /profiles endpoint accepts application/merge-patch+json. Sending {"displayName":null} should clear the display name, but the service drops nulls before validation so nothing changes. Sending {"preferences":{"theme":"dark"}} also erases unrelated preference keys because the repository converts the nested object into a full replacement.

    • Read your context and instructions
    • Compiled the repair json merge

    FAULT BOUNDARY IDENTIFIED

    Case analyzed

    A PATCH /profiles endpoint accepts application/merge-patch+json. Sending {"displayName":null} should clear the display name, but the service drops nulls before validation so nothing changes. Sending {"preferences":{"theme":"dark"}} also erases unrelated preference keys because the repository converts the nested object into a full replacement.

    The supplied facts are sufficient to perform a concrete repair diagnosis for this case. No repository, production, vendor, or legal access is assumed.

    Verified evidence

    • VERIFIED: The endpoint uses application/merge-patch+json.
    • VERIFIED: Explicit displayName:null is currently dropped before validation.
    • VERIFIED: The documented behavior is to clear displayName.
    • VERIFIED: A partial preferences patch currently erases sibling keys.

    Concrete findings

    1. The first defect occurs before validation: explicit null is discarded, so the domain layer cannot distinguish 'clear this field' from 'field omitted'.
    2. The repository then treats a partial nested preferences object as a full replacement, erasing sibling keys that were not in the patch.
    3. The DTO must preserve field presence separately from field value because null itself has meaning.
    4. Persistence should receive explicit patch operations rather than a fully materialized object that reintroduces defaults.

    The canonical acceptance rule is

    A merge-patch endpoint is correct only when omitted fields remain unchanged, explicit null follows the documented delete/null policy, nested replacement semantics are consistent with merge behavior, and validation/persistence do not silently reinterpret the patch.

    The current result is based on that invariant, not on a generic success banner or a reusable checklist.

    Required ac

    Connects securely to your tools. The creator never sees your data.

    What you get

    Prevent accidental data wipes during nested object partial updates.Correct 'null' vs 'undefined' ambiguity in API controllers and DTOs.Verify RFC 7396 compliance for RESTful patch endpoints.Map incoming JSON patches to safe database update statements.

    About this skill

    Repair JSON Merge Patch & Partial Update Bugs is a ToolForge Labs workflow for JSON Merge Patch semantics, null-versus-delete behavior, omitted fields, nested object replacement, validation order, persistence mapping, and partial-update tests. It performs the supplied case instead of returning a generic template, separates verified evidence from hypotheses, and produces bounded repair or readiness actions with deterministic validation.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    • Passed all security checks, Safe to install

    Listedtoday

    What's inside

    Frequently Asked Questions