User-Agent: String identifying the client software. Browsers, libraries, bots all send one. The User-Agent header identifies the software making a request: a browser with its version and operating system, a command-line tool like curl, an HTTP library, or a search engine crawler. Servers use it for statistics, to serve different content to some clients, and to recognise bots. It is also easy to fake, so never use it for security decisions.
When your own code calls external APIs, set a clear user agent with your application's name and a contact URL. API providers can then reach you if something goes wrong, instead of simply blocking unknown traffic. Feature detection is a more reliable way than user-agent sniffing to decide what a browser supports, because browsers change their user-agent strings regularly and some reduce the detail they share.
Use when reviewing or setting HTTP response headers for a web app or API - security headers (Content-Security-Policy, Strict-Transport-Security, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy), CORS headers, caching headers (Cache-Control, ETag, Last-Modified, Vary) and cookies (Set-Cookie flags). Also use when a security scan reports missing headers.
'Expert-level browser automation, debugging, and performance analysis using Chrome DevTools MCP. Use for interacting with web pages, capturing screenshots, analyzing network traffic, and profiling performance.'
OWASP Top 10 security audit and secure coding guidelines for Laravel + React/Inertia.js applications. Use when auditing for vulnerabilities ("run OWASP audit", "security review", "check my app security") or writing secure Laravel code involving auth, payments, file uploads, or API design. Triggers on security-related tasks, payment handling, authentication, or any request to audit a Laravel codeba