Web Development
Build, debug, and deploy websites using HTML, CSS, JavaScript, and modern frameworks following production best practices.
Iván
@ivangdavila
What This Skill Does
Builds, debugs, and deploys websites using HTML, CSS, JavaScript, and modern frameworks like React and Next.js, following production best practices for performance, SEO, and accessibility.
Replaces manual troubleshooting of common web development issues by providing a structured decision framework and critical rules for responsive design, CORS, async patterns, and deployment.
When to Use It
- Make a static site responsive with mobile-first CSS and media queries
- Debug a CORS error by configuring server-side headers or a same-origin proxy
- Improve Lighthouse scores by fixing layout shift and lazy-loading images
- Deploy a React or Next.js app to Vercel, Netlify, or a VPS
- Add SEO metadata and semantic HTML to each page of a website
- Choose the right framework for a project based on static vs. interactive needs
Install
$ openclaw skills install @ivangdavila/webQuick Reference
| Need | See |
|---|---|
| HTML/CSS issues | html-css.md |
| JavaScript patterns | javascript.md |
| React/Next.js/frameworks | frameworks.md |
| Deploy to production | deploy.md |
| Performance/SEO/a11y | performance.md |
Critical Rules
- DOCTYPE matters — Missing
<!DOCTYPE html>triggers quirks mode; layouts break unpredictably - CSS specificity beats cascade —
.classoverrides element selectors regardless of order ===not==— Type coercion causes"0" == falseto be true- Async/await in loops —
forEachdoesn't await; usefor...oforPromise.all - CORS is server-side — No client-side fix; configure
Access-Control-Allow-Originon the server - Responsive = viewport meta — Without
<meta name="viewport">, mobile renders desktop-width - Form without
preventDefault— Page reloads; calle.preventDefault()in submit handler - Images need dimensions — Missing
width/heightcauses layout shift (CLS penalty) - HTTPS or blocked — Mixed content (HTTP resources on HTTPS pages) gets blocked by browsers
- Environment variables leak —
NEXT_PUBLIC_*exposes to client; never prefix secrets
Common Requests
"Make it responsive" → Mobile-first CSS with media queries; test at 320px, 768px, 1024px
"Deploy to production" → See deploy.md for Vercel/Netlify/VPS patterns
"Fix CORS error" → Server must send headers; proxy through same-origin if you can't control server
"Improve performance" → Lighthouse audit; focus on LCP, CLS, FID; lazy-load below-fold images
"Add SEO" → Title/description per page, semantic HTML, OG tags, sitemap.xml
Framework Decision Tree
- Static content, fast builds → Astro or plain HTML
- Blog/docs with MDX → Astro or Next.js App Router
- Interactive app with auth → Next.js or Remix
- Full SSR/ISR control → Next.js
- Simple SPA, no SEO needed → Vite + React/Vue
Top skills in this category
OpenClaw Command Center
@jontsaiMission control dashboard for OpenClaw - real-time session monitoring, LLM usage tracking, cost intelligence, and system vitals. View all your AI agents in one place.
Interview Simulator
@wscatsSimulates mock interviews for any role and experience level with tailored technical, behavioral, and case questions plus detailed feedback and scoring.
moltbook-interact
@lunarcmdInteract with Moltbook social network for AI agents. Post, reply, browse, and analyze engagement. Use when the user wants to engage with Moltbook, check their feed, reply to posts, or track their activity on the agent social network.
Baidu Wenku AI picture book of video
@ide-rea百度文库AI绘本是一个基于人工智能制作绘本视频的工具,支持生成静态绘本和动态绘本(URL输出)。能帮助文本内容创作者们在缺乏绘画技能的情况下,快速生成精美绘本视频,提高内容生产效率。无论是在儿童教育、亲子互动、品牌营销,还是在社交媒体内容创作等领域都能应用。
Data Analyst
@realrocComplete the data analysis tasks delegated by the user.If the code needs to operate on files, please ensure that the file is listed in the `upload_files` par...