协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
core-graphs-schedulers【开发与工程】Use this sub-skill for Dask delayed, task graph inspection, HighLevelGraph concepts, scheduler selection, compute/persist/optimize/annotate behavior, tokenization, graph manipulation, and custom collection basics.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about Dask's core lazy execution model rather than a collection-specific API.
dask.delayed, dask.compute, dask.persist, dask.optimize, and dask.annotate.HighLevelGraph layers/dependencies, task keys, tokenization, and scheduler inputs.synchronous, threads, processes, or explicit scheduler get functions.__dask_*__ protocol.../array-workflows/SKILL.md.../dataframe-workflows/SKILL.md.../bag-bytes-workflows/SKILL.md.../configuration-diagnostics-cli/SKILL.md.compute() or persist() once at the boundary.delayed as a release valve for custom Python functions.scheduler="synchronous" and optimize_graph=False for debugging; switch to threads or processes only after graph structure is correct.if __name__ == "__main__": guard in scripts.references/api-reference.md: API signatures, graph objects, scheduler get functions, tokenization, graph manipulation, and custom collection hooks.references/workflows.md: common lazy graph workflows, scheduler-choice recipes, graph inspection patterns, and custom collection checklist.references/troubleshooting.md: fixes for eager execution, scheduler mismatches, pickling failures, non-deterministic tokens, Graphviz, and optimization surprises.Run scripts/core_smoke.py --help for options. The script builds delayed tasks, inspects graph metadata, computes the result with a chosen scheduler, and prints JSON suitable for quick environment checks.