best-practices

Enforce web development best practices for security, compatibility, and code quality.

Updated May 18, 2026
One-click install
npx skills add https://github.com/lucasloutayf/barberia-evolution --skill best-practices-lucasloutayf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: best-practices
Source: https://github.com/lucasloutayf/barberia-evolution/tree/main/.agents/skills/best-practices
Command: npx skills add https://github.com/lucasloutayf/barberia-evolution --skill best-practices-lucasloutayf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Web developers need a structured, comprehensive set of guidelines to ensure security, compatibility, and code quality across projects.

Core Features & Use Cases

  • Security hardening patterns, CSP, SRI, secure headers, and safe data handling.
  • Browser compatibility and performance best practices, doctype, viewport, polyfills guidance, and accessible markup.
  • Code quality and maintenance guidance, audit checklists, and modernization patterns.
  • Use cases include security audits, code reviews, project modernization, and quality assurance across web apps.

Quick Start

Follow the documented patterns to upgrade security, compatibility, and code quality in your next web project.

Frequently Asked Questions about best-practices

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

FAQPage Schema
What web security headers and patterns do I need for a modern web app audit?

A web app security audit should enforce HTTPS, Content Security Policy (CSP), Subresource Integrity (SRI), and secure headers. Applying these modern web development best practices ensures safe data handling and protects against vulnerabilities during security hardening.

How do I implement Content Security Policy and Subresource Integrity correctly?

To implement CSP and SRI correctly, apply structured web security best practices that enforce secure headers and safe data handling. These standards prevent cross-site scripting and unauthorized resource modification during security audits and code reviews.

What are the best practices for browser compatibility and accessible markup?

Browser compatibility and accessible markup best practices require proper doctype and viewport configuration, alongside polyfills guidance. Following these performance and compatibility standards ensures web applications render consistently across different environments.

Can I use these best practices for project modernization and code quality reviews?

Yes, you can use these best practices for project modernization and code quality reviews. They provide audit checklists and maintenance guidance to systematically upgrade security, compatibility, and code quality across existing web applications.

When do I need polyfills for web application compatibility?

You need polyfills for web application compatibility when supporting browsers that lack native modern features. Following compatibility best practices alongside proper doctype and viewport settings ensures consistent rendering and accessible markup across diverse environments.