跳到正文
cccskills
免费在 GitHub 公开

rseng-workflows

Covers building, choosing, discovering, describing, and sharing computational workflows with workflow management systems - when to move off ad-hoc scripts onto a WMS, how to make workflows FAIR, and where to find or register them. Use when the user asks how to automate a multi-step data pipeline, mentions Snakemake, Nextflow, CWL, WDL, Galaxy, Apache Airflow, Parsl, nf-core, or WorkflowHub, wants to pick a workflow engine, package a workflow with RO-Crate metadata, or make an analysis pipeline reproducible and reusable.

中文简介正在准备中。当前显示原文说明。

fdiblen/rseng-agent-skills星标 24(GitHub 24 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md8.3 KB
  • references.md524 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Computational workflows

Use this skill when a user is automating a multi-step, often multi-tool data analysis or data-handling pipeline and wants it to be reproducible, scalable, and shareable. A computational workflow is a special kind of software that describes what should be done - a series of actions and the data flowing between them - and hands the how (scheduling, resource management, provenance tracking) to a workflow management system. Steer toward this approach when automation would boost efficiency, when analyses must be re-run across many datasets, or when infrastructures need integrating without reworking existing processes.

When to adopt a workflow manager

Treat these as triggers to move a user off ad-hoc glue and onto a WMS:

  • The pipeline chains multiple tools/scripts and is run repeatedly, on new data, or by other people.
  • Steps must run on an HPC cluster or cloud, or need parallelism the laptop cannot provide.
  • Reproducibility, provenance, or transparent documentation is a requirement (publication, review, regulatory, or "future self" reruns).
  • A hand-written Bash script or a notebook full of ordered cells has become hard to maintain, extend, or share - the classic failure mode of the manual "set of instructions" approach.

Recognise the spectrum, and place the user on it rather than forcing a jump:

  • General-purpose scripting (Bash) - lowest ceremony, hardest to maintain and share at scale.
  • Electronic research notebooks (Jupyter, RStudio, Apache Zeppelin) - ordered stages, good for exploration, still manual plumbing.
  • Dedicated WMS - highest automation, reproducibility, and scalability because it separates inputs from data flow and abstracts the run mechanics behind a high-level definition language.

In practice these combine: a WMS can chain simple scripts, launched from a notebook. Do not oversell a WMS for a one-off, single-step script.

Choose a workflow system

There is no universal best engine; the choice is driven by community, facility, and environment. Work through these factors with the user before naming a tool:

  • Domain and community - scientific communities standardise around particular systems (e.g. REANA for particle physics; Galaxy, Snakemake, and Nextflow with deep roots in the life sciences). Matching the community buys shared workflows, documentation, and support.
  • Facility and computing infrastructure - the target cluster or cloud may only support or optimise certain engines; this matters most when scaling.
  • Availability of ready-made workflows, docs, and user support in that domain.

Common systems and their definition languages (pair the engine with its language when advising):

  • Nextflow - Nextflow DSL.
  • Snakemake - Snakefile.
  • Galaxy - browser-based, workflow repository and ToolShed.
  • Apache Airflow - Airflow DAGs (Python).
  • Parsl - Python-native parallel workflows.
  • Cross-engine definition standards worth knowing: Common Workflow Language (CWL) and Workflow Description Language (WDL), which several registries and engines accept.

For a rigorous comparison, point users to "A Terminology for Scientific Workflow Systems", which classifies 23 WMSs by composition, orchestration, data management, and metadata capture, and to the domain review papers for life-sciences engine choice.

Discover before you build

Reusing an existing workflow beats writing one from scratch - it saves time, avoids duplication, and inherits peer-reviewed, validated building blocks, which raises trust in results and aids reproducibility. Advise users to search registries first, then register their own so others can reuse them.

Point to the right registry for the context:

  • WorkflowHub - cross-discipline FAIR workflow registry, strong life-science uptake; auto-registers nf-core workflows.
  • nf-core - curated, community-reviewed Nextflow pipelines.
  • Dockstore - registry supporting CWL, WDL, Nextflow, and Galaxy.
  • Galaxy ToolShed / Galaxy workflow repository - Galaxy-compatible tools and workflows.
  • REANA - reusable, reproducible analyses in particle physics and related fields.
  • GESIS Methods Hub - emerging hub for social-science and digital behavioural workflows.
  • GitHub / GitLab - general-purpose sharing alongside code and docs; note that GitHub search treats some workflow languages (e.g. CWL) as a searchable Language.

Describe workflows with metadata

A workflow definition tells a WMS how to execute; workflow metadata describes the workflow so humans and machines can understand, manage, and discover it - purpose, inputs/outputs, dependencies, authorship, and provenance. Both are needed; do not conflate them.

  • Recommend Workflow RO-Crate for packaging: it bundles the workflow definition (CWL, Nextflow DSL, Snakefile, etc.) with contextual metadata in a FAIR-compliant crate. It is the standard used by WorkflowHub and the LifeMonitor service.
  • It builds on the RO-Crate standard and extends the schemas.science ComputationalWorkflow profile (from Bioschemas), using FormalParameter to describe inputs/outputs.
  • Payoff to state: more discoverable, portable and reproducible workflows, especially when published alongside datasets or in a registry.

Make workflows FAIR

Workflows are digital objects to be shared, discovered, and reused, so apply the FAIR principles - both the general FAIR-for-research-software recommendations and the dedicated FAIR recommendations for workflows. Concretely, when reviewing or authoring a workflow, check that it is:

  • Findable - registered with rich metadata and a persistent identifier (e.g. deposited in WorkflowHub with a DOI).
  • Accessible - retrievable via its identifier, with the definition and metadata openly available.
  • Interoperable - written in a recognised definition language and packaged with standard metadata (Workflow RO-Crate) so other tools can consume it.
  • Reusable - clearly licensed, documented, versioned, and modular, with the computational environment pinned (see reproducible software environments, a closely related concern).

Point users at the Workflows Community Initiative FAIR Workflows Working Group (WCI-FW) as the authoritative, cross-domain community effort on applying FAIR data and software principles to workflows.

Benefits to name when advocating

When a user is undecided, ground the pitch in concrete gains: reproducibility (each step, tool, parameter, and environment is formalised and rerunnable); automation and scaling (run unattended across datasets, distribute over HPC/cloud); transparency and provenance (living documentation of the method); and modularity, reuse, collaboration, and sharing (swap components, run the same process across systems and teams).

Working with this skill

The generated references.md beside this file lists the source material and pointers:

  • references.md - verified Learn more pointers

Learn more (verified):

<!-- related-skills:begin -->

Related skills

Check whether any of these applies before moving on:

  • rseng-big-data-processing - scaling pipelines across many datasets
  • rseng-discovery - finding reusable workflows in registries
  • rseng-fair-software - FAIR principles applied to workflows
  • rseng-hpc-computing - running stages on clusters
  • rseng-provenance - engine logs are provenance capture
  • rseng-reproducible-environments - per-step pinned environments
<!-- related-skills:end -->

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Covers operating AI coding agents securely: auditing whether the agent runs sandboxed, permission and dangerous-command configuration, containerized environments, secrets kept out of context, network egress and token privileges, prompt-injection risk, and the privacy of agent use itself. Use PROACTIVELY when permission gating is broadly disabled (skip-permissions modes), when secrets are visible to the agent's shell, or when the agent processes untrusted code, issues or web content; when a project holds personal or confidential data while a cloud agent is active (what leaves the machine, retention, training use), or when the user asks how to run coding agents safely or privately. (Supply-chain security: rseng-security; disclosing agent contributions: rseng-ai-declaration.)

中文简介正在准备中。当前显示原文说明。

fdiblen/rseng-agent-skills242026年9月23日 更新

Covers declaring AI involvement with the AI Declaration Format (https://ai-declaration.org): creating and maintaining an aidecl.yaml that records which AI tools and agents were used, what each contributed, when and how much, plus the README disclosure footnote, JSON/JSON-LD export and CI validation. Machine-readable disclosure is the practice; this format is one implementation. Use PROACTIVELY when an AI assistant or agent creates or modifies a project's content - generate aidecl.yaml if missing, update it after AI-assisted changes. Also use when the user asks about AI transparency, provenance, disclosure or EU AI Act disclosure, wants to state that NO AI was used, or mentions aidecl. For concealment requests see rseng-honesty; for the human review duty see rseng-human-verification.

中文简介正在准备中。当前显示原文说明。

fdiblen/rseng-agent-skills242026年9月23日 更新

Covers long-term archiving of research software and data: Software Heritage save requests and SWHID persistent identifiers, Zenodo deposits with versioned DOIs and forge integration, choosing domain and institutional repositories, deciding what to archive (code, data, environments, documentation) and when, and archiving at project retirement. Use when the user wants software or data preserved beyond the life of a forge account, grant or lab, mentions Software Heritage, SWHIDs, Zenodo deposits or archiving, retires or hands over a project, prepares artifacts that must stay resolvable for a paper, or when funder policy requires long-term preservation. (Cutting the release itself is rseng-publishing-releasing; day-to-day data storage and repository choice is rseng-data-management.)

中文简介正在准备中。当前显示原文说明。

fdiblen/rseng-agent-skills242026年9月23日 更新

Covers processing research data that outgrows one machine's memory: out-of-core and chunked computation, Dask for scaling the scientific Python stack, Spark for distributed tabular pipelines, lazy evaluation, partitioning strategies, idempotent and restartable batch jobs, and knowing when NOT to distribute. Use when datasets no longer fit in memory, when the user mentions Dask, Spark, out-of-core or larger-than-memory data, when a pandas/NumPy workflow hits memory limits, or when designing batch pipelines over many files. (Cluster job submission and job arrays are rseng-hpc-computing; pipeline orchestration engines are rseng-workflows; profile first with rseng-performance-profiling.)

中文简介正在准备中。当前显示原文说明。

fdiblen/rseng-agent-skills242026年9月23日 更新

Covers continuous integration and delivery for research software: CI/CD concepts, automating builds and tests with GitHub Actions and GitLab CI/CD, and wiring an organization's GitLab CI infrastructure to a GitHub-hosted project. Use when the user asks to set up CI, write a pipeline or workflow file (.github/workflows, .gitlab-ci.yml), add automated builds/tests on push or pull request, publish a package or deploy docs when a tag or release is cut, cache dependencies to speed up CI runs, choose between GitHub Actions and GitLab CI, use self-hosted or GPU runners, mirror a repo, or report external CI status back to GitHub. For what to test and shrinking a test matrix see rseng-testing; for linter and pre-commit policy see rseng-code-quality.

中文简介正在准备中。当前显示原文说明。

fdiblen/rseng-agent-skills242026年9月23日 更新

Covers verifying that every citation is real, correct and current: checking references in manuscripts, READMEs, references files and code metadata against Crossref and OpenAlex, screening cited DOIs against the Retraction Watch database, catching fabricated or mis-attributed citations (a documented AI failure mode), and keeping bibliographies and CITATION.cff files resolvable. Use PROACTIVELY before any bibliography, reference list or citation metadata is finalized or published, whenever the agent itself has produced citations, and when the user asks to check references, mentions broken DOIs, retracted papers or citation verification, or prepares a manuscript, README or software paper with references. (Making your own software citable is rseng-citation-metadata.)

中文简介正在准备中。当前显示原文说明。

fdiblen/rseng-agent-skills242026年9月23日 更新

查看 fdiblen 的全部技能

报告此技能的问题