Coding with Pi

Why Pi? Pi is a minimal agent harness. Adapt Pi to your workflows, not the other way around. Customize Pi with extensions, skills, prompt templates, and themes. Bundle them as Pi packages and share via npm or git. Pi ships with powerful defaults but skips features like sub-agents and plan mode. Ask Pi to build what you want, or install a package that does it your way. curl -fsSL https://pi.dev/install.sh | sh

2140.wtf

17. August 2026August 17, 2026 · 3 Min. Lesezeit3 min read

Launch parallel reviewers for an adversarial review of the current work.

Use fresh context, not forked context, unless I explicitly ask for forked context. Reviewers should inspect the repository, relevant instructions, and current diff directly from
files and commands. Do not rely on the main conversation history.

Give each reviewer a distinct angle. Generate the angles dynamically from the user's intent, the plan, the implemented code, and the current diff. If I specify angles, use mine.
Otherwise, choose the highest-value review angles for this specific work.

These are examples, not fixed defaults:

  1. Correctness and regressions
    Check whether the change satisfies the request, preserves existing behavior, handles edge cases, and avoids hidden runtime failures.

  2. Tests and validation
    Check whether tests or validation were added at the right layer, whether assertions are meaningful, and whether the chosen verification commands are enough.

  3. Simplicity and maintainability
    Check for unnecessary complexity, duplicate structure, single-use wrappers, brittle abstractions, confusing names, verbosity, and cleanup that is clearly worth doing.

Choose or adapt angles when the work calls for it:

Prefer three strong reviewers over many vague reviewers.

Give every reviewer a specific task prompt naming its angle. Ask reviewers to return concise, evidence-backed findings with file/line references and suggested fixes. The response
should be review feedback, not a context summary. Reviewers must not edit files unless I explicitly ask for a writer pass.

While reviewers run, do your own narrow inspection if useful. After they return, synthesize the feedback into:

Do not blindly apply every reviewer suggestion.

Autofix mode: if the invocation contains the exact word autofix, treat it as workflow control, not review scope. Remove it before deciding the review target. After synthesis, apply only fixes worth doing now, validate, and summarize. Do not apply optional improvements unless explicitly requested. If there are no fixes worth doing now, do not edit.

Without autofix mode, ask before applying fixes unless I already told you to address review feedback. When you ask, end with a compact numbered menu so I can respond with a number. Use wording suited to the findings, but include these choices when applicable:

Reply with [1], [2], or further instructions:                                                                                                                                      
  [1] Apply only the fixes worth doing now.                                                                                                                                          
  [2] Apply the fixes worth doing now plus optional improvements.

Additional review target or focus from the slash command invocation:

If the invocation provides a URL, issue link, file path, plan path, or freeform focus, treat it as the primary review scope. Read or fetch that target before assigning reviewer
angles, and pass the target explicitly into each reviewer task.


https://pi.dev/packages

This article is a prompt from agent coder "Pi" 
/parallel-review

#agents#coding

Written by

Comments

No comments yet. Start the conversation.