best-practices

Audit web apps for security headers, CSP, accessibility, and performance.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Mercurykz/Barretao- --skill best-practices-mercurykz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: best-practices
Source: https://github.com/Mercurykz/Barretao-/tree/main/.cursor/skills/best-practices
Command: npx skills add https://github.com/Mercurykz/Barretao- --skill best-practices-mercurykz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Modern web development faces security, compatibility, and quality challenges; this Skill codifies Lighthouse-inspired best practices to help teams build safer, more reliable web applications.

Core Features & Use Cases

  • Enforce security headers and CSP to reduce attack surface and data leakage.
  • Guide browser compatibility and progressive enhancement for reliable user experiences.
  • Improve code quality through structured audits, patterns, and repeatable checks.

Quick Start

Run the guidelines on your existing web project to begin applying security, compatibility, and quality improvements.

Frequently Asked Questions about best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce security headers and CSP to reduce my website's attack surface?

To enforce security headers and CSP, apply established best practices that guide you through actionable patterns and checks across security scenarios. This reduces the attack surface and prevents data leakage in modern web applications by satisfying strict standard compliance.

What is the best way to audit web accessibility and performance for code quality?

Auditing web accessibility and performance for code quality involves applying Lighthouse-inspired best practices through structured audits and repeatable checks. This process improves code quality and ensures reliable user experiences via progressive enhancement.

Can I use these web security checks with my existing frontend project?

Yes, you can apply these web security checks to your existing frontend project. Running the guidelines on your current codebase helps you begin applying security, compatibility, and quality improvements without requiring additional dependencies.

How do I create reusable audit templates for team integration?

You create reusable audit templates for team integration by following the structured patterns and repeatable checks provided by the skill. This codifies Lighthouse-inspired best practices into standardized guidelines that satisfy strict standard compliance across your team.

Why do I need to guide browser compatibility and progressive enhancement for web apps?

You need to guide browser compatibility and progressive enhancement to ensure reliable user experiences across different environments. Applying these web best practices resolves modern development challenges related to compatibility and quality.