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
npx skills add PostHog/ai-plugin --skill review-hog-perspective-contracts-security -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/review-hog-perspective-contracts-security/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/review-hog-perspective-contracts-security/
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill review-hog-perspective-contracts-security -a codex2Manually: put the files in place
.agents/skills/review-hog-perspective-contracts-security/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill review-hog-perspective-contracts-security -a cursor2Manually: put the files in place
.cursor/skills/review-hog-perspective-contracts-security/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install PostHog/ai-plugin skills/review-hog-perspective-contracts-security2Manually: put the files in place
.github/skills/review-hog-perspective-contracts-security/SKILL.md1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill review-hog-perspective-contracts-security -a gemini-cli2Platform CLI
gemini skills install https://github.com/PostHog/ai-plugin --path skills/review-hog-perspective-contracts-securityManually: put the files in place
.devin/skills/review-hog-perspective-contracts-security/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill review-hog-perspective-contracts-security -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.