AGENT SKILL

stacks-and-integrations

Register, configure, and extend ZenML stacks, stack components, integrations, service connectors, materializers, orchestrators, step operators, artifact stores, container registries, image builders, and optional dependency boundaries.

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

01 前言 Front Matter

name
stacks-and-integrations
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Register, configure, and extend ZenML stacks, stack components, integrations, service connectors, materializers, orchestrators, step operators, artifact stores, container registries, image builders, and optional dependency boundaries.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

ZenML Stacks and Integrations

Use this sub-skill when a task mentions ZenML stacks, stack components, flavors, integrations, service connectors, materializers, orchestrators, step operators, artifact stores, container registries, image builders, Docker/Podman image builds, remote execution backends, cloud credentials, or missing optional SDK extras.

Route First

  • Read references/component-patterns.md for stack registration, stack validation, component config/settings, service connector use, materializer contracts, and remote image-building requirements.
  • Read references/integration-development.md before adding or changing an integration package, flavor, orchestrator, step operator, image builder, container registry, artifact store, or optional dependency boundary.
  • Read references/troubleshooting.md when imports, extras, service connectors, stack validation, Docker, image builds, orchestrator IDs, or step-operator lifecycle behavior fail.
  • Run scripts/check_optional_imports.py from an active ZenML checkout before finishing integration flavor changes that may import optional SDKs.

Boundaries

  • Own stack infrastructure and integration authoring/import safety; for using DockerSettings, ResourceSettings, schedules, materializers, or stack settings inside user pipelines, cross-read ../pipeline-authoring/SKILL.md.
  • Own component-level and integration-level validation rules; for repository-wide test selection, formatting, linting, documentation, dependency, or CI workflow choices, cross-read ../maintenance/SKILL.md.
  • Use ../cli-and-client/SKILL.md for CLI/client resource listing, filters, project/server login, and stack-management commands when the task is usage-focused rather than implementation-focused.
  • Do not duplicate server/store internals here; route FastAPI, SQLModel, migrations, RBAC, and store schema work to the server/store sub-skill.

Non-Negotiable ZenML Rules

  • Keep optional third-party SDK imports out of integration flavor module top level; config classes in flavor files should use standard library, Pydantic, and ZenML core types only.
  • Import implementation classes lazily inside implementation_class properties, and use TYPE_CHECKING blocks for optional implementation type hints.
  • For remote orchestrators and step operators, validate remote artifact stores, container registries, required image builders, and remote server requirements before runtime submission.
  • get_orchestrator_run_id() must return one stable ID for every step in a pipeline run and a unique ID across different runs; dynamic retry paths must preserve the same orchestration-environment ID.
  • New step operators should implement submit(), get_status(), wait(), and cancel(); store backend job IDs immediately after submission so polling and cancellation can recover.

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