create-pipeline
CommandOverride which components to scaffold (default: agent,skill,hook)
Comprehensive PR review using specialized agents, recording reusable findings to learning.db
$ npx -y skills add notque/vexjoy-agent --agent claude-code
description: "Comprehensive PR review using specialized agents, recording reusable findings to learning.db" argument-hint: "[review-aspects]" allowed-tools: ["Bash", "Glob", "Grep", "Read", "Agent"]
Comprehensive PR review using specialized agents, with automatic knowledge capture.
This is a local fork of `pr-review-toolkit:review-pr` with a retro learning phase that records review patterns to learning.db.
This command accepts either a PR reference or a local branch diff. You do not need an open PR to use it.
| Invocation form | What it reviews | |----------------|-----------------| | `/pr-review` (no argument) | Uncommitted and committed local changes against the base branch (`HEAD` vs base) | | `/pr-review 123` or `/pr-review https://github.com/org/repo/pull/123` | The diff of the specified open PR |
**Review the local commit before any push.** In a repo that is not a non-fork `github.com/notque` repo (sapcc, SAP-cloud-infrastructure, cloudoperators, perses, ceph, every github.wdf.sap.corp org, other upstreams, and notque forks), nothing reaches a remote before this review passes: no push, remote branch, or draft PR. Commit first, review the local commit, fix, review the fix delta, then push. The `pretool-review-before-push-gate` hook enforces this with the record from Phase 6b.
When no argument is provided, the command reads `git diff` to determine changed files. When a PR number or URL is provided, it fetches the PR diff via `gh pr view`. All review phases and retro learning apply in both cases.
/pr-review # Full review (all aspects) /pr-review tests errors # Specific aspects only /pr-review all parallel # All agents in parallel
**Related**: `/pr-review-address-feedback` — Process existing GitHub reviewer comments (validate-then-fix workflow)
**Review Aspects (optional):** "$ARGUMENTS"
1. Check git status to identify changed files: `git diff --name-only` 2. Parse arguments to see if user requested specific review aspects 3. Default: Run all applicable reviews 4. Check if PR already exists: `gh pr view 2>/dev/null` 5. Local-branch mode (no PR argument): note the commit under review as `REVIEWED_SHA=$(git rev-parse HEAD)`. Uncommitted changes cannot be recorded in Phase 6b, so commit them first.
Based on changes:
Before launching agents, detect the primary language(s) of changed files:
**Organization detection** (run this when Go files are present): Check if this is an organization-specific Go project using ANY of: 1. Session context contains an org marker (injected by operator-context-detector hook at session start) 2. `go.mod` contains organization-specific imports 3. Module path matches organization patterns
If any check passes → **org domain**: add organization-specific reviewer to the agent list for Phase 4.
**gopls MCP Integration** (when `.go` files are in the diff):
When Go files are detected in the changed files, use gopls MCP tools to give every downstream review agent type-aware context:
1. Run `ToolSearch("gopls")` to fetch gopls tool schemas 2. Call `go_workspace` to understand module structure, build configuration, and workspace layout 3. Call `go_file_context` on EACH changed `.go` file to get intra-package dependency context (what other files in the same package this file depends on) 4. Collect all type-aware context (module structure, package dependencies, symbol relationships) and pass it as structured input to every review agent dispatched in Phase 4
This replaces text-only grep analysis with type-aware understanding — catching interface implementations, cross-package symbol usage, and dependency relationships that text search misses.
If gopls MCP is unavailable (ToolSearch returns no results), fall back to Grep-based analysis but note the limitation in the review output.
This determines which retro topics are relevant in Phase 8.
**Trigger**: Run this phase for Go projects when the diff modifies any of:
**Skip condition**: If the diff only modifies function bodies without changing signatures, parameter semantics, or exported symbols, skip to Phase 4.
**Steps**:
1. **Identify changed symbols**: Scan the diff for all functions/methods whose signatures or parameter semantics changed. List each with its file, old signature, and new signature.
2. **Find ALL callers**: For each changed symbol:
Essays and writing behind this toolkit live at vexjoy.com. VexJoy Agent connects plain-English requests to specialist agents, skills, and workflows. /do selects the knowledge and tools needed for your task.
Override which components to scaffold (default: agent,skill,hook)
Jev-validated router: the session picks the route with /do's rules; Jev answers the attachment questions and checks the restated…
Smart router: classify requests and route to the correct agent + skill
Generate project-specific CLAUDE.md from repo analysis.
Triage GitHub notifications: fetch, classify, report actions needed.
`github-profile-rules` — extract programming rules and coding conventions from a GitHub user's public profile via API.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.