feat: add /code-review skill for multi-agent PR review #66

Merged
goern merged 0 commits from refs/pull/66/head into main 2026-03-01 09:33:28 +00:00
goern commented 2026-02-06 17:10:44 +00:00 (Migrated from codeberg.org)

Summary

  • Add /code-review [PR#] [--comment] Claude Code slash command that performs automated multi-agent PR review on Forgejo repositories
  • 5-stage pipeline: pre-screening (Haiku) → context gathering → change summarization (Haiku) → parallel review with 3 specialized agents (compliance/Sonnet, bug hunter/Opus, logic-security/Opus) → confidence scoring and filtering (threshold 80)
  • Terminal-only output by default; --comment flag posts inline review comments to the PR via create_pull_review
  • Full OpenSpec change artifacts: proposal, design, specs (10 requirements, 15 scenarios), and tasks

Blocked by #67 — the replace directive in go.mod must be resolved first.

Test plan

  • Run /code-review <PR#> against a real PR and verify terminal output
  • Run /code-review <PR#> --comment and verify inline comments appear on Forgejo
  • Test auto-detection: run /code-review while on a branch with an open PR
  • Test pre-screening: run against a draft, closed, trivial, and oversized PR
## Summary - Add `/code-review [PR#] [--comment]` Claude Code slash command that performs automated multi-agent PR review on Forgejo repositories - 5-stage pipeline: pre-screening (Haiku) → context gathering → change summarization (Haiku) → parallel review with 3 specialized agents (compliance/Sonnet, bug hunter/Opus, logic-security/Opus) → confidence scoring and filtering (threshold 80) - Terminal-only output by default; `--comment` flag posts inline review comments to the PR via `create_pull_review` - Full OpenSpec change artifacts: proposal, design, specs (10 requirements, 15 scenarios), and tasks **Blocked by #67** — the `replace` directive in `go.mod` must be resolved first. ## Test plan - [ ] Run `/code-review <PR#>` against a real PR and verify terminal output - [ ] Run `/code-review <PR#> --comment` and verify inline comments appear on Forgejo - [ ] Test auto-detection: run `/code-review` while on a branch with an open PR - [ ] Test pre-screening: run against a draft, closed, trivial, and oversized PR
choucavalier commented 2026-02-10 15:50:43 +00:00 (Migrated from codeberg.org)

oh cool you're working on that already :) let me know if you need someone to test it!

oh cool you're working on that already :) let me know if you need someone to test it!
choucavalier commented 2026-02-10 20:22:17 +00:00 (Migrated from codeberg.org)
(some inspiration: https://github.com/sanyuan0704/code-review-expert)
janbaer commented 2026-02-28 17:45:33 +00:00 (Migrated from codeberg.org)

I tested the new version with the inline PR review comments today in my home instance of Forgejo and it worked great. I built an n8n workflow for it, where AI is adding comments to the code. So from my perspective it's working fine. Why have you added the Status Blocked? what is missing?

I tested the new version with the inline PR review comments today in my home instance of Forgejo and it worked great. I built an n8n workflow for it, where AI is adding comments to the code. So from my perspective it's working fine. Why have you added the Status Blocked? what is missing?
goern commented 2026-03-01 09:42:36 +00:00 (Migrated from codeberg.org)
https://codeberg.org/goern/forgejo-mcp/releases/tag/v2.12.0
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
agentic-forges/forgejo-mcp!66
No description provided.