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/config/skills/git-commit/SKILL.md b/modules/home/programs/terminal/pi/config/skills/git-commit/SKILL.md index c35f13b..a81a202 100644 --- a/modules/home/programs/terminal/pi/config/skills/git-commit/SKILL.md +++ b/modules/home/programs/terminal/pi/config/skills/git-commit/SKILL.md @@ -1,8 +1,6 @@ --- name: git-commit description: 'Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping' -license: MIT -allowed-tools: Bash --- # Git Commit with Conventional Commits 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; + }; }; }; }