Skip to content
Back to skills

Workflow Authoring

ASecurity

"Author, inspect, validate, and troubleshoot Solace Agent Mesh

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
testingpythonbashnodedocumentation

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill workflow-authoring --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Workflow Authoring?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Workflow Authoring
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-workflow-authoring-60f7a983/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-workflow-authoring-60f7a983)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: workflow-authoring
description: "Author, inspect, validate, and troubleshoot Solace Agent Mesh
  workflow YAML/configs without starting live services."
disable-model-invocation: true
metadata:
  disco-role: operating
  repo: solace-agent-mesh
  package: solace-agent-mesh
license: Apache 2.0
---

# Workflow authoring

Use this sub-skill when the task is to author, inspect, dry-validate, or troubleshoot a Solace Agent Mesh (SAM) workflow configuration that uses `app_module: solace_agent_mesh.workflow.app` and an `app_config.workflow` DAG.

Do **not** use this sub-skill for:

- Creating a SAM project scaffold or generated app layout; route to `project-bootstrap`.
- Starting brokers, gateways, agents, or workflow executions; route to `runtime-operations`.
- Authoring or running `sam eval` suites; route to `evaluation`.

## Fast path

1. Locate the workflow app config:
   - Full SAM app files normally place workflows under `apps[]` with `app_module: solace_agent_mesh.workflow.app`.
   - The model-validated payload is the nested `app_config` object.
2. Check fields and examples in [references/workflow-schema.md](references/workflow-schema.md).
3. Check data/template behavior in [references/template-resolution.md](references/template-resolution.md).
4. Run the bundled dry validator before any live run:

   ```bash
   python sub-skills/workflow-authoring/scripts/validate_workflow_config.py path/to/workflow.yaml
   ```

   Add `--json` for machine-readable output, `--app WorkflowName` to select one workflow app in a multi-app file, or `--self-test` to exercise the validator on an embedded tiny fixture.
5. If validation fails or behavior is confusing, use [references/troubleshooting.md](references/troubleshooting.md) to map the symptom to a concrete config fix.

## Safety boundaries

- The validator and guidance here only parse YAML and validate package/static schema. They must not start brokers, LLM providers, gateways, tasks, or workflow execution.
- Keep actual runtime service checks, `sam run`, task submission, REST gateway checks, and UI verification outside this sub-skill.
- SAM workflows are experimental; when source examples and installed package validation disagree, prefer the installed package schema and document the mismatch.

## Minimal authoring checklist

- `app_config.name` is present; it becomes the workflow agent identity.
- `app_config.namespace` is present for A2A topics.
- `workflow.description`, `workflow.nodes`, and `workflow.output_mapping` are present.
- Every node has a unique `id` and one of the supported `type` values: `agent`, `workflow`, `switch`, `map`, or `loop`.
- Every `depends_on`/`dependencies`, switch branch, map target, loop target, and exit handler points to an existing node.
- Switch branch target nodes list the switch node in `depends_on`; otherwise branch handlers can run too early.
- Map nodes set exactly one item source: `items`, `withParam`, or `withItems`.
- Agent/workflow node timeouts use duration strings like `30s`, `5m`, `1h`, `1d`, or numeric seconds.
- Template paths used in `input`, `instruction`, conditions, and `output_mapping` match the producing node outputs.

## Provenance distilled

This sub-skill was distilled from SAM workflow documentation, example workflow YAML files, workflow implementation modules, workflow unit tests for Pydantic models, DAG logic, template resolution, safe conditional evaluation, and map/loop workflow target behavior. The runtime files are self-contained and do not require opening those source files.

Files in this skill

  • SKILL.md3.5 KB
  • references/template-resolution.md7.2 KB
  • references/troubleshooting.md10.5 KB
  • references/workflow-schema.md14.7 KB
  • scripts/validate_workflow_config.py32.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.