agentdb-advanced
Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems…
Drive a PR to an approved code review by looping OCR's multi-agent review and address steps. Runs /ocr:review then /ocr:address repeatedly until the review verdict is APPROVE, then one final /ocr:address for leftover suggestions, posting every review and every address round to
$ npx -y skills add spencermarx/open-code-review --skill ocr-review-loop --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ocr-review-loopContext preview
The summary Claude sees to decide when to auto-load this skill.
Drive a PR to an approved code review by looping OCR's multi-agent review and address steps. Runs /ocr:review then /ocr:address repeatedly until the review verdict is APPROVE, then one final /ocr:address for leftover suggestions, posting every review and every address round to
name: "OCR Review-to-Approval Loop" description: "Drive a PR to an approved code review by looping OCR's multi-agent review and address steps. Runs /ocr:review then /ocr:address repeatedly until the review verdict is APPROVE, then one final /ocr:address for leftover suggestions, posting every review and every address round to the GitHub PR as comments. Use when the user asks to 'review and address in a loop', 'iterate review until approved', 'auto review-and-fix this PR', 'loop /ocr:review and /ocr:address', or to take a changeset all the way to a clean APPROVE with the default reviewer team. Wraps the /ocr:review (.ocr/commands/review.md) and /ocr:address (.ocr/commands/address.md) skills; needs a feature branch with an open GitHub PR and the gh CLI for posting."
Orchestrates an autonomous **review → address → re-review** loop on a pull request, using OCR's existing multi-agent review pipeline, until the review reaches an **APPROVE** verdict — then runs one final address pass for leftover suggestions. Every review and every address round is posted to the GitHub PR as a comment, producing a transparent, reviewable audit trail.
It is a thin **orchestrator** over two skills it does not reimplement:
/ocr-review-loop [pr] [--team <spec>] [--max-rounds N] [--no-final-suggestions] [--no-post]
`/ocr:review`. **Default: the project's default team** (`ocr team resolve`).
runs forever.
---
> Execute this inline, to completion, in the conversation. Do not schedule across turns or > background the work. Drive each review's phases 4→7 within one turn (OCR's "don't strand > the pipeline" rule). See `reference/loop-mechanics.md` for the exact CLI/session details > and the GitHub comment templates.
**0. Preconditions.** Resolve the PR and branch; refuse to run on the default branch. Confirm `gh` (unless `--no-post`) and OCR setup. Resolve the reviewer team (default unless `--team`).
**1. Review-address loop.** Starting at `round = 1`, while the verdict is not `APPROVE` and `round <= max-rounds`:
1. **Review** — invoke `/ocr:review` (default team, or `--team`). It runs the full pipeline and finalizes `rounds/round-{round}/final.md` + `round-meta.json` with a `verdict`. 2. **Post the review** to the PR, headed `OCR review — Round {round}`. *(skip if `--no-post`)* 3. **Gate on the verdict** (read it from `round-meta.json` / `final.md`):
clarifying questions to the user and await direction. Do **not** fabricate a fix.
4. **Address** — invoke `/ocr:address` on `rounds/round-{round}/final.md`. Corroborate every item against the actual code; implement the **blockers and should-fixes** (these clear the gate); decline incorrect feedback with evidence; you MAY defer pure **suggestions** to the final pass. **Verify** (typecheck + lint + tests) until green, then **commit** (atomic, conventional) and **push**. 5. **Post the address round** to the PR: what was addressed, declined (with reasoning), and deferred. *(skip if `--no-post`)* 6. `round += 1`; loop.
**2. Final suggestions pass** (only after `APPROVE`, unless `--no-final-suggestions`): invoke `/ocr:address` once more to clear remaining **suggestions**, verify, commit, push, and post a final address comment that includes a **loop-summary table** (round → verdict → outcome).
**3. Stop conditions.** If `round` exceeds `max-rounds` without `APPROVE`, **stop** and report the outstanding blockers — never loop indefinitely. If APPROVE was reached on round 1, skip the loop body and go straight to the final suggestions pass.
---
ambiguity.
code; implement valid items; **decline wrong feedback with evidence**. Don't gold-plate — fix only what the review actually raised.
failures before pushing.
AI-powered multi-agent code review. Simulates a customizable team of Engineers performing code review with built-in discourse.
Repo: spencermarx/open-code-review
Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems…
Create and train AI learning plugins with AgentDB's 9 reinforcement learning algorithms. Includes Decision Transformer, Q-Learning, SARSA, Actor-Critic, and…
Implement persistent memory patterns for AI agents using AgentDB. Includes session memory, long-term storage, pattern learning, and context management. Use…
Optimize AgentDB performance with quantization (4-32x memory reduction), HNSW indexing (150x faster search), caching, and batch operations. Use when optimizing…
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying. Use when building RAG…
Web browser automation with AI-optimized snapshots for claude-flow agents