React Doctor

🏢Official
by posthog · vlatest · Repository

Diagnose and fix common PostHog React integration issues with automated code analysis and guidance.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add posthog-react-doctor npx -- -y @trustedskills/posthog-react-doctor
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "posthog-react-doctor": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/posthog-react-doctor"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The posthog-react-doctor skill provides automated code review and suggestions specifically tailored for React applications using PostHog. It analyzes your codebase to identify potential performance bottlenecks, accessibility issues, and adherence to best practices within the context of PostHog integration. This helps ensure a smooth and efficient user experience while maximizing the value derived from PostHog's features.

When to use it

  • Performance Audits: Before deploying a React application integrated with PostHog, run this skill to proactively identify and resolve performance issues.
  • Accessibility Checks: Ensure your React components are accessible by leveraging the skill’s accessibility analysis capabilities.
  • Code Quality Reviews: Integrate this skill into your CI/CD pipeline for automated code reviews focused on PostHog-related aspects of your React codebase.
  • Refactoring Existing Code: When refactoring a legacy React application with PostHog integration, use the skill to guide improvements and identify potential problems.

Key capabilities

  • React component analysis
  • Performance bottleneck detection
  • Accessibility issue identification
  • PostHog best practices enforcement

Example prompts

  • "Analyze this React component for performance issues related to PostHog."
  • "Check the accessibility of my PostHog event tracking implementation in this file."
  • "Review this code snippet and suggest improvements based on PostHog best practices."

Tips & gotchas

This skill is most effective when used with a React application that already has PostHog integrated. The analysis focuses specifically on interactions between the React codebase and PostHog, so it won't provide general React advice.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
posthog
Installs
26

🏢 Official

Published by the company or team that built the technology.