mill
Use this skill whenever you are writing or reviewing a mill-based orchestration program (including pi-mill extension flows).
Core rules
- Keep
systemPrompt(WHO/how) separate fromprompt(WHAT/task). - Use
awaitfor sequential steps andPromise.allfor independent parallel work. - Always pass an explicit
modelinprovider/model-idformat. - Check
exitCode,stopReason, anderrorMessagebefore trusting results. - 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.
Scan to join WeChat group