tracekit-php-sdk

Installation
SKILL.md

TraceKit PHP SDK Setup

Auth Bootstrap

Do not tell the user to go sign up, log in separately, or manually create an API key before setup. First check for existing TraceKit auth. If ~/.tracekitconfig does not contain the production profile or TRACEKIT_API_KEY is missing, apply the tracekit-auth skill first. Use ./scripts/run-tracekit-auth.sh status to check, then guide the user through the TraceKit email verification flow with register and verify. That flow signs the user into an existing account for that email or creates the account automatically, then saves the returned credentials for the rest of the setup.

When To Use

Use this skill when the user asks to:

  • Add TraceKit to a PHP application
  • Add observability or APM to a vanilla PHP project
  • Instrument a PHP service with distributed tracing
  • Configure TraceKit API keys in a PHP project
  • Debug production PHP services with live breakpoints
  • Set up code monitoring in a PHP app

Important: If the project uses Laravel (check for laravel/framework in composer.json), use the tracekit-laravel-sdk skill instead -- it provides Laravel-specific service providers, config publishing, and facades.

Non-Negotiable Rules

Related skills

More from tracekit-dev/tracekit-for-ai

Installs
6
GitHub Stars
1
First Seen
Mar 9, 2026