본문으로 건너뛰기
cccskills
무료GitHub에 공개

StreamFlow Documentation — Adding Examples

This skill should be used when the user asks to "add an example", "write a tutorial", "document a new workflow example", or when creating a new worked example under `docs/source/examples/`.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Kubernetes
설치 방법 보기

포함된 파일(1)

  • SKILL.md2.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

StreamFlow Documentation — Adding Examples

Creates a worked example under docs/source/examples/<name>/. Load StreamFlow Documentation for general RST style rules.

Directory Layout

docs/source/examples/<name>/
├── <name>.rst          # tutorial · streamflow.yml  # primary config
├── cwl/main.cwl · config.yml · clt/*.cwl
├── data/               # input files
└── environment/<connector>/

Typical Sections

Intro → Concepts covered → Prerequisites → Project layout → Steps (source files, CWL tools, Workflow, inputs, environment, streamflow.yml) → Run the workflow → Expected output → Alternative deployments → Troubleshooting

Key Rules

  • Explanations before code listings — never after.
  • Use .. literalinclude:: for file content; .. code-block:: only when the file contains values the user must substitute.
  • Use :emphasize-lines: for lines that differ from a previous listing.
  • data/ is at the project root; config.yml uses ../data/<file>.
  • Never reference a file without first telling the user how to create it.
  • Authoring-aid files (e.g. streamflow-k8s.yml) must not appear in the tutorial — only streamflow.yml is visible to the reader.
  • Alternative backends go in a .. _Alternative deployments: section.

Register and Test

docs/source/index.rst — add to the Examples toctree:

   examples/<name>/<name>.rst

docs/tests/test_examples.py — one function per streamflow*.yml:

@pytest.mark.asyncio
async def test_<name>_<backend>() -> None:
    """Run the <Name> example using the <Backend> backend."""
    await _run(
        pathlib.Path(__file__).parent.parent
        / "source" / "examples" / "<name>" / "streamflow[-<backend>].yml"
    )

Naming: test_<example>_<backend> (e.g. test_mpi_kubernetes). Verify with make test from docs/.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

This skill should be used when the user asks to "update the changelog", "add a changelog entry", "write a CHANGELOG entry", or when preparing a git commit in StreamFlow that requires updating the `## [Unreleased]` section of `CHANGELOG.md`.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

alpha-unito/streamflow672026년 10월 19일 업데이트

This skill should be used when the user asks to "add docstrings", "write error handling", "use naming conventions", "handle exceptions", or when writing new Python code for StreamFlow that requires docstring format, naming conventions, exception handling, or async cleanup patterns.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

alpha-unito/streamflow672026년 10월 19일 업데이트

This skill should be used when the user asks to "write documentation", "add a doc page", "update RST files", "add a tutorial", or when writing or editing Sphinx RST documentation for StreamFlow.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

alpha-unito/streamflow672026년 10월 19일 업데이트

This skill should be used when the user asks to "write a commit message", "create a commit", "format a commit", "what commit type to use", or when preparing changes for a git commit in StreamFlow. Provides commit message format, type conventions, and examples.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

alpha-unito/streamflow672026년 10월 19일 업데이트

This skill should be used when the user encounters "no-untyped-def" mypy errors, asks to "fix no-untyped-def errors", "add type annotations to functions", or mentions "Function is missing a type annotation". Provides specific workflow for fixing missing type annotations while respecting forbidden type constraints.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

alpha-unito/streamflow672026년 10월 19일 업데이트

This skill should be used when the user asks to "fix mypy errors", "add type annotations", "fix type checking", "resolve no-untyped-def", "fix mypy type errors", or when working with type hints while respecting StreamFlow's forbidden type constraints (no Any, dict[str, Any], etc.).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

alpha-unito/streamflow672026년 10월 19일 업데이트

alpha-unito의 스킬 모두 보기

이 스킬의 문제 신고