web
Layer 1 — Domain Foundation (v2.0)
Universal web development principles that apply to every web project regardless
of framework. React, Vue, Svelte, vanilla JS — these principles hold.
Philosophy
This pack encodes the foundational web platform knowledge that agents frequently
get right in isolation but miss in practice. An agent knows what ARIA labels are.
It still produces a form with no error announcements for screen readers. An agent
knows about Core Web Vitals. It still renders a 2MB hero image without dimensions.
The gap isn't knowledge — it's consistent application.
What's Included
| Type |
Count |
Coverage |
| Patterns |
7 |
Accessibility (WCAG 2.2), performance (Core Web Vitals), security headers (OWASP), SEO, responsive design, error UX, loading states |
| Anti-patterns |
6 |
Div soup, missing alt text, layout shift, unprotected forms, client-only critical paths, no security headers |
| Constitution |
7 |
principles |
Grounded in: W3C WCAG 2.2 (October 2023), Google Core Web Vitals (2025),
OWASP Secure Headers Project, OWASP CSP Cheat Sheet, MDN Web Docs,
Web Almanac 2025, European Accessibility Act (June 2025).
What This Pack Does NOT Cover
- Framework-specific patterns (see
react, nextjs, etc.)
- CSS methodology opinions (BEM vs utility-first vs CSS-in-JS)
- Build tool configuration (Webpack, Vite, Turbopack)
- Backend/API patterns (see
api or baas)
1---2name: "web"3description: "Use when building or reviewing anything that renders in a browser — accessibility (WCAG 2.2), Core Web Vitals, security headers, SEO, responsive layout, error states, or loading states. Framework-agnostic."4version: "2.0.0"5type: knowledge6layer: domain7requires:8 sage: ">=1.0.0"9activates-when:10 detected: [react, vue, svelte, angular, next, nuxt, astro, remix, gatsby, vite, webpack, html]11tags: [react,vue,svelte,angular,next]12metadata:13 source: https://skillmd.com/skills/xoai/web14---1516# web1718**Layer 1 — Domain Foundation (v2.0)**1920Universal web development principles that apply to every web project regardless21of framework. React, Vue, Svelte, vanilla JS — these principles hold.2223## Philosophy2425This pack encodes the foundational web platform knowledge that agents frequently26get right in isolation but miss in practice. An agent knows what ARIA labels are.27It still produces a form with no error announcements for screen readers. An agent28knows about Core Web Vitals. It still renders a 2MB hero image without dimensions.2930The gap isn't knowledge — it's consistent application.3132## What's Included3334| Type | Count | Coverage |35|------|-------|----------|36| Patterns | 7 | Accessibility (WCAG 2.2), performance (Core Web Vitals), security headers (OWASP), SEO, responsive design, error UX, loading states |37| Anti-patterns | 6 | Div soup, missing alt text, layout shift, unprotected forms, client-only critical paths, no security headers |38| Constitution | 7 | principles |3940Grounded in: W3C WCAG 2.2 (October 2023), Google Core Web Vitals (2025),41OWASP Secure Headers Project, OWASP CSP Cheat Sheet, MDN Web Docs,42Web Almanac 2025, European Accessibility Act (June 2025).4344## What This Pack Does NOT Cover4546- Framework-specific patterns (see `react`, `nextjs`, etc.)47- CSS methodology opinions (BEM vs utility-first vs CSS-in-JS)48- Build tool configuration (Webpack, Vite, Turbopack)49- Backend/API patterns (see `api` or `baas`)