:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(review-hog): group review skills under a "Review skills" header (#72370)
Alex Lebedevd5d244cc892a
diff --git a/products/review_hog/frontend/CodeReviewScene.tsx b/products/review_hog/frontend/CodeReviewScene.tsxindex 4536000ca894..dc9290904b41 100644--- a/products/review_hog/frontend/CodeReviewScene.tsx+++ b/products/review_hog/frontend/CodeReviewScene.tsx@@ -1389,7 +1389,7 @@ function PerspectivesSection(): JSX.Element {const { togglePerspective } = useActions(reviewHogSettingsLogic)return (- <section className="flex flex-col gap-4 border-t border-primary pt-8">+ <section className="flex flex-col gap-4"><SectionHeadericon={<IconStack />}title="Perspectives"@@ -1447,7 +1447,7 @@ function SingleActiveSection({const { blockSingleActiveDeactivation } = useActions(reviewHogSettingsLogic)return (- <section className="flex flex-col gap-4 border-t border-primary pt-8">+ <section className="flex flex-col gap-4"><SectionHeadericon={icon}title={title}@@ -1570,30 +1570,41 @@ export function CodeReviewScene(): JSX.Element {<RecentReviewsSection /><PipelineSection /><TriggersSection />+ <section className="flex flex-col gap-8 border-t border-primary pt-8">+ <div className="flex flex-col gap-1.5">+ <h2 className="m-0 text-xl font-bold">Review skills</h2>+ <p className="m-0 max-w-160 text-sm text-secondary">+ Everything below is a regular skill, stored in your PostHog skills store like anything else+ you've added. Perspectives read your changed code, a blind-spot sweep catches what they+ missed, and validation criteria decide what reaches the pull request. Toggling one here+ applies only to your pull request reviews; editing a skill changes it for the whole team.+ </p>+ </div>+ <PerspectivesSection />+ <SingleActiveSection+ icon={<IconSearch />}+ title="Blind-spot check"+ intro="After the enabled perspectives finish, ReviewHog runs one more sweep over each chunk — it sees what they found and hunts for real issues they all missed. Add as many sweeps as you like, but only one runs."+ kind="blind_spots"+ kindLabel="blind-spot check"+ preamble={<EffectivenessCard kind="blind_spots" />}+ createLabel="Create your own blind-spot check"+ skills={blindSpots?.map((s) => ({ ...s, on: s.active })) ?? null}+ onSelect={selectBlindSpots}+ />+ <SingleActiveSection+ icon={<IconShield />}+ title="Validation criteria"+ intro="Every candidate finding is checked against your quality bar before publishing, so noisy, speculative, or low-value issues never reach the pull request. Keep several bars on hand, but only one is applied."+ kind="validator"+ kindLabel="validator"+ createLabel="Create your own validation criteria"+ preamble={<ValidatorEffectivenessCard />}+ skills={validators?.map((s) => ({ ...s, on: s.active })) ?? null}+ onSelect={selectValidator}+ />+ </section><UrgencySection />- <PerspectivesSection />- <SingleActiveSection- icon={<IconSearch />}- title="Blind-spot check"- intro="After the enabled perspectives finish, ReviewHog runs one more sweep over each chunk — it sees what they found and hunts for real issues they all missed. Add as many sweeps as you like, but only one runs."- kind="blind_spots"- kindLabel="blind-spot check"- preamble={<EffectivenessCard kind="blind_spots" />}- createLabel="Create your own blind-spot check"- skills={blindSpots?.map((s) => ({ ...s, on: s.active })) ?? null}- onSelect={selectBlindSpots}- />- <SingleActiveSection- icon={<IconShield />}- title="Validation criteria"- intro="Every candidate finding is checked against your quality bar before publishing, so noisy, speculative, or low-value issues never reach the pull request. Keep several bars on hand, but only one is applied."- kind="validator"- kindLabel="validator"- createLabel="Create your own validation criteria"- preamble={<ValidatorEffectivenessCard />}- skills={validators?.map((s) => ({ ...s, on: s.active })) ?? null}- onSelect={selectValidator}- /><SkillDrawer /><ReviewDetailDrawer />