Originally forked from Addy Osmani's web quality skills, this covers Lighthouse-based best practices for modern web development. You get security patterns (HTTPS enforcement, avoiding mixed content), browser compatibility guidance, and general code quality standards. It's the kind of reference that's useful when you want Claude to follow established web standards rather than inventing its own approach. The examples show concrete before-and-after code snippets, which helps when you're reviewing generated markup or scripts. Not groundbreaking, but solid fundamentals that keep AI-generated code from making rookie mistakes on security and compatibility.

skills.sh installs
276
GitHub stars
7.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add tech-leads-club/agent-skills --skill best-practices --agent claude-code

Installs into .claude/skills of the current project.

Files

Best practices

Modern web development standards based on Lighthouse best practices audits. Covers security, browser compatibility, and code quality patterns.

Security

HTTPS everywhere

Enforce HTTPS:

<!-- ❌ Mixed content -->
<img src="http://example.com/image.jpg" />
<script src="http://cdn.example.com/script.js"></script>

<!-- ✅ HTTPS only -->
<img src="https://example.com/image.jpg" />
<script src="https://cdn.example.com/script.js"></script>

<!-- ✅ Protocol-relative (will use page's protocol) -->
<img src="//example.com/image.jpg" />

HSTS Header:

Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

Content Security Policy (CSP)

<!-- Basic CSP via meta tag -->
<meta
  http-equiv="Content-Security-Policy"
  content="default-src 'self'; 
               script-src 'self' https://trusted-cdn.com; 
               style-src 'self' 'unsafe-inline';
               img-src 'self' data: https:;
               connect-src 'self' https://api.example.com;"
/>

<!-- Better: HTTP header -->

CSP Header (recommended):

Sponsors

Details

Repository
github.com/tech-leads-club/agent-skills
Categories
Security, Git & Pull Requests, Code Review & Quality, AI & Agent Building, Debugging, Marketing & SEO, Design & UI/UX
First seen
Jun 3, 2026

More from tech-leads-club/agent-skills

All 22

Recommended

More Security
1browserbase avatarwhat-antibotbrowserbase/skillsDetect antibot vendors on one or more URLs without opening a browser session. Use when the user asks what antibot, bot protection, WAF, captcha, or challenge pr275skills.sh installs
2patricio0312rev avatarinsomnia-collection-generatorpatricio0312rev/skillsGenerates Insomnia collection export files from Express, Next.js, Fastify, or other API routes. Creates organized workspaces with request groups, environments, 274skills.sh installs
3jezweb avatardjango-cloud-sql-postgresjezweb/claude-skillsDeploy Django on Google App Engine Standard with Cloud SQL PostgreSQL. Covers Unix socket connections, Cloud SQL Auth Proxy for local dev, Gunicorn configuratio272skills.sh installs
4rysweet avatarcomputer-scientist-analystrysweet/amplihackAnalyzes events through computer science lens using computational complexity, algorithms, data structures, systems architecture, information theory, and softwar272skills.sh installs
5community-access avatarcognitive-accessibilitycommunity-access/accessibility-agentsCognitive accessibility specialist for reviewing content, forms, authentication, timeouts, and UI patterns for clarity, reduced cognitive load, and WCAG 2.2/COG267skills.sh installs
6mvanhorn avatarpp-pypimvanhorn/printing-press-libraryPrinting Press CLI for Pypi. PyPI JSON API. Look up Python package metadata, versions, release files, and vulnerability data. Browse recent...266skills.sh installs