Repair Buffered Flush Loss
Repair missing flushes, ignored finalization errors, close-order inversions, premature success, and buffered output lost before it reaches the intended sink.
Secure checkout via Stripe
Works with the AI tools you already use
See it in action
You say
Our Go export service stacks gzip.Writer over bufio.Writer over a file. The handler writes all NDJSON rows and returns success, but it defers closes in the wrong order and ignores both gzip.Close() and bufio.Flush() errors. Large exports sometimes miss the trailer or final rows; tiny fixtures often pass. Repair locally with fake failing writers and ordering assertions. Do not touch production storage, add fsync, change the export format, or claim that a successful flush means the file is durably persisted.
Your agent does
Buffered finalization bug found. The repair centralizes writer ownership, finalizes outer wrappers before inner close, propagates flush/close failures, and blocks false success without claiming durability.
What you get
About this skill
Buffered writers can report successful writes while bytes are still only in memory. Compression wrappers may require a final trailer, inner sinks may close too early, and finalization errors can disappear if success is acknowledged first.
Repair Buffered Flush Loss maps the writer stack, gives finalization one owner, propagates Flush/Close errors, prevents premature success, and proves ordering with deterministic failing-sink fixtures.
It does not claim flush equals fsync, disk durability, or remote receipt.
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
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
- 30-day refund guarantee
- One-time purchase, yours forever
- Secure checkout via Stripe
Frequently Asked Questions
Popular in Workflow Automation
it support desk
Diagnose and resolve 1st/2nd line IT issues with structured triage, health scripts, and escalation workflows.

Enterprise Automation Engineering Architect
Designs and upgrades business automation systems into modular, reliable, observable, secure, low-maintenance, enterprise-grade workflows.

skill miner
Analyzes your agent conversation history to find and automate your most frequent recurring tasks.

agent-skill-regression-tester
Teaches AI coding agents to build and run automated regression tests for SKILL.md files. When you update a skill that your team depends on, you need to know it still works — not just that it "looks ri