idorgham/gateflow/github-pr-review

Claude Code and agent skill by idorgham/gateflow

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Comprehensive automated Pull Request review, security invariants checking, diff auditing, CI status verification, and safe-merge coordination.

Install

npx vskill@latest install idorgham/gateflow/github-pr-review

SKILL.md

The same SKILL.md was published earlier as idorgham/gateflow/github-pr-review.

SKILL: GitHub Pull Request Review & Merge Gate

Purpose

Automate high-precision, multi-dimensional code reviews for GateFlow pull requests. Validate architectural invariants, multi-tenancy scoping, performance budgets, and security posture before authorizing a merge.


5-Point Review Audit Checklist

When reviewing any Pull Request or branch diff, execute this 5-gate audit:

Gate 1: Multi-Tenancy & Security Invariants
  • Tenant Isolation: Every database query touching tenant entities MUST include organizationId: session.organizationId.
  • PII Protection: Ensure national IDs, phone numbers, and license plates are encrypted via AES-256-GCM.
  • Secrets Scan: Confirm no hardcoded API keys, test JWT secrets, or environment overrides exist in the diff.
  • Soft Deletes: Only use deletedAt: null on models that define deletedAt.
Gate 2: Type Safety & Architecture Integrity
  • No `any` Escapes: Ensure TypeScript types are strictly defined; no unvetted type assertions (as any).
  • Prisma Schema Drift: Verify migrations are backwards-compatible and use DIRECT_DATABASE_URL for direct DDL.
  • API Contracts: Validate request schemas with Zod and response schemas with @gate-access/types.
Gate 3: UI Design & Arabic RTL Localization
  • ADS Tokens Only: Disallow raw hex colors; require pure CSS variables (var(--ds-*)) or @gateflow/theme.
  • Bidirectional RTL: Verify that layouts use logical spacing (ms-*, me-*, ps-*, pe-*) and Cairo Arabic typography.
  • Hydration Safety: Ensure theme and language switchers do not trigger client-side React hydration mismatches.
Gate 4: Performance & Core Web Vitals
  • CLS Guard: Ensure all images and dynamic widgets define explicit aspect ratios / heights ($0.00\text{ CLS}$).
  • Dynamic Imports: Heavy components (e.g. Recharts, QR Canvas) must be lazy loaded or rendered in client bounds.
  • Server Components: Prefer React Server Components (RSC) for data fetching where applicable.
Gate 5: Verification & Proof
  • CI Checks: Ensure all 15+ CI checks are green (gh pr checks <pr_number>).
  • Preflight: Verify pnpm preflight passes locally without skipped tests.
  • Runtime Proof: Validate .ai/runtime-proof.json receipt via pnpm proof:check.

Standard Review Commands

bash
# 1. Inspect PR metadata and diff
gh pr view <pr_number>
gh pr diff <pr_number>
# 2. Check CI status
gh pr checks <pr_number>
# 3. Squash merge once green and authorized
gh pr merge <pr_number> --squash --delete-branch

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
4
7-day trend score
13

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/idorgham/gateflow/github-pr-review/badge)](https://verified-skill.com/skills/idorgham/gateflow/github-pr-review)

Something wrong with this skill or its page? Tell us.