Backend Export/Import Skill

Export and import user tasks via CSV and JSON with per-user isolation.

1|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/Mehakanis/Q4_todo_app --skill backend-export-import-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Backend Export/Import Skill
Source: https://github.com/Mehakanis/Q4_todo_app/tree/main/.claude/skills/backend-export-import
Command: npx skills add https://github.com/Mehakanis/Q4_todo_app --skill backend-export-import-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Backend Export/Import Skill provides a structured, secure blueprint for exporting and importing user tasks in CSV and JSON formats. It ensures per-user isolation, robust validation, and transactional integrity during imports, enabling safe data transfer between environments or services.

Core Features & Use Cases

  • Export Endpoints: Generate CSV or JSON exports for a user's tasks with proper content types and filename conventions.
  • Import Endpoints: Validate uploaded CSV/JSON files, provide import statistics, and commit imports atomically with error reporting.
  • Validation & Security: Enforce field validation, user_id verification against authentication tokens, and error handling to prevent partial data corruption.

Quick Start

Invoke the export endpoint for a user to generate a data file and then invoke the import endpoint with that file to restore tasks.

Frequently Asked Questions about Backend Export/Import Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I securely import user tasks from a CSV file into a backend system?

To securely import user tasks from a CSV file, the backend must enforce authentication, validate data fields, and commit changes atomically. This ensures per-user isolation and prevents partial data corruption through rollback on import errors.

What is the best way to export user tasks to JSON with per-user isolation?

The best way to export user tasks to JSON with per-user isolation is to verify user_id against authentication tokens. The export endpoint then generates a JSON file with proper content types and filename conventions while ensuring no cross-user data leakage.

How does transactional integrity work during bulk JSON imports?

Transactional integrity during bulk JSON imports works by committing data changes atomically. The system validates the uploaded file fully, provides import statistics, and rolls back the entire transaction if any validation or import error occurs, preventing partial data corruption.

Can I validate uploaded CSV files before importing them into the database?

Yes, you can validate uploaded CSV files before importing them into the database. The import workflow enforces strict field validation and user_id verification against authentication tokens prior to committing, providing detailed error reporting for any invalid data entries.

Why does my bulk task import result in partial data corruption?

Partial data corruption during bulk task import occurs when transactional integrity is missing. Implementing atomic commits and rollbacks with strict validation and error handling ensures that if validation fails, the entire import process is aborted safely.

Does the Backend Export/Import Skill handle both CSV and JSON formats?

Yes, the Backend Export/Import Skill handles both CSV and JSON formats. It automates exporting and importing user tasks in either format using dedicated parsers, enforcing validation, per-user isolation, and transactional guarantees for safe data transfer.