Skip to main content
skill CX Codex

review-hog-perspective-contracts-security — Claude Code skill

review-hog-perspective-contracts-security is a Claude Code skill that checks code changes for security flaws and API compatibility breaks. It reports contract and security findings during PR review.

no license 187 installs ★ 101 updated 2026-10-24

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add PostHog/ai-plugin --skill review-hog-perspective-contracts-security -a claude-code
Open on GitHub

What review-hog-perspective-contracts-security does

The skill examines PR changes for unsafe input handling, API contract breaks, and security gaps. It checks request and response formats, access controls, data schemas, and agreement between types across layers. Removed fields and incompatible format changes are among the issues it looks for.

It reviews application files, not tests; docs and UI components without data handling can provide context. Style, logic, and performance findings belong to other review perspectives.

What it helps with

  • spot unsafe handling of user input
  • catch breaking API changes
  • compare database schemas with code models
  • find gaps in validation and access control

Example prompts for the agent

  • Review this PR for security flaws and API contract problems.
  • Find missing input checks in the changed code.
  • Compare schema and type changes across the server and client.

How to install review-hog-perspective-contracts-security

1Skills CLI (Vercel)

npx skills add PostHog/ai-plugin --skill review-hog-perspective-contracts-security -a claude-code

2Manually: put the files in place

~/.claude/skills/review-hog-perspective-contracts-security/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/review-hog-perspective-contracts-security/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about review-hog-perspective-contracts-security

How do I install review-hog-perspective-contracts-security in Claude Code?

Run npx skills add PostHog/ai-plugin --skill review-hog-perspective-contracts-security -a claude-code. The skill file is placed at ~/.claude/skills/review-hog-perspective-contracts-security/SKILL.md.

What does review-hog-perspective-contracts-security do?

It checks PR changes for security risks, input-validation gaps, and API compatibility breaks. Its findings are limited to security and contract issues.

Does the skill review test files?

No. It looks for findings in non-test files; docs and UI components without data handling can be used as context.

Similar skills

All skills for Code review and refactoring →

From the same set82

The whole set →
investigating-ci-failures The investigating-ci-failures Claude Code skill traces an individual CI failure to its likely cause. It separates PR-specific problems from default-branch breaks and flaky tests. CX Codex +1 188installs review-hog-validation-criteria review-hog-validation-criteria serves as a final PR review gate, filtering candidate findings to keep real defects while discarding speculative noise. CX Codex +1 187installs review-hog-blind-spots-general The review-hog-blind-spots-general skill looks for concrete problems that earlier reviewers missed in a PR chunk. Use it as a final pass after other review perspectives have reported their findings. CX Codex +1 187installs review-hog-authoring review-hog-authoring — a guide skill for writing custom PostHog Review pieces: extra PR perspectives, your own blind-spot sweep, and the bars that decide what gets published or fixed. CX Codex +1 187installs review-hog-perspective-performance-reliability The review-hog-perspective-performance-reliability skill reviews code for performance and reliability concerns, from database access to error recovery. Use it when checking a change before it ships. CX Codex +1 187installs review-hog-perspective-logic-correctness review-hog-perspective-logic-correctness reviews one slice of a pull request for correctness: arithmetic, branches, data mapping, database queries. Useful when you want a focused second pass before merging. CX Codex +1 187installs copying-endpoints-across-projects copying-endpoints-across-projects duplicates PostHog API endpoints across projects in the same organization or clones them under a new name. Useful for promoting HogQL endpoints between environments. CX Codex +1 183installs signals-scout-conversations The signals-scout-conversations skill checks PostHog Conversations analytics for SLA breaches, slow first replies, and support-queue imbalances. Use it to spot operational changes across tickets. CX Codex +1 183installs

Project sponsors

Companies that keep this analytics open