con un clic
bridgebuilder-review
Bridgebuilder — Autonomous PR Review
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Bridgebuilder — Autonomous PR Review
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Triage a bug report through structured phases and create micro-sprint
Launch PRD discovery with codebase grounding and context ingestion
Execute sprint tasks with production-quality code and tests
Validate sprint implementation against acceptance criteria
Security and quality audit of application codebase
Autonomous agent execution mode
| name | bridgebuilder-review |
| description | Bridgebuilder — Autonomous PR Review |
| role | review |
| effort | xhigh |
| disallowed-tools | ["NotebookEdit","Bash(git add *)","Bash(git commit *)","Bash(git push *)"] |
| capabilities | {"schema_version":1,"read_files":true,"search_code":true,"write_files":true,"execute_commands":true,"web_access":true,"user_interaction":false,"agent_spawn":true,"task_management":false} |
| cost-profile | heavy |
| zones | {"system":{"path":".claude","permission":"read"},"state":{"paths":["grimoires/bridgebuilder"],"permission":"read"},"app":{"permission":"none"}} |
gh CLI installed and authenticated (gh auth status)ANTHROPIC_API_KEY environment variable set/bridgebuilder # Review all open PRs on auto-detected repo
/bridgebuilder --dry-run # Preview reviews without posting
/bridgebuilder --pr 42 # Review only PR #42
/bridgebuilder --repo owner/repo # Target specific repo
/bridgebuilder --no-auto-detect # Skip git remote detection
git remote -v (unless --no-auto-detect)gh CLI<!-- bridgebuilder-review: {sha} -->)COMMENT or REQUEST_CHANGES){ reviewed, skipped, errors }Set in .loa.config.yaml under bridgebuilder: section, or via environment variables:
| Setting | Env Var | Default |
|---|---|---|
| repos | BRIDGEBUILDER_REPOS | Auto-detected from git remote |
| model | BRIDGEBUILDER_MODEL | claude-opus-4-7 |
| dry_run | BRIDGEBUILDER_DRY_RUN | false |
| max_prs | — | 10 |
| max_files_per_pr | — | 50 |
| max_diff_bytes | — | 100000 |
| max_input_tokens | — | 8000 |
| max_output_tokens | — | 4000 |
| persona_path | — | grimoires/bridgebuilder/BEAUVOIR.md |
Run /bridgebuilder from a trusted checkout (your default branch or a clean clone) — never
from a working tree where untrusted PR-head content has been checked out (e.g. after a manual
gh pr checkout). BB fetches PR data via gh api (diff-as-data) and never writes PR files to the
working tree, so the reviewed diff is safe; but .loa.config.yaml (models, budgets,
cross_repo.allowed_owners, cross_repo.manual_refs) is read from the local checkout, which
must therefore be trusted. The auto-detected cross-repo allowlist defaults to the reviewed PR's own
org (derived from PR metadata, independent of config); allowed_owners / manual_refs only widen
that and assume a trusted config source. Investigated + closed as not-applicable in the shipped
invocation model (no PR-head checkout) — see #1050.
When BB reviews a PR that modifies BB itself — or any other framework file under .claude/, grimoires/, .beads/, etc. — the Loa-aware filter normally strips those files from the review payload before the multi-model pass. This is correct for code-PR reviews (no review noise from grimoire side-effects) but inverts on self-modifying PRs (the framework files ARE the substance).
To opt a single PR into self-review (framework files visible to all reviewer models), apply the label:
bridgebuilder:self-review
When detected, BB:
.claude/, grimoires/, .beads/ files become reviewable.reviewignore operator-curated patterns (BR-003 / BB-001-security): secrets/, vendor/, private-doc patterns in your repo's .reviewignore still exclude their matches under self-review. The label is an Allow on framework files, NOT a global Deny suppressor..reviewignore user patterns: [Loa-aware: self-review opt-in active — framework files included; .reviewignore (N user patterns) still honored (vision-013 / #796)][Loa-aware: self-review opt-in active — framework files included (vision-013 / #796)]truncated.selfReviewActive: true on the typed TruncationResult (downstream consumers — cache key, audit logs, future analyzers — read this field; never substring-match the banner prose, BB-797-001)loaAware) untouched — the opt-in is per-PR, not workspace-wideselfReview as a distinct dimension, so toggling the label on a PR with unchanged headSha produces a fresh review (BB-003-cache)Use this for: bridgebuilder TS adapter changes, cycle-planning PRs (PRD/SDD/sprint), construct manifest changes, anything where the framework artifacts ARE the diff. The label is a single source of truth (constant SELF_REVIEW_LABEL in core/truncation.ts); substring matches like bridgebuilder:self-review-extra do NOT trigger.
Override the default reviewer persona by creating grimoires/bridgebuilder/BEAUVOIR.md. The default persona reviews across 4 dimensions: Security, Quality, Test Coverage, and Operational Readiness.
This skill runs entry.sh which invokes the compiled Node.js application:
.claude/skills/bridgebuilder-review/resources/entry.sh [flags]
| Code | Meaning |
|---|---|
| 0 | All reviews completed successfully |
| 1 | One or more reviews encountered errors |