review-gate

star 0

Perform an independent pre-merge quality gate with a strict PASS or FAIL decision, prioritized findings, and required fixes. Use before merge, release, or any high-risk deployment.

vkomlev By vkomlev schedule Updated 6/1/2026

name: review-gate description: Perform an independent pre-merge quality gate with a strict PASS or FAIL decision, prioritized findings, and required fixes. Use before merge, release, or any high-risk deployment.

Review Gate

Shared Runtime Contract

Apply the booster-wide contract from booster-runtime-contract.md.

Operating Modes

  • Gate mode:
    • standard by default.
    • paranoid for release, risky deploy, schema or data changes, auth/security-sensitive work, or when the user asks for maximum conservatism.
  • Execution posture:
    • always report-only.

Purpose

This skill is the final gate decision layer. It should consume the strongest available review artifacts first, especially outputs from techlead-code-reviewer, and convert them into a strict go/no-go decision for integration to main/master, release, or risky deployment.

Workflow

  1. Declare the gate mode (standard or paranoid) and keep report-only posture explicit.
  2. Read the current-state evidence:
  • changed files and affected runtime paths;
  • commit range and commit messages when the project defines a commit-message policy;
  • untracked files, expected review/spec artifacts, temporary debug scripts, and unrelated dirty files;
  • relevant review artifacts, if they already exist;
  • validation commands and observed results.
  1. If a techlead-code-reviewer artifact exists, explicitly consume these fields from it:
  • Review Mode
  • Execution Posture
  • Decision
  • Blocking Findings
  • Non-Blocking Findings
  • Current-State Assessment
  • Docs/Config/Runtime Drift Assessment
  • Required Validation Commands
  • Residual Risks
  1. If a qa-report artifact exists, explicitly consume these fields from it:
  • QA Mode
  • Execution Posture
  • Scope
  • Environment
  • Current-State Assessment
  • Blocking Issues
  • Non-Blocking Issues
  • Untested or Blocked Areas
  • Severity Assessment
  • Evidence
  • Recommended Next Step
  1. If a release-prep artifact exists, explicitly consume these fields from it:
  • Release Mode
  • Execution Posture
  • Release Scope
  • Preflight Assessment
  • Validation Assessment
  • Blocked or Untested Critical Paths
  • Docs/Config/Runtime Drift Assessment
  • Rollback Assessment
  • Operator Readiness Assessment
  • Go/No-Go
  • Recommended Next Step
  1. If no upstream review artifact exists, perform a compact independent gate review focused on decision safety rather than broad commentary.
  2. Evaluate the gate in this order:
  • correctness and behavioral regressions;
  • data and migration safety;
  • security and secret handling;
  • public API contract sync and hardcoded URL drift;
  • cross-project contract/memory sync for CB/LMS/SPW/TG_LMS changes;
  • QA evidence and blocked acceptance paths;
  • release readiness, rollback credibility, and operator readiness;
  • docs/config/runtime drift;
  • repository hygiene: commit-message policy, missing expected artifacts, temporary debug files, and unrelated working-tree drift;
  • test adequacy and validation coverage;
  • maintainability only where it changes release safety.
  1. In paranoid mode, assume missing evidence is unsafe until proven otherwise.
  2. Return a strict PASS or FAIL with required fixes and the next safe step.

Output Contract

  • Gate Mode
  • Execution Posture
  • Decision
  • Current-State Assessment
  • Consumed Review Artifacts
  • Consumed QA Artifacts
  • Consumed Release Artifacts
  • Blocking Issues
  • Non-Blocking Improvements
  • Docs/Config/Runtime Drift Assessment
  • Public API Contract Assessment
  • Cross-Project Sync Assessment
  • Repository Hygiene Assessment
  • Required Fixes
  • Required Tests
  • Required Validation Commands
  • Residual Risks
  • Next Safe Step

Decision Rules

  • PASS only if no blocking issue remains.
  • FAIL if production-critical behavior is uncertain.
  • FAIL if validation evidence is missing for a risky path.
  • FAIL if QA artifacts show unresolved S1/S2 behavior on a release-critical, user-critical, or operator-critical path.
  • FAIL if QA reports blocked or untested acceptance paths that are required for integration or release confidence.
  • FAIL if release artifacts show no-go, non-credible rollback, or unready operator path for the planned release.
  • FAIL if docs/config/runtime drift makes deployment, operator flow, or repository understanding unsafe.
  • FAIL if a required spec/review/release artifact is missing from the reviewed change, or if unrelated dirty drift would be included in the integration.
  • FAIL if a public API URL/method/schema/status changed without same-change spec/OpenAPI/docs backsync.
  • FAIL if cross-project CB/LMS/SPW/TG_LMS behavior changed without the relevant contract/state/changelog update or an explicit not-applicable reason.
  • FAIL if an external write path has only mock evidence and no gated live smoke or operator verification replacement.
  • FAIL if an upstream review already says FAIL and the blocking issues remain unresolved.
  • In paranoid mode, unresolved ambiguity is itself a blocking issue.
  • Treat commit-message convention misses, temporary debug files, and unrelated dirty files as S3 non-blocking findings unless they affect reproducibility, release contents, or the reviewed integration boundary.
  • Check commit subjects against git-commit-rules.md.

Quality Rules

  • Prefer current-state evidence over intended follow-up work.
  • Consume existing review artifacts instead of rewriting a second full review when the first one is already strong.
  • Every finding must include: impacted file/path, current-state risk, why it matters, and specific fix direction.
  • Keep the gate decision compact and binary: it is a go/no-go layer, not a brainstorming layer.
  • Check the project error register for repeated prevention actions before returning PASS.
  • Surface repository hygiene findings explicitly even when they are non-blocking, so they can enter the weekly skill-improvement loop.
Install via CLI
npx skills add https://github.com/vkomlev/CreateShorts --skill review-gate
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator