Real pipelines glue formats together
The shape of a typical pipeline
Many real workflows look like: fetch JSON → filter → transform → emit YAML / TOML / Markdown. The connective tissue is jq + yq + a templating step. Below: three pipelines you can adapt today.
Pipeline 1 — GitHub PR list to Markdown report
Fetch open PRs as JSON via gh, filter, format as Markdown table.
Pipeline 2 — pyproject.toml dependencies to a requirements list
Parse pyproject.toml, extract [project.dependencies], emit a flat requirements.txt.
Pipeline 3 — Kubernetes ConfigMap from a key-value YAML file
Read a flat YAML of env-var key/values, wrap in K8s ConfigMap shape.
Principle: the unix philosophy applies — small, composable, format-aware tools.
cat | yq | jq | python -c '...' > out is a real workflow. Resist the reflex to write a big script when 4 pipe-separated commands do the job in one line. Save it as a shell function once and reuse forever.