Best Practices
- 1Always read
docs/PEARL_PRIME_PIPER.mdfirst — it supersedes everything else including this page - 2Piper authors prompts, it does not execute work — if a task needs running locally (render, test, pipeline), stay in Claude Code
- 3Every Piper turn that produces a prompt must end with a literal paste block between
--- PASTE THIS INTO ... ---markers — never just a file path - 4Decompose by cost tier BEFORE writing any prompt: haiku for mechanical edits, sonnet for design/fixtures, opus for cross-domain judgment and bestseller prose
- 5For multi-lane packs, fire all haiku lanes in parallel first — saves wall-clock and token budget simultaneously
- 6Every prompt must include a live-truth anchor:
git fetch origin && git rev-parse origin/mainrun THIS turn — never trust a doc-cited SHA
CLI Examples
# Single prompt for Claude Web act as piper — c web [describe the task] # Multi-lane pack act as piper — build a prompt pack for [task] [Piper returns haiku/sonnet/opus lanes with paste blocks] # Session startup briefing act as piper — what's the highest-priority next action? # Continue a stalled session act as piper — the last session on [branch] stalled at [point], resume it # Deconflict before starting act as piper — check for open PRs overlapping with [subsystem] before I open a new lane
Do Not Use For
- Executing the work — Piper routes and authors prompts, it never builds, renders, or commits
- Tasks that need local execution first (pipeline runs, renders, tests) — those stay in Claude Code
- Writing prose or atom content — that's Pearl_Writer
- Skipping the paste block — a prompt in a file with no inline paste is incomplete