best-practices

Audit web code for security, compatibility, and quality issues.

12|3|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/RodrigoTomeES/getmcp --skill best-practices-rodrigotomees
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: best-practices
Source: https://github.com/RodrigoTomeES/getmcp/tree/main/.agents/skills/best-practices
Command: npx skills add https://github.com/RodrigoTomeES/getmcp --skill best-practices-rodrigotomees

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you identify and fix common web development issues that reduce security, compatibility, performance, and code quality.

Core Features & Use Cases

  • Security hardening: Review HTTPS usage, CSP, security headers, cookies, and dependency risks.
  • Compatibility checks: Catch missing doctype, charset, viewport, deprecated APIs, and weak feature detection.
  • Code quality guidance: Improve semantic HTML, error handling, source map handling, and performance patterns.
  • Use case: Audit a marketing site or web app before launch to reduce vulnerabilities and prevent avoidable Lighthouse best-practice failures.

Quick Start

Use the best-practices skill to review my web app and recommend security, compatibility, and code 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 audit my web app for security headers and CSP compliance?

To audit web app security headers and CSP compliance, review HTTPS usage, Content Security Policy directives, and cookie settings. This process identifies dependency risks and recommends fixes to harden vulnerabilities before launch.

What web compatibility issues should I check before launching a site?

Before launching a site, check for missing doctype, charset, and viewport tags. Web compatibility audits also detect deprecated APIs and weak feature detection to ensure consistent rendering across browsers.

How do I improve semantic HTML and error handling for Lighthouse best practices?

Improve semantic HTML and error handling by validating source map usage and performance patterns. Lighthouse best practices checks evaluate deprecated APIs and semantic markup to reduce avoidable audit failures.

Does this code review approach work for both marketing sites and web apps?

Yes, this code review approach works for both marketing sites and web apps. It audits JavaScript, HTML, cookies, and headers to improve security, browser compatibility, and code quality regardless of scale.

What is the best way to prevent deprecated API and browser compatibility failures?

The best way to prevent deprecated API and browser compatibility failures is to run automated code reviews. This validates feature detection, HTTPS, and security headers to catch avoidable issues early.

Why does my web app fail Lighthouse best practices audits?

Your web app fails Lighthouse best practices audits due to missing security headers, deprecated APIs, or poor semantic HTML. Reviewing CSP, error handling, and viewport settings identifies and resolves these vulnerabilities.