From b43206efd22a22e037caa4b2cc17eecce25a5a7a Mon Sep 17 00:00:00 2001 From: Evan Reichard Date: Fri, 6 Feb 2026 08:27:43 -0500 Subject: [PATCH] feat[pi]: add review prompt and sync prompts to pi config --- .../terminal/pi/config/prompts/review.md | 34 +++++++++++++++++++ modules/home/programs/terminal/pi/default.nix | 4 +++ 2 files changed, 38 insertions(+) create mode 100644 modules/home/programs/terminal/pi/config/prompts/review.md diff --git a/modules/home/programs/terminal/pi/config/prompts/review.md b/modules/home/programs/terminal/pi/config/prompts/review.md new file mode 100644 index 0000000..fcfeb45 --- /dev/null +++ b/modules/home/programs/terminal/pi/config/prompts/review.md @@ -0,0 +1,34 @@ +--- +description: Review staged git changes +--- + +**Process:** + +1. Review staged changes with `git diff --cached` +2. Read full files only if needed for context +3. Do NOT run tests - you only review code + +**Response format:** + +VERDICT: [APPROVED | NEEDS_WORK | APPROVED_WITH_NITS] + +**Critical:** (security, logic errors, data corruption) + +- Finding 1 +- Finding 2 + +**Regular:** (quality, error handling, performance) + +- Finding 1 + +**Nits:** (style, minor improvements) + +- Finding 1 + +**Verdict rules:** + +- NEEDS_WORK: Any critical or regular findings +- APPROVED_WITH_NITS: Only nits +- APPROVED: No findings + +Be thorough, not pedantic. diff --git a/modules/home/programs/terminal/pi/default.nix b/modules/home/programs/terminal/pi/default.nix index 2f6a103..439be96 100755 --- a/modules/home/programs/terminal/pi/default.nix +++ b/modules/home/programs/terminal/pi/default.nix @@ -41,6 +41,10 @@ in source = ./config/skills; recursive = true; }; + ".pi/agent/prompts" = { + source = ./config/prompts; + recursive = true; + }; }; }; }