best-practices

Audit web projects for security, compatibility, and code-quality gaps.

77|3|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/FlorianBruniaux/starmapper --skill best-practices-florianbruniaux
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: best-practices
Source: https://github.com/FlorianBruniaux/starmapper/tree/main/.agents/skills/best-practices
Command: npx skills add https://github.com/FlorianBruniaux/starmapper --skill best-practices-florianbruniaux

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Web projects often struggle to enforce consistent security, compatibility, and quality standards. This Skill provides a pragmatic, Lighthouse-driven framework to apply best practices across security, compatibility, and code quality.

Core Features & Use Cases

  • Security audits: verify HTTPS usage, CSP, and security headers; identify and remediate vulnerabilities.
  • Browser compatibility: ensure proper doctype, charset, viewport, and cross-browser readiness; guide responsive and accessible markup.
  • Code quality and performance: promote semantic HTML, accessible markup, and performance-oriented patterns; provide remediation guidance.
  • Use Case: a frontend team preparing a production release can perform a comprehensive audit and implement the recommended improvements.

Quick Start

Run a Lighthouse-based audit on your project and implement the recommended 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 perform a web security audit for HTTPS, CSP, and security headers?▼

A web security audit verifies HTTPS usage, Content Security Policy, and security headers to identify vulnerabilities. This skill provides a Lighthouse-driven framework to detect missing security configurations and apply recommended mitigations across frontend codebases.

What is the best way to check browser compatibility and resolve deprecated APIs?▼

Checking browser compatibility ensures proper doctype, charset, viewport, and cross-browser readiness. A Lighthouse audit identifies deprecated APIs and console errors, guiding remediation for responsive and accessible markup across web projects.

How do I improve frontend code quality and performance patterns?▼

Improving frontend code quality promotes semantic HTML, accessible markup, and performance-oriented patterns. A Lighthouse audit reviews source maps and code quality gaps, providing specific remediation guidance to optimize web projects.

Can I use Lighthouse to audit a frontend codebase before a production release?▼

Yes, Lighthouse can audit a frontend codebase before a production release. A frontend team can perform a comprehensive security, compatibility, and code-quality audit, then implement the recommended improvements to ensure cross-browser readiness.

Why does my web project have console errors and missing security headers?▼

Console errors and missing security headers indicate gaps in code quality and web security. Running a Lighthouse-based audit detects these issues, verifies CSP compliance, and provides an audit checklist with recommended mitigations.