CtrlK
BlogDocsLog inGet started
Tessl Logo

workflow-engine

Machine-readable workflow DAG for the multi-step agent pipeline. Defines node types, edge conditions, gates, and fan-out patterns. USE FOR: Orchestrator step routing, resume-from-graph, workflow validation. DO NOT USE FOR: Azure infrastructure, code generation, troubleshooting.

73

Quality

66%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./.github/skills/workflow-engine/SKILL.md
SKILL.md
Quality
Evals
Security

Workflow Engine Skill

Provides a declarative, machine-readable workflow graph that the Orchestrator reads instead of relying on hardcoded step logic.

When to Use

  • Orchestrator determining the next step after a gate
  • Resuming a workflow via apex-recall show <project> --json
  • Validating that all steps have proper dependencies and outputs
  • Understanding fan-out (parallel sub-steps) and conditional routing

Core Concepts

DAG Model

The workflow is a Directed Acyclic Graph (DAG) with:

ConceptDescription
NodeA unit of work (agent step, gate, validation, or fan-out)
EdgeA dependency between nodes with a condition
GateA human approval point that blocks downstream nodes
Fan-outParallel execution of independent sub-steps (e.g., Step 7 docs)

Node Types

TypeDescriptionExample
agent-stepA step executed by a specific agentStep 1: Requirements
gateHuman approval checkpointGate after Step 1
subagent-fan-outParallel sub-step executionStep 7 doc generation
validationAutomated validation (lint, build, etc.)Bicep lint after Step 5

Edge Conditions

ConditionTrigger
on_completeSource node finished successfully
on_skipSource node was skipped (e.g., optional Step 3)
on_failSource node failed — routes to error handling

IaC Routing

Edges from Step 3 → Step 4 are conditional on decisions.iac_tool:

  • iac_tool: "Bicep" → routes to step-4b (IaC Planner)
  • iac_tool: "Terraform" → routes to step-4t (IaC Planner)

This pattern repeats for Steps 5 and 6.

Workflow Graph

The full machine-readable DAG is in: templates/workflow-graph.json

Reading the Graph (Orchestrator Protocol)

1. Load workflow-graph.json
2. Run `apex-recall show <project> --json` → current_step
3. Find the node matching current_step in the graph
4. Check node status:
   - complete → follow on_complete edges → find next node
   - in_progress → resume from sub_step checkpoint
   - pending → execute this node
   - skipped → follow on_skip edges
5. If next node is a gate → present to user, wait for approval
6. If next node is a fan-out → execute children in parallel
7. Repeat until all nodes are complete or blocked

Reference Index

ReferenceFileContent
Workflow Graphtemplates/workflow-graph.jsonFull DAG for the multi-step workflow
Orchestrator Handoffreferences/orchestrator-handoff-guide.mdGate templates, IaC routing, delegation rules
Subagent Integrationreferences/subagent-integration.mdSubagent matrix, pricing accuracy, review protocols
Repository
jonathan-vella/azure-agentic-infraops
Last updated
Created

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.