aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/pi-coding-agent/skills/code-review
diff options
context:
space:
mode:
authorArpit Chakladar <arpit@chakladar.me>2026-09-29 23:45:25 +0530
committerArpit Chakladar <arpit@chakladar.me>2026-09-29 23:45:25 +0530
commit33519df0fff478526d217d04190577b33c5bf7d0 (patch)
tree18f6ee9bb8101381212038d16099e59d250b7080 /modules/development/pi-coding-agent/skills/code-review
parent7975de6d03289bcc143137d5458486def5adc672 (diff)
parent871a29efd370088f669c4f2b9e20b8992406a444 (diff)
downloadhome-manager-config-33519df0fff478526d217d04190577b33c5bf7d0.tar.gz
home-manager-config-33519df0fff478526d217d04190577b33c5bf7d0.zip
Merge branch 'adding-pi-harness'
Diffstat (limited to 'modules/development/pi-coding-agent/skills/code-review')
-rw-r--r--modules/development/pi-coding-agent/skills/code-review/SKILL.md44
1 files changed, 44 insertions, 0 deletions
diff --git a/modules/development/pi-coding-agent/skills/code-review/SKILL.md b/modules/development/pi-coding-agent/skills/code-review/SKILL.md
new file mode 100644
index 0000000..bdbacd0
--- /dev/null
+++ b/modules/development/pi-coding-agent/skills/code-review/SKILL.md
@@ -0,0 +1,44 @@
+---
+name: code-review
+description: "Review diffs for correctness, edge cases, regressions, API compatibility, maintainability, and missing tests."
+---
+
+# Code Review Skill
+
+Review diffs for correctness, edge cases, regressions, API compatibility, maintainability, and missing tests.
+
+## Subagents
+When you need to delegate sub‑tasks, use the `pi-subagents` skill.
+
+**Example:** For a large pull request, you could assign one **scout** to read the changed files in the `api` layer, another **scout** to inspect the `database` migrations, and a **reviewer** to check each area for correctness, edge cases, and API compatibility—then aggregate their findings into a single review.
+
+*You may adapt the delegation pattern to fit the exact requirements of the codebase.*
+
+## Checklist
+
+### Correctness
+- [ ] Logic matches requirements
+- [ ] Edge cases handled
+- [ ] No off-by-one errors
+- [ ] Proper error handling
+
+### Regressions
+- [ ] Existing tests pass
+- [ ] No broken functionality
+- [ ] Migration path for breaking changes
+
+### API Compatibility
+- [ ] Public interfaces preserved
+- [ ] Version compatibility maintained
+- [ ] Deprecation warnings where needed
+
+### Maintainability
+- [ ] Code is readable
+- [ ] Appropriate abstraction level
+- [ ] No unnecessary complexity
+- [ ] Consistent with codebase style
+
+### Tests
+- [ ] New functionality tested
+- [ ] Edge cases covered
+- [ ] Regression tests added