What problem does it solve?
This Skill helps you set up and manage PgFlow DAG workflows in a Phoenix/Elixir app so background orchestration no longer depends on Redis queues or external schedulers.
Core Features & Use Cases
- Bootstrap a Phoenix integration: install PgFlow deps, copy migrations, configure PgFlow, and add supervision tree wiring.
- Scaffold workflow components: generate new flow modules, job modules, and add steps to existing flows with database compilation.
- Operate and observe executions: mount the PgFlow dashboard, create LiveViews for real-time tracking, and inspect runs/debug failures (statuses, step states, errors, and retries).
- Use Case: You need a reliable order-processing pipeline (validate → process → finalize) with retries and visibility; use PgFlow to compile it to database, enqueue runs, and debug step-level failures from the dashboard or via
/pgflow debug.
Quick Start
Ask the AI to: Add PgFlow to my Phoenix app and walk me through creating a first flow, compiling it to the database, and starting a run.