Skip to content
B

best-practices

Apply modern web development best practices for security, compatibility

by addyosmaniFree

#3744in AI Skills
0In stores

Description

best-practices is an agent skill for checking a web app against modern best practices, based on the Lighthouse best practices audits. It cov…

Highlights

  • Runs Lighthouse best practices audits
  • Fixes code and re-runs the same audit
  • Security reference for CSP, HSTS and cookies
  • Falls back to the Lighthouse CLI
  • Install with npx skills add

Ratings & Reviews

No ratings yet

Be the first to rate best-practices.

People also visit

W

web-coder

Expert 10x engineer with comprehensive knowledge of web development

AI Skills
Get
M

modern-web-guidance

Search tool for modern web development best practices

AI Skills
Get
W

web-design-guidelines

Audit UI code against Web Interface Guidelines with live rule fetching

AI Skills
Get
W

web-quality-skills

Optimizes web quality using Lighthouse and Core Web Vitals

AI Skills
Get
R

react-doctor

Diagnose and fix React codebase health issues

AI Skills
Get
C

code-reviewer

Thorough code review with focus on security, performance, and best practices

AI Skills
Get

best-practices FAQ

What does the best-practices skill do?

It audits a web app against modern best practices for security, browser compatibility and code quality, using Lighthouse and related checks.

How do I install it?

Run npx skills add https://github.com/addyosmani/web-quality-skills --skill best-practices.

Does a high Lighthouse score mean the app is secure?

No. The skill says Lighthouse is not a complete security assessment, and a high score is not proof of security.

What does the security reference cover?

HTTPS and HSTS, CSP and Trusted Types, Subresource Integrity, headers, dependencies, sanitization and cookies.

What if live tools are not available?

The skill uses the Lighthouse CLI and focused dependency and header checks instead.

What are its security audits?

The skills.sh listing shows Gen Agent Trust Hub and Socket passed, and Snyk gave a warning.

What are the best best-practices alternatives?

Popular alternatives to best-practices include web-coder, modern-web-guidance and web-design-guidelines. See all best-practices alternatives

Developer Stuff

Badges