feat[pi]: add review prompt and sync prompts to pi config

This commit is contained in:
2026-02-06 08:27:43 -05:00
parent bdd1f50a48
commit 234c4f2b8b
3 changed files with 38 additions and 2 deletions

View File

@@ -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.

View File

@@ -1,8 +1,6 @@
--- ---
name: git-commit 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' 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 # Git Commit with Conventional Commits

View File

@@ -41,6 +41,10 @@ in
source = ./config/skills; source = ./config/skills;
recursive = true; recursive = true;
}; };
".pi/agent/prompts" = {
source = ./config/prompts;
recursive = true;
};
}; };
}; };
} }