AGENT SKILL

checkpoints-actions-and-data-docs

Build, save, and run GX Checkpoints; configure actions, notifications, custom actions, and local Data Docs updates safely.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
checkpoints-actions-and-data-docs
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Build, save, and run GX Checkpoints; configure actions, notifications, custom actions, and local Data Docs updates safely.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

Checkpoints, Actions, and Data Docs

Use this sub-skill when a task needs production-style Great Expectations orchestration: running one or more saved validations through a Checkpoint, updating Data Docs, sending notifications, or adding custom post-validation actions.

Route by task

  • Read Checkpoint API to construct gx.Checkpoint, persist it with context.checkpoints, pass batch_parameters and expectation_parameters, choose checkpoint result formats, and summarize CheckpointResult objects.
  • Read Actions and notifications before adding UpdateDataDocsAction, SlackNotificationAction, EmailAction, or a custom ValidationAction; this reference covers notify_on, notify_with, credential safety, and no-network tests.
  • Read Data Docs when configuring local or networked Data Docs sites, calling context.build_data_docs(), opening docs, or diagnosing stale docs.
  • Read Troubleshooting when checkpoints have no validation definitions, notification credentials are missing, Slack/email sends happen unexpectedly, Data Docs are absent/stale, results are too verbose, or custom action payloads do not match.
  • Run scripts/run_checkpoint_smoke.py for a tiny no-network checkpoint smoke workflow that builds an ephemeral pandas validation, runs a checkpoint, and optionally exercises a safe local UpdateDataDocsAction in a temporary file project.

Prerequisite routes

  • For context mode, file-project persistence, config variables, and credential substitution, read ../contexts-and-configuration/SKILL.md.
  • For datasource, asset, and batch-definition setup, read ../datasources-and-assets/SKILL.md.
  • For expectation suites and custom expectations, read ../expectations-and-suites/SKILL.md.
  • For validation-definition creation, result interpretation, and unexpected rows, read ../validations-and-results/SKILL.md.

Core public APIs

  • Import GX as import great_expectations as gx.
  • Import actions from great_expectations.checkpoint or great_expectations.checkpoint.actions, including UpdateDataDocsAction, SlackNotificationAction, EmailAction, and ValidationAction.
  • Construct checkpoints with gx.Checkpoint(name=..., validation_definitions=[...], actions=[...], result_format=...).
  • Persist checkpoints with context.checkpoints.add(...) or context.checkpoints.add_or_update(...); retrieve with context.checkpoints.get(name) and list/delete with all() and delete(name).
  • Run checkpoints with checkpoint.run(batch_parameters=..., expectation_parameters=..., run_id=...) and inspect result.success, result.run_results, and result.describe_dict().

Guardrails

  • Never place real Slack webhooks, bot tokens, SMTP passwords, or recipient lists in code, generated skills, logs, or committed GX config; use config variables or environment substitution.
  • Do not include Slack/email actions in smoke tests unless the test explicitly mocks network calls; notification actions call external APIs when notify_on matches the result.
  • Put UpdateDataDocsAction before notification actions for readability, even though GX prioritizes Data Docs actions internally so notification renderers can use fresh docs links.
  • Prefer SUMMARY or BASIC for routine checkpoint runs; reserve COMPLETE for bounded diagnostics because it can inflate stored validation results and notification payloads.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351