ingesting-data

Implements data ingestion pipelines from cloud storage, APIs, files, and streaming sources into databases.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/masermediagroup-stack/maser-media --skill ingesting-data-masermediagroup-stack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ingesting-data
Source: https://github.com/masermediagroup-stack/maser-media/tree/main/.cursor/skills/community/ai-design-components/skills/ingesting-data
Command: npx skills add https://github.com/masermediagroup-stack/maser-media --skill ingesting-data-masermediagroup-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires boto3, polars, and includes scripts (resource) and references (resource) components.

What problem does it solve? Getting external data into databases reliably requires handling many source types, formats, and failure modes. This Skill provides proven patterns and ready-to-use code for loading data from S3, GCS, APIs, files, and streaming platforms without building ingestion logic from scratch. ## Core Features & Use Cases - Multi-Source Ingestion Patterns: Covers batch file loading (CSV, JSON, Parquet, Excel), cloud storage (S3, GCS, Azure Blob), REST/GraphQL API feeds, streaming (Kafka, Kinesis, Pub/Sub), and Change Data Capture from databases. - Multi-Language Code Examples: Provides working implementations in Python (dlt, polars, boto3), TypeScript (AWS SDK, kafkajs, Hono), Rust, and Go. - Validation & Scaffolding Scripts: Includes scripts to validate CSV schemas, test S3 connectivity, and generate dlt pipeline scaffolds. - Use Case: You need to load daily CSV exports from an S3 bucket into PostgreSQL with deduplication and schema validation. This Skill gives you the chunked reading pattern, idempotency checks, and batch insert code to do it. ## Quick Start Ask the AI to build a data ingestion pipeline that loads CSV files from an S3 bucket into PostgreSQL with schema validation and incremental loading.

Frequently Asked Questions about ingesting-data

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

FAQPage Schema
How do I load CSV files from S3 into a database with Python?

Use boto3 to download objects from S3 and polars to parse CSV in chunks, then write batches to your database with write_database. For large files over 100MB, use chunked reading with read_csv_batched to avoid memory issues.

What Python library should I use for ETL pipelines?

dlt (data load tool) is recommended for Python-first ETL with automatic schema evolution and incremental loading. Meltano or Airbyte fit better when you need hundreds of pre-built connectors, and Dagster suits complex orchestration needs.

How do I handle API pagination when ingesting data?

Use cursor-based pagination by tracking a cursor or updated_at timestamp and passing it as a query parameter on each request. Store the cursor after each run so subsequent loads only fetch new or updated records.

Does Kafka consumption support exactly-once delivery?

Kafka consumers achieve exactly-once semantics through idempotent processing: store processed event IDs in the database and skip duplicates within a transaction. Disable auto-commit and commit offsets manually only after successful processing.

Why does my CSV ingestion fail on large files?

Loading entire large files into memory causes failures on files over 100MB. Use chunked or streaming readers like polars read_csv_batched or papaparse step callbacks to process data in batches instead.

How do I validate CSV data before inserting into a database?

Validate column names, data types, null constraints, and uniqueness before insertion using the included validate_csv_schema.py script or Pandera schemas. Rejecting bad data at ingestion prevents corrupt records downstream.