技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
datasources-and-assets【数据与研究】Connect GX Core data sources, data assets, batch definitions, and optional backends.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task needs to connect GX Core to data before suites, validations, or checkpoints can run. It covers fluent datasource factories, dataframe/file/SQL assets, batch definitions, batch parameters, and optional backend dependency troubleshooting.
../contexts-and-configuration/SKILL.md when the task involves file projects, ephemeral contexts, config variables, or Cloud mode.references/fluent-datasource-api.md.batch_parameters from references/batch-definitions.md.references/optional-backends.md and references/troubleshooting.md before changing code.references/fluent-datasource-api.md to choose context.data_sources CRUD methods, fluent datasource factories, pandas/filesystem/SQLite/SQL assets, and table/query patterns.references/batch-definitions.md to define dataframe, file, directory, SQL table/query batches and diagnose required batch parameter keys.references/optional-backends.md before using Spark, cloud storage, warehouses, SQLAlchemy drivers, credentials, or backend-specific extras.references/troubleshooting.md when datasource creation, asset discovery, batch lookup, pandas reader options, SQL queries, or credentials fail.scripts/smoke_datasource_asset.py --help to inspect a safe local smoke helper; run it to prove that an ephemeral context can create pandas dataframe and local CSV filesystem assets without network or credentials.../contexts-and-configuration/SKILL.md.../expectations-and-suites/SKILL.md after a batch is available.batch_parameters, result formats, and unexpected rows, use ../validations-and-results/SKILL.md.../checkpoints-actions-and-data-docs/SKILL.md after validations are defined.add_pandas for in-memory dataframes, add_pandas_filesystem for local/network files, add_sqlite for SQLite, or add_sql/warehouse factories for other SQL engines.add_dataframe_asset; filesystem assets use file reader assets such as add_csv_asset, add_excel_asset, or add_parquet_asset; SQL assets use add_table_asset or add_query_asset.asset.get_batch_parameters_keys(partitioner=batch_definition.partitioner) and call batch_definition.get_batch(batch_parameters=...) with only those keys.BatchDefinition to validation code rather than embedding datasource setup inside suites or checkpoints.