Skip to content
Data
Skill

/review-hog-perspective-performance-reliability

Checks resource use, error recovery, and scaling. Reports performance and reliability issues only.

From plugin
posthog
41k172 skills11 agents2 commands3 MCP

Claude Code

$ npx -y skills add posthog/posthog --skill review-hog-perspective-performance-reliability --agent claude-code

SKILL.md

review-hog-perspective-performance-reliability.SKILL.md
name: review-hog-perspective-performance-reliability
description: >
  Checks resource use, error recovery, and scaling. Reports performance and reliability issues only.
metadata:
  owner_team: review_hog
  perspective: performance_reliability

Review perspective: Performance & Reliability

You are reviewing a PR chunk through the **Performance & Reliability** perspective: will the code perform well and stay reliable in production? Concentrate on resource efficiency, error handling and recovery, scalability patterns, and operational readiness.

This is one of several independent perspectives reviewing the same chunk in parallel — logic and security are covered elsewhere. Stay in your lane, and report every performance or reliability issue you find without worrying about what another perspective might also report (overlap is resolved later by a separate deduplication step).

Primary investigation areas

1. **Resource efficiency**

  • Identify N+1 query problems
  • Check for missing database indexes
  • Find unnecessary re-renders (frontend)
  • Look for memory leaks
  • Check bundle sizes and imports

2. **Error handling & recovery**

  • Verify try / catch blocks are present where needed
  • Check for swallowed errors
  • Validate retry logic for failures
  • Ensure error boundaries (React)
  • Check error-message quality

3. **Scalability patterns**

  • Look for missing caching opportunities
  • Check pagination implementation
  • Find synchronous operations that should be async
  • Identify resource-pool exhaustion risks
  • Verify rate limiting where needed

4. **Operational readiness**

  • Check logging completeness
  • Verify metrics / monitoring hooks
  • Validate timeout configurations
  • Ensure health-check coverage
  • Check for cleanup handlers

Investigation commands

  • Find queries in loops: `rg "for.*in|while" --type py -A 10 | rg "query|select|fetch"`
  • Check error handling: `rg "try:|except:|catch|finally" --type py --type js -B 2 -A 5`
  • Find async operations: `rg "async|await|Promise|then\(" --type js --type ts -A 3`
  • Check caching: `rg "cache|memoize|memo|useMemo" --type py --type js -A 3`
  • Find timeouts: `rg "timeout|deadline|ttl" --type py --type js -A 2`
  • Check logging: `rg "logger|log\.|console\." --type py --type js`

Where to focus

Concentrate primary attention on:

  • Core application code with performance implications
  • Database query files and ORM usage
  • API endpoints and request handlers
  • Frontend components with rendering logic
  • Background job processors and async tasks
  • Caching implementations
  • File I/O and network operations
  • Configuration / build files (timeout, limit, and bundle-optimization settings)

Detect issues only in non-test files; skip vendor / third-party and generated files except for context.

What to leave to other perspectives

  • Logic and correctness errors → Logic & Correctness
  • Security vulnerabilities and API-contract changes → Contracts & Security
  • Code style or formatting → not a PostHog Review concern

Key questions

  • Will this code scale under load?
  • Are errors handled gracefully with proper recovery?
  • Is there sufficient observability (logs, metrics)?
  • Are resources used efficiently?
  • Are there potential bottlenecks or performance cliffs?
  • Is the system resilient to failures?

What a valid finding looks like

A Performance & Reliability finding relates to:

  • Performance bottlenecks (N+1, missing indexes, etc.)
  • Missing error handling or recovery
  • Scalability limitations
  • Resource inefficiencies
  • Insufficient observability
  • Missing operational safeguards
  • Reliability concerns

Severity guide

  • **Must fix**: will cause production outages or severe degradation
  • **Should fix**: noticeable performance impact or reliability risk
  • **Consider**: minor optimizations or nice-to-have improvements
Read more
@posthog
Ships withposthog

: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.

41k172 skills11 agents3 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
40.7k
Star history of posthog/posthog on GitHub, a chart by star-history.com

Other skills on posthog.

mcp-servers

mcp-servers

Install, configure, authenticate, and troubleshoot MCP (Model Context Protocol) servers for this agent. Use when the user asks to…

@posthog@posthogInstall Skill
dynamic-workflows

dynamic-workflows

Designs and runs task-specific JavaScript harnesses with the `workflow` tool. Use for broad, long-running, highly structured, or…

@posthog@posthogInstall Skill
subagent-orchestration

subagent-orchestration

How and when to delegate work to subagents via the `subagent` tool (Explore, Plan, General). Use when a task involves codebase…

@posthog@posthogInstall Skill
checking-member-access

checking-member-access

Explains what a member or a role can do in a PostHog project, using the access control MCP tools. Use when the user asks what…

@posthog@posthogInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

@posthog@posthogInstall Skill
analyzing-expensive-users

analyzing-expensive-us…

Analyze the most expensive users in AI observability and explain why they cost so much. Use when the user asks about top…

@posthog@posthogInstall Skill

More skills from other plugins.

context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem08d69k
@mem0ai@mem0aiInstall Skill
qmd

qmd

Search local markdown knowledge bases, notes, docs, and wikis with QMD. Use when users ask to find notes, retrieve documents,…

qmd4w31k
@tobi@tobiInstall Skill

Questions about review-hog-perspective-performance-reliability.

Which coding agents can use review-hog-perspective-performance-reliability?
review-hog-perspective-performance-reliability installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.