技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
contexts-and-configuration【数据与研究】Choose and configure Great Expectations Data Contexts, metadata stores, credentials, Data Docs, analytics, and import sanity checks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task needs a Great Expectations (GX Core) Data Context, project configuration, safe credential substitution, metadata-store/Data Docs settings, analytics toggles, or a quick import/context sanity check.
gx.get_context(mode="ephemeral") for temporary in-memory work, gx.get_context(mode="file", project_root_dir=...) or context_root_dir=... for persisted projects, and avoid Cloud mode in this GX Core line because Cloud construction raises a shutdown error.../datasources-and-assets/SKILL.md, expectation suites to ../expectations-and-suites/SKILL.md, validation runs to ../validations-and-results/SKILL.md, and checkpoint/Data Docs action orchestration to ../checkpoints-actions-and-data-docs/SKILL.md.context.variables.config, call context.variables.save(), and re-initialize the context so stores, Data Docs sites, analytics, and substitutions take effect.config_variables.yml, runtime_environment, or supported secret-manager references.gx.get_context arguments, diagnosing file-vs-ephemeral persistence, or understanding context managers and stores.DataContextConfig, config variables, environment substitutions, store paths, Data Docs sites, or analytics toggles.gx.get_context, context mode/type, managers, store names, and optional file-context scaffolding.From this sub-skill directory, run the bundled helper with no arguments for an ephemeral context sanity check:
python scripts/inspect_context.py
From the root great-expectations/ skill directory, use the full sub-skill path:
python sub-skills/contexts-and-configuration/scripts/inspect_context.py
Run it against a disposable or intended file project root when you need to prove file-mode scaffolding/loading works:
python sub-skills/contexts-and-configuration/scripts/inspect_context.py --mode file --project-root-dir ./gx-project
The helper prints a compact JSON summary and does not print absolute project paths or credentials.