Skip to content
Back to skills

Workflow Authoring

ASecurity

"Write, refactor, and troubleshoot Snakemake 9.23.1 Snakefiles,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
code-qualitypythonshellbashdebuggingrefactoringapi

Works with

  • cli
  • api

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-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-workflow-authoring-arex-skill)

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: "Write, refactor, and troubleshoot Snakemake 9.23.1 Snakefiles,
  rules, wildcards, modules, checkpoints, includes, and
  script/notebook/wrapper/CWL hooks."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Workflow Authoring

Use this sub-skill when the task is about Snakefile language semantics or DAG construction: rules, wildcards, directives, helper functions, `expand()`, `glob_wildcards()`, `multiext()`, output flags, includes, modules, checkpoints, scripts, notebooks, wrappers, CWL hooks, and authoring-time validation.

## Route by Task

- **Rule syntax or helper APIs**: read `references/language-reference.md` for Snakemake 9.23.1 rule anatomy, wildcard behavior, input functions, shell formatting, output flags, and hook directives.
- **Refactoring workflow structure**: read `references/workflow-patterns.md` for safe patterns around named IO, reusable rule files, modules, checkpoints, ambiguity reduction, and script extraction.
- **Authoring errors**: read `references/troubleshooting.md` for parser/syntax errors, wildcard ambiguity, `MissingInputException`, `InputFunctionException`, checkpoint misuse, module surprises, optional script/notebook dependencies, and stale `--reason` commands.
- **Starter example**: run `python scripts/minimal_snakefile.py --help` or generate a tiny isolated workflow with `python scripts/minimal_snakefile.py --output-dir demo-workflow`.

## Boundaries

- Use `../configuration-data/SKILL.md` for config files, schemas, tabular metadata, PEP/sample sheets, and validation policy beyond simple Snakefile reads.
- Use `../execution-cli/SKILL.md` for CLI flags, profiles, targets, scheduling, resources at execution time, and dry-run strategy beyond authoring smoke checks.
- Use `../deployment-storage/SKILL.md` for conda, containers, wrappers with environment setup, storage plugins, and remote provider credentials.
- Use `../debugging-reporting/SKILL.md` for lint/report/test artifacts, CI, generated reports, benchmark outputs, and deep runtime debugging.
- Use `../python-api-plugins/SKILL.md` for programmatic execution through Snakemake Python APIs or plugin development.

## Default Authoring Validation

From the workflow directory, prefer a current Snakemake 9.23.1 loop:

```bash
snakemake --snakefile Snakefile --cores 1 --dry-run --printshellcmds
snakemake --snakefile Snakefile --cores 1 --dry-run --dag > dag.dot
python -m snakemake --help
```

Do not copy older commands that use `--reason`; Snakemake 9.23.1 does not accept that flag, although dry-run output still reports job reasons.

Files in this skill

  • SKILL.md2.6 KB
  • references/language-reference.md13 KB
  • references/troubleshooting.md9.1 KB
  • references/workflow-patterns.md8.7 KB
  • scripts/minimal_snakefile.py2.8 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.