skills/review-hog-validation-criteria/SKILL.md
The validation criteria for ReviewHog — the bar for deciding whether a flagged PR issue is worth keeping. Keeps real, user-affecting correctness / security / data-loss / contract / performance problems; drops overengineering, speculation, paranoia, never-gonna-happen edge cases, and style.
npx skillsauth add posthog/ai-plugin review-hog-validation-criteriaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
is_valid = true) when it is a real problem that plausibly affects users or the codebaseKeep it if the flagged code, as written and as actually reached, would cause one of:
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.
is_valid = false) when it is noiseDrop it if it is any of:
None/errors that upstream types or invariants
already rule out; redundant checks the framework or a parent caller already performs.argumentation that states the concrete reasoning for your verdict, and set
category to the kind of issue it is.data-ai
Signals scout for PostHog Tasks, the agent work items a project runs. Two lenses: delivery health (runs failing, clustered by repository and error class, and retry storms) every run, and on a slower rotation demand (recurring asks across human-authored tasks that point at a product gap). Skips the scout fleet's own run rows.
devops
Signals scout for the PostHog Conversations (support inbox) product. Watches the `$conversation_*` ticket-lifecycle events for support-delivery regressions — SLA breach-rate steps, first-response latency blowouts, backlog inflow-vs-resolution imbalance, and channel / assignment concentration — and files each dated regression as a report. Complements the per-ticket product-feedback signals the emission pipeline already fires; does not re-surface individual ticket content.
development
Populates and maintains a project's data catalog (semantic layer): canonical metrics, trust marks (certifications) on warehouse tables/views, and reviewed table relationships. Use when asked to set up / seed / bootstrap the data catalog or semantic layer, to catalog a project's metrics, to certify or deprecate data sources, to propose or review table joins, or to work through the proposal review queue. To *use* an existing catalog to answer a business-number question, see querying-posthog-data instead. Trigger terms: data catalog, semantic layer, canonical metric, certify table, deprecate source, relationship proposal, metric drift, review queue.
tools
Investigate logs in a PostHog project: verify a service or deployment is healthy, explain an error spike, triage an incident, or understand what a log stream is saying. Use when the user asks to "check the logs", asks whether a service, deploy, release, or change is working or broke anything, asks why errors are up or what changed, or wants the root cause of failures visible in logs. Routes the logs MCP tools (services overview, pattern mining, before/after pattern diffing, bucketed counts, facets, raw rows) so investigations start from summaries instead of raw rows or hand-written SQL over the logs table.