Skills for Real Engineers. Straight from my .agents directory.
best-practices
Agent skill fromaddyosmani/web-quality-skills
Apply modern web development best practices for security, compatibility, and code quality. Use when asked to "apply best practices", "security audit", "modernize code", "code quality review", or "check for vulnerabilities".
How to install best-practices
npx skills add addyosmani/web-quality-skills# or add only this skill to Claude Code: copy the folder
skills/best-practices/
# into
~/.claude/skills/best-practices/ (all projects)
.claude/skills/best-practices/ (one project)
1# Best practices23Modern web development standards based on Lighthouse best practices audits. Covers security, browser compatibility, and code quality patterns.45## Evidence-led audit workflow67When a rendered page is available:891. Run a live Lighthouse Best Practices audit when that capability is available; with Chrome DevTools MCP, use `lighthouse_audit`. Use navigation mode for a normal page load or snapshot mode when the current state must be preserved.102. Inspect the listed console and network failures and fetch individual details only when they support a finding.113. Supplement runtime evidence with dependency, header, configuration, and source inspection; Lighthouse is not a complete security assessment.124. Fix the implicated code, re-run the same audit, and keep security findings separate from style preferences.1314If live tools are unavailable, use the Lighthouse CLI plus focused dependency and header checks. Never report a high Lighthouse score as proof that the application is secure.1516## Security1718Read [the security reference](references/SECURITY.md) when security is in scope or a live audit surfaces a related failure. It covers HTTPS/HSTS, CSP and Trusted Types, Subresource Integrity, headers, dependencies, sanitization, and cookies.1920At minimum:2122* **Use HTTPS without mixed content.** Add HSTS only after confirming every relevant subdomain supports HTTPS.23…
Excerpt shown under the repository's MIT license.
More skills in web-quality-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
