best-practices

Audit web applications and fix security, compatibility, and code quality issues.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/Gabrielloopes33/nexIA --skill best-practices-gabrielloopes33
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: best-practices
Source: https://github.com/Gabrielloopes33/nexIA/tree/main/.copilot/skills/best-practices
Command: npx skills add https://github.com/Gabrielloopes33/nexIA --skill best-practices-gabrielloopes33

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Modern web development standards based on Lighthouse best practices audits. This Skill helps ensure security, compatibility, and code quality patterns across projects, reducing vulnerabilities and maintenance overhead.

Core Features & Use Cases

  • Security audits: identify vulnerabilities, insecure configurations, and leakage risks, then propose remediations.
  • Browser compatibility: enforce modern standards, provide fallbacks, and improve cross-browser behavior.
  • Code quality patterns: promote maintainable, standards-compliant code and predictable behavior.
  • Use case: apply to legacy or new projects to achieve Lighthouse-aligned baselines.

Quick Start

Review a web project and return a prioritized remediation plan aligned with Lighthouse-based best practices.

Frequently Asked Questions about best-practices

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

FAQPage Schema
How do I audit my web application for Lighthouse best practices and security headers?

To audit web applications for Lighthouse best practices, you review the project to identify insecure configurations and leakage risks. This process checks for HTTPS, CSP, security headers, and input sanitization, returning a prioritized remediation plan.

What security headers and CSP configurations should I enforce for a modern web project?

Modern web security requires enforcing HTTPS, Content Security Policy (CSP), and proper security headers. Auditing your project identifies vulnerabilities and leakage risks, guiding the implementation of necessary configurations to align with Lighthouse standards.

How do I improve browser compatibility and code quality in a legacy codebase?

Improving browser compatibility and code quality involves enforcing modern standards, providing fallbacks, and promoting semantic HTML. Auditing legacy code identifies areas needing modernization to achieve predictable, maintainable, and standards-compliant behavior.

Can I use Lighthouse best practices audits for both new and legacy web projects?

Yes, Lighthouse best practices audits apply to both new and legacy web projects. Reviewing any project establishes a security and compatibility baseline, ensuring code quality patterns and reducing vulnerabilities regardless of the codebase age.

What is the best way to sanitize inputs and implement accessible HTML patterns?

The best way to sanitize inputs and implement accessible patterns is through a standards-compliant code review. This enforces semantic HTML and secure input handling, aligning the application with modern Lighthouse best practices for security and accessibility.

Why does my web application fail Lighthouse security audits for missing CSP?

Failing Lighthouse security audits for missing CSP indicates your application lacks Content Security Policy headers. An audit identifies these insecure configurations and leakage risks, providing remediations to enforce CSP and secure the application.