Claude
Skills
Sign in
Back

Workflow Validate

Included with Lifetime
$97 forever

Validates workflow YAML files to ensure structure and schema correctness.

General

What this skill does


# Workflow Validate

## Purpose
Ensures that workflow YAML files are valid before execution.
Checks required fields (`steps`, `skill`, `args`) and field types.

## How to Use
```bash
python skills/workflow.validate/workflow_validate.py workflows/example.yaml
```

## Inputs

* `workflow_path` – Path to the workflow file.

## Outputs

* JSON printed to stdout with `ok`, `errors`, `status`, and `path` fields.

## Example

Input (`invalid_workflow.yaml`):

```yaml
steps:
  - args: ["foo"]
```

Output:

```json
{
  "valid": false,
  "errors": ["Step 1 missing 'skill'"],
  "status": "failed"
}
```

## Dependencies

* `context.schema`

## Version

v0.1.0
Files: 4
Size: 15.1 KB
Complexity: 21/100
Category: General

Related in General