go-agent/codex/review/commands/pr.md
Snider 61e01bfdf1 feat: initial go-agent — agentci + jobrunner + plugins marketplace
Consolidates three codebases into a single agent orchestration repo:

- agentci (from go-scm): Clotho dual-run verification, agent config,
  SSH security (sanitisation, secure commands, token masking)
- jobrunner (from go-scm): Poll-dispatch-report pipeline with 7 handlers
  (dispatch, completion, auto-merge, publish draft, dismiss reviews,
  send fix command, tick parent epic)
- plugins marketplace (from agentic/plugins): 27 Claude/Codex/Gemini
  plugins with shared MCP server

All 150+ tests passing across 6 packages.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 15:47:19 +00:00

1.3 KiB

name description args
pr Review a pull request <pr-number>

PR Review

Review a GitHub pull request.

Usage

/review:pr 123
/review:pr 123 --security
/review:pr 123 --quick

Process

  1. Fetch PR details

    gh pr view 123 --json title,body,author,files,additions,deletions
    
  2. Get PR diff

    gh pr diff 123
    
  3. Check CI status

    gh pr checks 123
    
  4. Review changes

    • Correctness
    • Security (if --security)
    • Tests coverage
    • Documentation
  5. Provide feedback

Output Format

## PR Review: #123 - Add user authentication

**Author**: @username
**Files**: 5 changed (+120, -30)
**CI**: ✓ All checks passing

### Summary
Brief description of what this PR does.

### Review

#### Approved ✓
- Clean implementation
- Good test coverage
- Documentation updated

#### Changes Requested ✗
- **src/auth.go:42** - Missing input validation
- **src/auth.go:87** - Error not handled

#### Comments
- Consider adding rate limiting
- Nice use of middleware pattern

---
**Recommendation**: Approve with minor changes

Actions

After review, you can:

# Approve
gh pr review 123 --approve

# Request changes
gh pr review 123 --request-changes --body "See comments"

# Comment only
gh pr review 123 --comment --body "Looks good overall"