Agent Skill · cast

implement-cwl-workflow-test

Assemble CWL job file(s) and expected-output assertions.

← 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:implement-cwl-workflow-test

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:

$implement-cwl-workflow-test

Skill Bundle

/ packaged cast
attached files
0
upfront
0
on demand
0
cast rev
n/a
validated
0

Produces: 1 artifact.

Consumes: 2 artifacts.

Artifact Contract

/ skill handoff

Produces

cwl-workflow-test

CWL job file(s) with inputs and expected-output assertions for the implemented workflow.

yamlcwl-job.yml
Raw artifact contract
{
  "id": "cwl-workflow-test",
  "kind": "yaml",
  "default_filename": "cwl-job.yml",
  "description": "CWL job file(s) with inputs and expected-output assertions for the implemented workflow."
}

Consumes

cwl-test-plan

Reviewable CWL test plan from [[nextflow-test-to-cwl-test-plan]] (or future CWL test-plan producers); job, fixture, assertion provenance.

Raw artifact contract
{
  "id": "cwl-test-plan",
  "description": "Reviewable CWL test plan from [[nextflow-test-to-cwl-test-plan]] (or future CWL test-plan producers); job, fixture, assertion provenance.",
  "producers": [
    "nextflow-test-to-cwl-test-plan"
  ]
}

cwl-workflow-draft

CWL Workflow being tested; provides input/output ports and shapes the job + assertions must match.

Raw artifact contract
{
  "id": "cwl-workflow-draft",
  "description": "CWL Workflow being tested; provides input/output ports and shapes the job + assertions must match.",
  "producers": [
    "implement-cwl-tool-step",
    "summary-to-cwl-template"
  ]
}

SKILL.md


# implement-cwl-workflow-test

Follow the procedure below and use the artifact/reference sections as the runtime contract.

## When To Use

- Assemble CWL job file(s) and expected-output assertions.

## Inputs

- Read artifact `cwl-test-plan`. Produced by `nextflow-test-to-cwl-test-plan`. Reviewable CWL test plan from nextflow-test-to-cwl-test-plan (or future CWL test-plan producers); job, fixture, assertion provenance.
- Read artifact `cwl-workflow-draft`. Produced by `implement-cwl-tool-step`, `summary-to-cwl-template`. CWL Workflow being tested; provides input/output ports and shapes the job + assertions must match.

## Outputs

- Write artifact `cwl-workflow-test` as `cwl-job.yml`. Format: `yaml`. CWL job file(s) with inputs and expected-output assertions for the implemented workflow.

## 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

Assemble the CWL job file(s) and expected-output assertions for the drafted workflow from its reviewed nextflow-test-to-cwl-test-plan test plan and the workflow's input/output ports.

## 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.