跳到正文
cccskills
免费在 GitHub 公开

StreamFlow Documentation

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.

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

集成工具Kubernetes
查看安装方法

包含的文件(2)

  • SKILL.md2.9 KB
  • examples/SKILL.md2.1 KB

SKILL.md(原文)

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

StreamFlow Documentation Skill

Guidelines for writing Sphinx RST documentation for StreamFlow. Docs live under docs/source/. The Sphinx build uses sphinx.ext.autosectionlabel, so every section title is automatically a valid :ref: target.

Writing Style

  • Use American English throughout.
  • Use double backticks for all code entities: file names, environment variables, class names, function names, CLI commands, YAML keys, CWL fields.
  • Never reference a file without first telling the user how to create it.
  • Keep source files shown via literalinclude within 80 characters per line.

RST Conventions

All documentation files use .rst format.

Section title underlines

Every title underline (and overline) must be exactly as long as the title text — no shorter, no longer. Count Unicode characters, not bytes.

MPI Application
===============    ← 15 chars, underline is 15 chars  ✓

Run with Kubernetes
-------------------  ← 19 chars, underline is 19 chars  ✓

After editing headings, verify with:

python3 -c "
with open('docs/source/.../file.rst') as f:
    lines = f.readlines()
ul = set('=-~^\"\\'\`#*+')
for i,l in enumerate(lines):
    s = l.rstrip()
    if i+1 < len(lines):
        n = lines[i+1].rstrip()
        if n and len(set(n))==1 and n[0] in ul and len(s)!=len(n):
            print(f'Line {i+1}: title={len(s)}, underline={len(n)}: {s!r}')
"

Highlighting changed lines

Use :emphasize-lines: with both code-block and literalinclude directives. Prefer literalinclude whenever the file exists on disk.

When a tutorial shows multiple versions of the same file for different environments (e.g. Docker Compose → Kubernetes → Helm variants of streamflow.yml), use :emphasize-lines: to highlight the lines that differ from the base version, so the reader can spot the changes at a glance:

.. literalinclude:: streamflow-k8s.yml
   :language: yaml
   :emphasize-lines: 12, 16, 20-25

Cross-references

Use :ref: to link to other sections. Targets are section titles verbatim:

:ref:`DockerComposeConnector`
:ref:`Put it all together`

Common targets: Install, Write your workflow, Put it all together, Binding steps and deployments, Import your environment, CWL Runner, DockerComposeConnector, KubernetesConnector, Helm4Connector.

Subskills

TaskSubskill
Add a new worked example tutorialStreamFlow Documentation — Adding Examples

See Also

  • StreamFlow Code Style skill — Python code style and docstring conventions
  • StreamFlow Git Workflow skill — commit message format

评价

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

评论

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

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

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

0 / 1000 字

此表单受 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 "add an example", "write a tutorial", "document a new workflow example", or when creating a new worked example under `docs/source/examples/`.

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

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 的全部技能

报告此技能的问题