返回 Skill 列表
extension
分类: 开发与工程无需 API Key

mill

编写用于并行/顺序代理工作流、迭代Ralph循环执行和工作树隔离开发的磨坊编排程序。

person作者: jakexiaohubgithub

mill

Use this skill whenever you are writing or reviewing a mill-based orchestration program (including pi-mill extension flows).

Core rules

  1. Keep systemPrompt (WHO/how) separate from prompt (WHAT/task).
  2. Use await for sequential steps and Promise.all for independent parallel work.
  3. Always pass an explicit model in provider/model-id format.
  4. Check exitCode, stopReason, and errorMessage before trusting results.
  5. Use mill.observe.log(...) for progress and diagnostics.

Available patterns

  • General orchestration patterns: ./references/patterns.md
  • Iterative Ralph Loop pattern: ./references/ralph-loop.md
  • Worktree-isolated parallel development: ./references/worktree.md

Prefer these patterns before inventing new orchestration scaffolding.