L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

cards-and-observability

cards-and-observability

Guides Metaflow Cards, current.card customization, card CLI workflows, task logs, sidecars, and observability troubleshooting.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: cards-and-observability description: "Guides Metaflow Cards, current.card customization, card CLI workflows, task logs, sidecars, and observability troubleshooting." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Cards and Observability

Use this sub-skill when the task involves @card, current.card, card components, card CLI commands, runtime card refreshes, task stdout/stderr logs, or sidecar/logging behavior.

Quick Route

Minimal Card Pattern

from metaflow import FlowSpec, card, current, step
from metaflow.cards import Markdown

class CardFlow(FlowSpec):
    @card(type="default", id="summary", customize=True)
    @step
    def start(self):
        current.card.append(Markdown("# Run summary"))
        self.next(self.end)

    @step
    def end(self):
        pass

After a run, use python flow.py card list <pathspec> or python flow.py logs show <task-pathspec> depending on the evidence needed.

Boundaries

Skills enregistrées