/lightrun-ai:lightrun-runtime-aware-pr-reviewfrom lightrun-ai
Reviews pull requests using runtime production evidence from Lightrun. Diffs against the PR merge base, checks Runtime History, collects live samples for gaps, and simulates the patch on captured production inputs.
Ships in lightrun-ai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Provide a single PR review backbone that uses runtime production evidence when possible and falls back to scenario-driven review when runtime verification is incomplete.
Read and follow these references in order. Each phase produces a specific artifact; confirm that artifact exists and meets the phase's exit criteria before advancing to the next phase.
Before moving from one phase to the next, confirm the current phase's exit criteria are met:
pr_base_sha, pr_head_sha, and the PR diff (pr_base_sha → pr_head_sha) are in hand; deployed_sha is recorded when resolved.uncovered or not runtime-verifiable).covered, base-covered, head-covered, or uncovered per Phase 3. Skip live planning and capture when all are covered.base-covered, head-covered, or uncovered verification areas (up to 3).Do not advance a phase until its exit criteria are satisfied; loop back to the prior phase when evidence is incomplete.
pr_base_sha → pr_head_sha) for all verification areas, attribution, findings, runtime assessment, and merge recommendation.deployed_sha only to locate safe runtime instrumentation and describe true deployed production behavior.deployed_sha → pr_head_sha as the PR review diff.base-covered, head-covered, or uncovered. History reads do not require active agents or live-source preflight.At the end of a completed run, emit the full automation response described in Output format. Keep intermediate phase communication in chat using only the content defined for that phase.
agents/openai.yaml (opens in a new tab)assets/lightrun-small.svg (opens in a new tab)assets/lightrun.png (opens in a new tab)references/code-management.md (opens in a new tab)references/constraints.md (opens in a new tab)references/intro.md (opens in a new tab)references/mcp-tool-discovery.md (opens in a new tab)references/output-format.md (opens in a new tab)references/phase-0-get-deployed-commit.md (opens in a new tab)references/phase-1-feasibility-check.md (opens in a new tab)references/phase-2-verification-areas.md (opens in a new tab)references/phase-3-runtime-profile.md (opens in a new tab)references/phase-4-sampling-plan.md (opens in a new tab)references/phase-5-execute-snapshots.md (opens in a new tab)references/phase-6-patch-simulation.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (lightrun-platform/lightrun-ai) — no native marketplace selected
npx claudepluginhub p/lightrun-platform-lightrun-skills5 skills in this plugin
/lightrun-ask-prodAnswer questions about production system behavior — captured variable values, execution durations, hit counts, and value distributions — using suitable existing Runtime History first, then live instrumentation with Lightrun MCP tools when needed. Use when the question requires runtime evidence rather than static code analysis (e.g. "show recent requests to this endpoint", "show the runtime distribution for this operation", "what values appear for this expression in production?", "which branch runs for customer X?"). Do not use for incident diagnosis, pull-request review, code changes, setup, or deployment. Route latency, timeout, deadline, SLO, or hang diagnosis to lightrun-slow-execution-diagnosis when available; route other diagnosis, or fallback when that skill is unavailable, to lightrun-live-runtime-debugging when available. If neither diagnosis skill is available, report the scope gap./lightrun-error-remediation-automationGuide deterministic runtime investigations in environments using Lightrun MCP tools, using suitable Runtime History before new live actions, with preflight gating, recovery/resume rules, evidence-first diagnosis, PR-first fix proposal delivery, and local source-code fallback only when PR creation is not possible./lightrun-live-runtime-debuggingDiagnose bugs and incidents using suitable captured Runtime History before focused live capture with Lightrun MCP. Use when static analysis or logs cannot explain the failure mechanism, when a hypothesis must be tested against runtime values or control flow, or when resuming Lightrun async actions. For latency, timeout, deadline, SLO, or hang diagnosis, use lightrun-slow-execution-diagnosis when available; if unavailable, continue here with best-effort evidence. Do not use for one-off production measurements (use lightrun-ask-prod when available; otherwise report the measurement-scope gap), pull-request review, code changes, setup, or deployment./lightrun-slow-execution-diagnosisDiagnose performance incidents in running services with Lightrun MCP: slow endpoints, latency or SLO regressions, timeouts, deadline-exceeded errors, hangs, and slowness that is intermittent, sporadic, occasional, happens only sometimes, or appears only under load. Use relevant Runtime History for state/path context before creating live actions. Prefer this over lightrun-live-runtime-debugging, including for mixed slow-and-incorrect cases. Use slow-execution snapshots when a duration boundary separates problematic executions; use focused active-path snapshots or call stacks for known hangs that may not reach an end marker. Select the narrowest code section, derive an evidence-based threshold, and correlate captured state with code and telemetry. Use lightrun-live-runtime-debugging for non-performance diagnosis and lightrun-ask-prod for one-off timing, when available; otherwise report the scope gap. Do not use for pull-request review, code changes, setup, deployment, or post-deployment performance validation.Other plugins' skills for the same job