| name | brewedops-greploop |
| description | Emulates the greploop process by invoking a strict reviewer subagent to score the diff 1-5 and list findings. |
BrewedOps Greploop
Trigger: Use this skill after completing the scanloop, before marking a task chunk as complete.
Overview
The greploop is a strict, unbiased review loop. You must ask a subagent to review your code diff, score it, and list findings.
Process
- Use
invoke_subagent to spawn a subagent (e.g., using research or a custom subagent type if applicable).
- Ask the subagent to review the specific files or diffs you just modified.
- The prompt to the subagent should be: "Review the code changes in [file]. Score the changes from 1 to 5 on readability, structural cleanliness, and correctness. List any findings. Be extremely strict."
- If the subagent returns a score less than 5/5, you MUST fix the findings and loop back.
- If the subagent returns 5/5, you may proceed.
Limitations
If you do not have subagent capabilities enabled, perform a rigorous self-review roleplaying as a strict, unbiased senior engineer, assigning yourself a score before proceeding.