← ClaudeAtlas

web-best-practiceslisted

Audits a website or web app against web-platform best practices and ships the fixes, across seven dimensions — semantic HTML + ARIA landmarks, accessibility, images/fonts, performance, security headers (CSP/HSTS), SEO metadata, and machine-readability for AI agents (llms.txt, schema.org JSON-LD, crawler access, Google's agent-ready rules). Runs a zero-dep static scanner over a project, guides the agent's semantic pass, and provides copy-paste fixes (llms.txt + security-header templates) plus authoritative sources (MDN, web.dev, W3C APG, llmstxt.org). Use when the user wants to check or improve a site's best practices, accessibility, security headers, CSP, semantic HTML, SEO/meta tags, structured data, schema.org, or make a site agent-ready or AI-crawler-friendly. For the deep Core Web Vitals CI gate (Lighthouse CI, CrUX), defer to web-perf-ci.
YosefHayim/dufflebag · ★ 2 · Web & Frontend · score 68
Install: claude install-skill YosefHayim/dufflebag
# Web Best Practices (audit + fix) One principle drives this skill: **making a site good for AI agents and good for humans is the same work.** Google's own agent guide says it — *"Everything we suggest to make a site 'agent-ready' also makes sites better for humans."* An agent reads a page through the screenshot, the raw DOM, and the **accessibility tree** — exactly what a screen reader, a search crawler, and a performance budget already reward. So this is **one audit**, scored across seven dimensions, each with a copy-paste fix. > **Perf is delegated.** This skill checks performance at a glance only; the measured Core Web Vitals CI gate (Lighthouse CI lab + CrUX field + web-vitals RUM) is the **`web-perf-ci`** skill — hand off there, don't re-implement it. ## The seven dimensions | # | Dimension | The bar | | --- | --- | --- | | 1 | **Semantic HTML & landmarks** | native elements over `<div>`; exactly one `<main>`; `<section>` needs an accessible name or it isn't a landmark | | 2 | **Accessibility** | real `<button>`/`<a>`; every input a linked `<label>`; meaningful `alt`; no bad ARIA (native first) | | 3 | **Images & fonts** | AVIF/WebP + `srcset`; explicit `width`/`height` (kills CLS); `loading="lazy"` below the fold; `font-display: swap` | | 4 | **Performance/CWV** | LCP ≤2.5s · INP ≤200ms · CLS ≤0.1; code-split heavy libs; brotli; long-cache hashed assets | | 5 | **Security headers** | HTTPS; CSP (no inline JS, `frame-ancestors`); HSTS; `X-Content-Type-Options`; `Sec