Make Data Imports Safe To Rerun

    1

    Repair fragile CSV, JSON, API, and database import scripts so they can be rerun safely.

    Secure checkout via Stripe

    0 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    See it in action

    You say

    My python script imports products from products.csv into Postgres, but it keeps timing out and creating duplicate entries when I restart it. Fix the idempotency.

    Your agent does

    Import Detected: CSV to Postgres (Python/SQLAlchemy) Safety Changes Applied: - Implemented upsert logic using 'product_sku' as a unique business key. - Added batch processing (100 rows) with transaction commits. - Created a '.import_checkpoint' file to track the last processed row index.

    What you get

    Convert fragile one-off import scripts into repeatable ETL pipelines.Add checkpointing to resume long-running migrations after failures.Implement safe dry-run modes to preview data changes before committing.Standardize error handling by quarantining invalid rows for manual review.

    About this skill

    The problem

    Data imports often fail halfway, create duplicates on retry, or lack proper validation. Developers waste time manually cleaning up database corruption or writing custom recovery logic for every new ETL script.

    What it does

    • Analyzes import scripts to identify duplicate risks and partial-failure vulnerabilities.
    • Implements idempotent logic like upserts, unique constraints, and record fingerprinting.
    • Adds dry-run modes and validation layers to catch errors before data hits the database.
    • Builds checkpointing systems to allow interrupted migrations to resume exactly where they stopped.
    • Configures quarantine mechanisms for rejected rows so invalid data doesn't block the entire import.

    Frameworks & tools

    Works with CSV, JSON, SQL, and API-based data flows. Compatible with any environment where code can be edited or shell commands executed to verify database state.

    Why this beats prompting it yourself

    Standard LLM prompts often overlook edge cases like transaction boundaries, race conditions, or memory exhaustion in large batches. This skill enforces a strict integrity-first hierarchy, ensuring recovery and deduplication are baked into the architecture rather than added as an afterthought.

    Use cases

    • Fixing a legacy CSV import script that duplicates users every time it runs.
    • Adding a resume feature to a large-scale database migration that keeps timing out.
    • Implementing a dry-run flag for a production API sync to verify transformations.
    • Building a robust ETL pipeline that isolates malformed records in a quarantine table.

    Known limitations

    Cannot guarantee idempotency if no stable record identity or business key exists. Requires explicit approval before executing against production systems.

    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

    Listedtoday

    Frequently Asked Questions