writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
metaflowGuides Metaflow workflow authoring, local and remote execution, client/data access, cards, dependency environments, deployment orchestration, and repository maintenance.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when a task involves the metaflow Python package, Metaflow flow scripts, Metaflow client objects, runtime decorators, cards, deployment backends, or maintaining the Metaflow repository. Metaflow is a workflow framework for building, running, observing, scaling, and deploying data science and ML systems from Python FlowSpec classes.
python -m pip install metaflow
python - <<'PY'
import metaflow
print(metaflow.__version__)
PY
export USERNAME=${USERNAME:-disco}
python flow.py --no-pylint check
python flow.py run --max-workers 1
python flow.py version
The top-level metaflow command has no --version option; flow scripts expose version as a subcommand.scripts/check_metaflow_environment.py.| User intent | Read |
|---|---|
Write, check, run, resume, or debug a local FlowSpec; use Parameter, Config, IncludeFile, foreach, or local decorators | sub-skills/flow-authoring/SKILL.md |
Run flows from Python code, notebooks, or subprocess wrappers with Runner, NBRunner, Deployer, or returned ExecutingRun objects | sub-skills/runner-and-programmatic/SKILL.md |
Query runs/artifacts/logs/tags through Flow, Run, Task, metadata, namespaces, datastores, or S3 datatools | sub-skills/client-and-data/SKILL.md |
Add or inspect Metaflow Cards, current.card, card CLI output, task logs, sidecars, or runtime observability | sub-skills/cards-and-observability/SKILL.md |
| Use AWS Batch, Kubernetes, Argo Workflows, Step Functions, Airflow, projects, schedules, events, secrets, or remote compute resources | sub-skills/deployment-orchestration/SKILL.md |
Configure @pypi, @conda, `--environment=conda | pypi |
| Modify this repository, choose tests, follow contributor policy, or work with devstack/stubs/R/package maintenance | sub-skills/repo-maintenance/SKILL.md |
references/api-and-cli-overview.md for verified public imports, high-level CLI groups, and common object names.references/troubleshooting.md for cross-cutting install/import, username, optional dependency, and source-dependency mistakes.references/repo-provenance.md before deciding whether this skill is current for a Metaflow checkout or should be refreshed.references/repo-routing-metadata.json provides structured routing metadata for managed repo-skill import.