Generated banner for Review Hog Validation Criteria
Generated logo for Review Hog Validation Criteria

Review Hog Validation Criteria

PostHogOfficialPublished by PostHog

  • Skill
  • Review and audit
  • Software development
  • MIT
  • No issues found

From the author

Keeps findings that affect correctness, security, data, API compatibility, or performance. Drops speculative issues and style suggestions before publishing.
— the description by PostHog

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill acts as a final validation layer for code reviews, designed to ensure that only significant, actionable issues reach the author. By prioritizing precision over recall, it systematically filters out speculative concerns, stylistic preferences, and overengineering suggestions. It requires the agent to investigate flagged code against the live codebase to determine if an issue poses a genuine risk to correctness, security, data integrity, API compatibility, or performance.

What it does

  • Evaluates flagged PR issues against strict impact criteria.
  • Filters out noise such as stylistic preferences, overengineering, and speculative edge cases.
  • Requires verification of code against the live codebase and call sites.
  • Provides a structured keep/drop verdict for each flagged issue.
  • Demands concrete argumentation linking triggers to specific consequences for all kept issues.

When to use it

  • When you need to reduce noise in automated or peer-reviewed code feedback.
  • When you want to ensure that only high-impact, actionable bugs are surfaced to developers.
  • When you need to maintain a high signal-to-noise ratio in a busy development workflow.
  • When you need to distinguish between genuine architectural risks and subjective code style.

Advantages

  • Increases developer productivity by focusing attention on critical issues.
  • Reduces friction in the review process by eliminating subjective or speculative feedback.
  • Ensures that feedback is grounded in concrete, verifiable code behavior.
  • Promotes a consistent standard for what constitutes a valid issue across the team.

Usage examples

“Review this flagged issue regarding a potential null pointer in the user service.”
The agent investigates the call sites, confirms the input is already validated by the parent controller, and drops the issue as defensive-coding paranoia.
“Evaluate this performance concern flagged in the data ingestion pipeline.”
The agent identifies an N+1 query pattern that will impact production scale, validates it against the schema, and keeps the issue with a detailed explanation.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/posthog/review-hog-validation-criteria/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip review-hog-validation-criteria.zip -d .agents/skills

Documentation by PostHog

Review validation criteria

You are the final judgment gate of a PR review. Earlier specialist perspectives flagged candidate issues; your job is to decide, for each one, whether it is worth surfacing to the author — not to re-review the PR or invent new issues. Investigate the flagged code against the live codebase, then return a keep/drop verdict (is_valid) using the bar below.

The guiding principle is precision over recall: a reviewer that raises noise gets muted, so when you are genuinely unsure whether an issue matters, drop it. A smaller set of real, actionable findings is worth far more than a long list padded with maybes.

Keep an issue (is_valid = true) when it is a real problem that plausibly affects users or the codebase

Keep it if the flagged code, as written and as actually reached, would cause one of:

  • Correctness bugs — wrong results, broken logic, off-by-one / boundary errors, mishandled edge cases that real inputs will hit, incorrect data transformations or state mutations.

  • Security issues — injection, auth/permission gaps, IDOR / tenant-isolation holes, secret leakage, unsafe deserialization, path traversal, SSRF.

  • Data loss or corruption — destructive or non-idempotent operations, lost writes, migrations that drop or mangle data, race conditions that corrupt shared state.

  • Contract breaks — backwards-incompatible API / schema / signature changes, broken callers, a changed invariant other code relies on.

  • Performance problems that bite at real scale — N+1 queries, unbounded loops/memory on realistic inputs, missing indexes on hot paths, blocking I/O on an async path, accidental quadratic behavior.

  • Resource / reliability defects — leaked connections / file handles, unreleased locks, swallowed errors that hide failures, missing handling for a failure mode that will occur.

A good "keep" can name the concrete trigger and the concrete consequence ("if items is empty this raises IndexError", "this query runs once per row → N+1 on the dashboard"). If you can't name both, be skeptical.

Drop an issue (is_valid = false) when it is noise

Drop it if it is any of:

  • Overengineering — "extract this", "add an abstraction/interface", "make it configurable", "future-proof for a case that isn't in scope".

  • Speculative "what if" — depends on inputs or conditions that can't actually occur given the call sites, types, or validation already in place.

  • Defensive-coding paranoia — guarding against None/errors that upstream types or invariants already rule out; redundant checks the framework or a parent caller already performs.

  • Never-gonna-happen edge cases — theoretically possible but practically unreachable, or so rare and low-impact that handling it isn't worth the code.

  • Pure style / taste — naming, formatting, comment wording, import order, "I'd write it differently" with no behavioral difference. (Formatting is not a PostHog Review concern.)

  • Already handled — the supposed problem is prevented elsewhere (a parent caller, a default, a framework guarantee, existing validation), which you confirmed by reading the surrounding code.

  • Wrong / unreproducible — investigating the actual code shows the premise is mistaken.

How to decide

  1. Read the flagged file(s) and the code around them in full — don't judge from the snippet alone.

  2. Trace whether the problem can actually be reached: check call sites, types, validation, and how inputs flow in.

  3. Weigh real impact (who is affected, how badly) against the bar above.

  4. On the fence → drop (precision over recall, as above).

  5. Record a focused argumentation that states the concrete reasoning for your verdict, and set category to the kind of issue it is.

Files

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
PostHog
Publisher
PostHog (Official)
Source
PostHog/skills · skills/omnibus/review-hog-validation-criteria · commit a5d30e7
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by PostHog.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download review-hog-validation-criteria.zip