laravel avatar

Configure Nightwatch

This handles the full spectrum of Nightwatch configuration, from sampling strategies to PII redaction. You'll want this when your production trace volume gets expensive or you're capturing sensitive data you shouldn't be storing. The filtering flow is well explained: sampling controls which requests/commands start a trace, filtering drops specific event types after sampling, and redaction scrubs what you do keep. Includes practical patterns for route-based sampling (always sample checkout, never sample health checks), regex-based query filtering to ignore job table noise, and cache key patterns to skip session data. The three-stage pipeline diagram alone makes the sampling vs. filtering distinction clear, which most people get wrong initially.

skills.sh installs
408
GitHub stars
737
last updated
Jun 11, 2026

Install

$ npx -y skills add laravel/agent-skills --skill configure-nightwatch --agent claude-code

Installs into .claude/skills of the current project.

Files

Nightwatch Configuration Guide

This skill helps configure Laravel Nightwatch data collection to balance observability, performance, and privacy. Covers sampling strategies, filtering rules, and redaction methods across all event types.

Documentation Reference

The Nightwatch Documentation is the definitive and up-to-date source of information for all Nightwatch configuration options. This skill provides practical guidance and common patterns, but always consult the official documentation as the primary source of truth for specific details, environment variables, and API behavior. The documentation includes comprehensive coverage of:

Sponsors

Details

Repository
github.com/laravel/agent-skills
Categories
AI & Agent Building, PHP & Laravel
First seen
Jun 11, 2026

More from laravel/agent-skills

All 3
1vercel-labs avatarvercel-react-best-practicesvercel-labs/agent-evalReact and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js c408skills.sh installs
2robdefeo avatarpara-second-brainrobdefeo/agent-skillsUse this skill when the user wants to organize, classify, or maintain a PARA-method second brain. Triggers include asking where to file something, distinguishin407skills.sh installs
3shiplightai avatarperformance-reviewshiplightai/agent-skillsperformance review407skills.sh installs
4brianrwagner avatarsocial-card-genbrianrwagner/ai-marketing-claude-code-skillsGenerate platform-specific social post variants (Twitter/X, LinkedIn, Reddit) from one source input. Works with or without Node.js script. Includes platform rea406skills.sh installs
5maxnorm avatarmagento-frontend-developermaxnorm/magento2-agent-skillsCreates comprehensive Magento 2 frontend solutions. Use when developing frontend features, working with layout XML, templates, JavaScript, or responsive design.406skills.sh installs
6arjenschwarz avatarui-ux-reviewerarjenschwarz/agentic-codingEvaluate and improve user experience of interfaces (CLI, web, mobile)405skills.sh installs