AI USE CASES YOU CAN REUSE.English edition · Individuals, independents, small businesses
PostHog

Review prospects: performance and reliability

review-hog-perspective-performance-reliability

In brief

Checks resource utilization, error recovery and scale. Reporting on performance and reliability issues only.

What it does

  • Main areas of inquiry
  • I'm the 36.
  • Where to focus

Who it is for, and an example

People with matching tasks: Checks resource use, error recovery and scale.

Example request: "I-I-I-I-I-I-I-I-I-I-I-I-I-I reconsidering-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I Therefore-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I-I I - I - I - I - I I - I - I - I - I - »

Checks resource utilization, error recovery and scale. Example written by iadujour.fr from the SKILL.md, not tested.

Install

Claude Code : /plugin marketplace add PostHog/skills, puis /plugin install posthog-all@posthog-skills (README).

/plugin marketplace add PostHog/skills
/plugin install posthog-all@posthog-skills

Works with

  • Claude Code

Source: K0: marketplace K1: K2: Other agents are not appointed.

Level: Intermediate

Supposes a project already in place at the publisher and the tools described in the K0.

Good to know

PostHog Official Deposit (github.com/PostHog/skills). Skills for product analytics, feature indicators, error tracking and team workflows.

SKILL.md excerpt

The original description, which the agent reads to decide whether to load the skill (in English):

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

Quoted from SKILL.md at commit 445764b .

The SKILL.md has 108 lines and 6 main sections:

  • Primary investigation areas
  • Investigation commands
  • Where to focus
  • What to leave to other perspectives
  • Key questions
  • What a valid finding looks like

Licence: MIT

Checked on 13 November 2026 : fichier de licence du dépôt.

The licence allows reuse: the full SKILL.md text is reproduced below, unmodified, with its licence notice.

Full SKILL.md text

Reproduced unmodified from PostHog/skills (commit 445764b) , © PostHog, under licence MIT (original licence file ).

Show the original SKILL.md (108 lines, in English)
---
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
Source. Card written by iadujour.fr from: Frontmatter, sections and body of the deposit. Checked on 13 November 2026. PostHog/skills .
SAME PUBLISHER

Other PostHog skills: Observability and monitoring

Whole category
PostHogObservability and monitoring

Add PostHog Error Tracking

instrument-error-tracking

Add PostHog error tracking to capture and monitor exceptions.

Tools: Claude CodeLevel: Advancedupdated 12/11/2026
PostHogObservability and monitoring

Add PostHog AI Observability

instrument-llm-analytics

Add PostHog AI Observability to track the use of the AI model.

Tools: Claude CodeLevel: Advancedupdated 12/11/2026
PostHogObservability and monitoring

Add a PostHog log capture

instrument-logs

Add PostHog log capture to track application logs.

Tools: Claude CodeLevel: Intermediateupdated 12/11/2026
DISCUSSION

Comments.

A field note, a question, a precision on this skill? Comments are reviewed before publication.

Published comments

Loading comments…

    Leave a comment

    Moderation charter. Every comment is reviewed before publication. We refuse hate speech, insulting or discriminatory language, advertising, spam and promotional links, off-topic posts and other people’s personal data.