Agent Skill · cast validate-cwl
Run cwltool --validate / schema lint, classify failures, recommend fixes.
← All cast skills · Source mold →
Install with Claude Code
/plugin marketplace add galaxyproject/foundry
/plugin install foundry-skills@galaxy-workflow-foundry
Then invoke as:
/foundry-skills:validate-cwl
Install with Codex
codex plugin marketplace add galaxyproject/foundry
codex plugin add foundry-skills@galaxy-workflow-foundry
Then select with /skills or invoke explicitly as:
$validate-cwl
Skill Bundle
/ packaged cast
- attached files
- 0
- upfront
- 0
- on demand
- 0
- cast rev
- n/a
- validated
- 0
Artifact Contract
/ skill handoff Consumes
cwl-workflow-draft
Assembled CWL Workflow to validate — the `cwl-workflow-draft.cwl` from [[implement-cwl-tool-step]] (`class: Workflow`); the build result `cwltool --validate` and schema lint run against.
Raw artifact contract
{
"id": "cwl-workflow-draft",
"description": "Assembled CWL Workflow to validate — the `cwl-workflow-draft.cwl` from [[implement-cwl-tool-step]] (`class: Workflow`); the build result `cwltool --validate` and schema lint run against.",
"producers": [
"implement-cwl-tool-step",
"summary-to-cwl-template"
]
}
SKILL.md
# validate-cwl
Follow the procedure below and use the artifact/reference sections as the runtime contract.
## When To Use
- Run cwltool --validate / schema lint, classify failures, recommend fixes.
## Inputs
- Read artifact `cwl-workflow-draft`. Produced by `implement-cwl-tool-step`, `summary-to-cwl-template`. Assembled CWL Workflow to validate — the `cwl-workflow-draft.cwl` from implement-cwl-tool-step (`class: Workflow`); the build result `cwltool --validate` and schema lint run against.
## Outputs
- None declared.
## Required Tools
- None declared. Procedure should not assume external CLIs are present.
## Load Upfront
- None declared.
## Load On Demand
- None declared.
## Validation
- None declared.
## Procedure
Run `cwltool --validate` and schema lint over the assembled CWL workflow, classify each diagnostic, and recommend a concrete fix — routing failures back to the authoring step that owns them.
## Runtime Notes
- Do not read Foundry source files at runtime; use only files packaged in this skill bundle and user-supplied artifacts.
- Preserve declared artifact filenames unless the user or harness supplies explicit paths.
- Carry unresolved assumptions into the output artifact instead of silently inventing missing source evidence.