Works with the AI tools you already use

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

    Repair Multipart Boundary Bugs

    1

    Repair multipart parser and encoder bugs involving quoted boundaries, split delimiters, CRLF framing, nested parts, filename parameters, size limits, premature EOF, and cleanup.

    $8.99

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned
    Repair Multipart Boundary Bugs

    Repair Multipart Boundary Bugs

    Example session with this skill installed

    Our Rust multipart parser misses a closing boundary when it is split across three reads and occasionally truncates binary data containing a boundary prefix. Repair with generated byte fixtures and every chunk split. Preserve limits, filename sanitation, accepted syntax, temp-file cleanup, and error types.

    • Read your context and instructions
    • Compiled the repair multipart boundary

    Streaming delimiter defect found. The parser discards an incomplete boundary prefix at buffer rollover and accepts prefix matches without verifying legal CRLF/closing suffixes. The repair retains the minimal overlap window, validates full delimiter framing, preserves every size/header/filename rule, and exhaustively tests all chunk splits, binary near-matches, premature EOF, cancellation, and single-owner temporary-file cleanup.

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

    What you get

    Resolve part truncation caused by boundary collisions in binary payloads.Implement deterministic chunk-split testing for streaming uploads.Fix temporary file leaks following malformed multipart requests.Repair quoted boundary and CRLF framing logic in MIME parsers.

    About this skill

    The problem

    Large file uploads fail intermittently when boundaries are split across streaming chunks or when binary data mimics boundary prefixes. These bugs often lead to truncated files, unhandled temporary file leaks, and hard-to-reproduce parsing errors in production.

    What it does

    • Identifies state machine failures in multipart/form-data and MIME parsing logic.
    • Repairs boundary overlap handling and CRLF framing to prevent premature part truncation.
    • Implements deterministic chunk-split test matrices to verify streaming stability.
    • Fixes resource lifecycle management to ensure temporary files are cleaned up after cancellation or malformed input.
    • Corrects handling of quoted boundary parameters and nested parts without weakening validation policy.

    Frameworks & tools

    Works with repository-level streaming parsers, HTTP servers, and MIME encoders. Compatible with languages using local file systems and standard networking libraries.

    Why this beats prompting it yourself

    Parsing multipart streams is notoriously edge-case heavy, especially when boundaries split across byte buffers. This skill enforces a rigorous state machine audit and ownership register, ensuring you don't just fix one symptom while leaving resource leaks or concurrency race conditions behind.

    Use cases

    • Fixing uploads that crash only at specific chunk sizes or network speeds.
    • Preventing binary payloads from being misinterpreted as closing delimiters.
    • Auditing multipart parsers for quoted boundary and preamble compliance.
    • Automating the cleanup of orphaned temp files during failed streaming transfers.

    Known limitations

    This skill cannot fix issues requiring production service access or live secret rotation. It does not replace correctness with increased timeouts or catch-all error suppression.

    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 18 days ago

    • Passed all security checks, Safe to install

    Listed18 days ago

    Frequently Asked Questions