
ReviewHog Authoring
FreeCreate custom review perspectives for automated PR reviews.
Free · Opens the source repo
What ReviewHog Authoring does
ReviewHog is an automated pull request (PR) reviewer developed by PostHog, designed to enhance code review processes through specialized lenses and checks. This skill focuses on authoring custom ReviewHog skills, allowing users to define unique review perspectives, blind-spot checks, and validation criteria tailored to their team's needs. By leveraging this skill, users can create a more efficient and targeted review process that aligns with their specific project requirements.
The authoring process begins with understanding existing ReviewHog skills using the PostHog MCP skill tools. Users can explore the current set of perspectives and checks to avoid redundancy and ensure that new skills fill gaps in the review process. After gathering insights from team members on what the new skill should address, authors draft concise instructions that guide the ReviewHog agent in evaluating PR chunks effectively. This structured approach ensures that each custom skill is focused and actionable.
In addition to defining perspectives, users can create blind-spot checks that assess areas not covered by existing perspectives, enhancing the thoroughness of the review process. Validation criteria can also be customized to set clear standards for what findings should be published, ensuring that only relevant and significant issues are flagged for authors' attention. This skill is particularly beneficial for teams looking to refine their code review practices and improve the quality of their pull requests.
When to use it
Use this skill when you need to implement custom review perspectives, blind-spot checks, or validation criteria for your PR reviews.
When not to use it
This skill is not suitable for teams that do not require custom review processes or those relying solely on the default ReviewHog configurations.
What you can build with it
Customizing Review Processes
A development team wants to create a unique review perspective focused on security vulnerabilities in their PRs, ensuring that all security issues are flagged.
Enhancing Review Coverage
A team frequently encounters overlooked edge cases in their code reviews and decides to implement a blind-spot check to catch these issues.
Setting Validation Standards
A project team aims to minimize noise in their PR reviews by establishing clear validation criteria that prioritize user-impacting findings.
How to install ReviewHog Authoring
View source1. Install with the skills CLI
npx skills add posthog/posthog/review-hog-authoring --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by posthogAuthoring ReviewHog skills
ReviewHog is PostHog's automated PR reviewer. A review splits the PR into chunks, then for each chunk runs every enabled perspective in parallel (independent specialist lenses), a single blind-spot check afterwards (a final sweep conditioned on what the perspectives found), and finally judges every surviving candidate finding against one validation criteria skill — only findings that pass get published to the pull request.
All three kinds are team LLMSkill rows the review agents pull over MCP at run time. PostHog ships
canonicals; this skill is the guide for authoring custom ones. The skill itself is team-level;
whether it runs is a per-user setting in Inbox → Code review.
| Kind | Name contract | Cardinality per user | Canonical example |
|---|---|---|---|
| Review perspective | review-hog-perspective-<slug> | Multi-enable, at least one stays on | review-hog-perspective-logic-correctness |
| Blind-spot check | review-hog-blind-spots-<slug> | Exactly one active; selecting swaps | review-hog-blind-spots-general |
| Validation criteria | review-hog-validation-<slug> | Exactly one active; selecting swaps | review-hog-validation-criteria |
Authoring flow
- Ground yourself. Using the PostHog MCP skill tools,
skill-listthe team'sreview-hog-*skills andskill-getthe canonical of the kind you're authoring (see the table above) — it is the reference for structure and tone. For a perspective, skim the descriptions of every existingreview-hog-perspective-*so the new lens doesn't re-cover ground an enabled one already owns (overlap gets deduplicated later, but it wastes review passes). - Interview the user. Ask what the skill should focus on, and offer a few concrete directions the current set doesn't cover — grounded in what you saw in step 1 and, when useful, in the project itself. Don't start writing until the direction is picked.
- Draft the body following the per-kind guidance below. Keep it a focused instruction set the review agent can apply to one chunk in one pass — not an essay.
- Create the skill yourself with
posthog:skill-create— actually create the teamLLMSkillrow; never hand the user a body to copy-paste. Pass the exact name per the contract above (lowercase slug), a one-paragraphdescriptionof what the lens/sweep/bar is, and the body. The name prefix is the whole identity — it is how the Code review tab and the review runs discover the skill. There is nocategoryparameter on the skill tools and you don't need one: the backend stamps thereview_hoggrouping category itself (it only affects grouping on the Skills page) — do not spend turns trying to set or verify it. Iterate withposthog:skill-updateif the user wants changes. Author fresh — don'tskill-duplicatea canonical to edit: seeded metadata rides along with the copy, and the canonical sync may overwrite or prune it. - Tell the user how to activate it. A custom skill starts inactive for them:
- Perspective — toggle it on under Inbox → Code review → Perspectives (it appears disabled until they enable it; at least one perspective must stay on).
- Blind-spot check / validation criteria — select it under the matching section; exactly one runs at a time, so selecting it swaps out the current one for their reviews only. Reviews pin skill versions when a run starts, so an edit mid-review applies from the next run.
Writing a review perspective
The body instructs one specialist review pass over one PR chunk. Match the canonical logic-correctness skill's shape:
- The lane — one sentence on what this lens is responsible for; report everything in lane and leave the rest to the other perspectives.
- Hunting grounds — a numbered handful of concrete places to look, each a specific check the agent can walk against the chunk ("transaction boundaries that split writes that must land together"), not an abstract virtue ("ensure correctness").
- Lane boundary — which perspective owns each adjacent concern this lens must leave alone.
- The finding bar — a publishable finding names the concrete trigger and the concrete consequence; close with a completion criterion ("done when every changed file is flagged or cleared against every hunting ground").
The review harness already tells the agent the pipeline mechanics — parallel perspectives, later deduplication, severity levels, the non-test-files rule — so the skill carries only the lens; restating harness rules dilutes it.
Writing a blind-spot check
The body instructs the final sweep that runs after every enabled perspective finished a chunk. It is conditioned on the covered findings (the prompt lists which perspectives ran and what they found), so the body should say how to use that: the covered findings map where attention already went, and the sweep's value is the negative space — error paths, unhandled inputs, cross-file interactions, assumptions. It is not scoped to one specialty, and an empty result beats padding. A custom sweep narrows or re-weights this hunt (e.g. toward a domain the team keeps getting burned by).
Writing validation criteria
The body defines the keep/drop bar every candidate finding is judged against before publishing. Precision over recall is the house default — a reviewer that raises noise gets muted — so define: what makes a finding real and worth an author's attention (user-affecting correctness, security, data loss, contract breaks, performance), what gets dropped (overengineering, speculation, defensive paranoia, unreachable edges, style), and how to treat genuine uncertainty (default: drop). A custom bar shifts strictness or re-weights concerns; it should still demand evidence from the live codebase, not vibes.
Frequently asked questions about ReviewHog Authoring
Similar skills
Quality Playbook Generator
Run comprehensive quality audits on any codebase.
PR Draft Summary
Automate PR summary generation for openai-agents-python.
Final Release Review
Streamline your release candidate audits with ease.
Unit Test Vue Pinia
Efficiently write and review unit tests for Vue 3 applications.
Slang Shader Expert
Optimize and integrate Slang shaders with ease.
Telemetry Standards
Ensure consistent event tracking in Supabase Studio.
