/sql-database-pipeline:add-table [table-name]from sql-database-pipeline
Adds a new table or view to an existing dlt SQL database pipeline. Parses the pipeline file, researches the new table schema, and updates the source configuration.
Ships in sql-database-pipeline. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Extend an existing SQL database pipeline with a new table or view from the same source.
Parse $ARGUMENTS:
table-name (required): the table or view to add (e.g. "orders", "public.users", "vw_daily_summary")Read the pipeline .py file to understand:
sql_table (single resource) or sql_database (multiple resources)sqlalchemy, pyarrow, etc.)replace, merge, append)__main__ runs the pipeline (dev_mode, add_limit, with_resources)Connect to the DB or check the source DB docs to understand:
updated_at, created_at, id)sql_table — switch to sql_databaseIf the pipeline loads a single table with sql_table, switch to sql_database to handle multiple:
from dlt.sources.sql_database import sql_database
source = sql_database(
table_names=["existing_table", "new_table"],
backend="pyarrow", # match the existing backend
)
pipeline.run(source.add_limit(1), write_disposition="replace")
sql_database — add to table_namessource = sql_database(
table_names=["existing_table", "new_table"], # add here
)
Use with_resources() to load only the new table without re-loading existing ones:
source = sql_database(table_names=["existing_table", "new_table"])
pipeline.run(source.with_resources("new_table").add_limit(1))
Run the pipeline:
uv run python <name>_pipeline.py
Use debug-sql-database-pipeline after each run to inspect traces and load packages.
Check if the new table should adopt the same patterns as existing ones:
incremental, should the new one too?replace/merge/append unless there's a reason not toFlag any gaps to the user.
Table added: <table_name>
- Destination table: <normalized_name>
- Backend: <backend>
Load with:
source.with_resources("<table_name>") # just this table
source # all tables
Available tables: <list all table names>
validate-sql-database-data to check schemas and datadebug-sql-database-pipeline to inspect tracesadjust-tableWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub dlt-hub/dlthub-ai-harness --plugin sql-database-pipeline8 skills in this plugin
/adjust-tableAdjust a working dlt SQL database pipeline for production — remove dev limits, add incremental loading, configure merge keys. Use when the user wants to remove .add_limit(), load the full table, or set up incremental loading on a cursor column. For speed/memory tuning (backend, chunk size, parallelism) use optimize-sql-performance instead. For inspecting loaded data or fixing column types/schema after a load, use validate-sql-database-data instead./create-sql-database-pipelineCreate a dlt pipeline from a SQL database source (postgres, mysql, mssql, oracle, sqlite, or any SQLAlchemy-supported database). Use when the user wants to load tables from a relational database to a destination like DuckDB, BigQuery, or Snowflake. Not for REST APIs or file sources./debug-sql-database-pipelineDebug and inspect a dlt SQL database pipeline after running it. Use after a pipeline run (success or failure) to inspect traces, load packages, schema, and diagnose errors like connection failures, missing credentials, driver issues, or failed load jobs./find-sql-database-sourceFind and explore a SQL database source for a dlt pipeline. Use when the user wants to load data from a relational database (postgres, mysql, mssql, oracle, sqlite, or any SQLAlchemy-supported database), mentions a database connection, wants to discover available tables, or asks to build a pipeline from a SQL source./optimize-sql-performanceSpeed up a dlt SQL database pipeline. Use when extraction from a relational database (postgres, mysql, mssql, oracle, snowflake, etc.) is slow or memory-heavy and the user wants to optimize it — pick a faster backend, tune chunk size, parallelize tables, or reduce reflection overhead. For first-time incremental/merge setup or removing .add_limit() use adjust-table instead./validate-sql-database-dataValidate schema and data after a successful dlt SQL database pipeline load. Use when the user wants to check if loaded data looks correct, inspect table schemas, fix data types, or verify column mappings from the source database.Other plugins' skills for the same job