Agent skill

Workflow Validate

Validates workflow YAML files to ensure structure and schema correctness.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/workflow-validate

SKILL.md

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

Didn't find tool you were looking for?

Be as detailed as possible for better results