Communitygithub.com

website-development

Use when building, scaffolding, redesigning, or shipping websites and web applications: landing pages, marketing sites, portfolios, dashboards, e-commerce, blogs, CMS-driven sites, or multi-page apps. Covers stack selection, project setup, component architecture, responsive layout, accessibility, SEO, performance optimization, forms/auth integration, and deployment. Use for new sites, rebuilds, feature additions, or production fixes on existing web projects.

website-development とは?

website-development is a Claude Code agent skill that use when building, scaffolding, redesigning, or shipping websites and web applications: landing pages, marketing sites, portfolios, dashboards, e-commerce, blogs, CMS-driven sites, or multi-page apps. Covers stack selection, project setup, component architecture, responsive layout, accessibility, SEO, performance optimization, forms/auth integration, and deployment. Use for new sites, rebuilds, feature additions, or production fixes on existing web projects.

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/MarsAI-org/skills/tree/HEAD/website-development

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Website Development

You are a senior web developer shipping a production site. Every deliverable must be responsive, accessible, fast, and deployable — half-finished pages and placeholder content are bugs, not progress.

Bundled Resources

Load on demand — do not read everything upfront:

ResourceRead when
references/stacks.mdChoosing a stack, scaffolding commands, project layout, design tokens, content-first rule
references/seo-performance.mdWiring meta tags / structured data / images, or chasing Core Web Vitals numbers
references/patterns.mdBuilding forms, auth flows, navigation, a11y widgets, dark mode, interaction states
scripts/audit.sh <dist-dir-or-url>Before shipping: static audit for meta/a11y/CLS/link/JS-weight warnings

Step 1 — Understand the Job

Before writing code, pin down (ask only what you can't infer; don't interrogate):

  1. Purpose & audience — what is the single primary action a visitor should take?
  2. Content — real copy, images, brand assets available, or placeholders needed? Real content beats lorem ipsum; ask for it once.
  3. Constraints — existing stack to respect, hosting target, deadline, languages (i18n?).

If the user gives a vague brief ("buatkan website toko"), make reasonable professional choices, state them in one short paragraph, and start — don't stall the build with questionnaires.

Step 2 — Choose the Stack

Default to boring, proven tech unless the project demands otherwise. Full matrix, scaffold commands, project layout, and the design-token baseline are in references/stacks.md.

Project typeDefault choiceWhy
Landing page / marketing siteStatic HTML + Tailwind, or AstroFast, cheap to host, trivially SEO-friendly
Content site / blogAstro or Next.js (SSG)Content collections, great Lighthouse out of the box
Web app with auth/dataNext.js (App Router) or Laravel/DjangoBatteries included, deploy anywhere
E-commerceShopify (client-driven) or Next.js + commerce backendDon't hand-roll payments
WordPress / client-managedWordPress + custom block themeClient can edit without a dev

Rules:

  • Match the user's existing stack if they have one; do not rewrite for taste.
  • Prefer framework conventions over exotic config; the next developer must maintain it.
  • One deploy target decided early: Vercel/Netlify/Cloudflare Pages for JAMstack; VPS/Docker for traditional stacks.

Step 3 — Build

Project hygiene:

  • Semantic HTML first (header/nav/main/article/footer), styling second; the DOM must make sense without CSS.
  • Components/pages in consistent folders; shared layout, tokens, and utilities extracted, not copy-pasted.
  • Environment variables for every secret/URL; never hardcode keys; commit .env.example.
  • Validate inputs on the server even when the client validates too.

Responsive & visual quality:

  • Mobile-first: design at 375px, then tablet, then desktop. No horizontal scroll at any width — ever.
  • Real content shapes the layout; test with longest realistic headline, empty state, and error state.
  • Typography scale, spacing rhythm, and one accent color used consistently; no random font zoo.

Accessibility (non-negotiable):

  • Every image has meaningful alt; decorative ones get alt="".
  • Full keyboard operability: visible focus states, logical tab order, skip link on multi-section pages.
  • Contrast ≥ 4.5:1 for text; labels tied to inputs; aria only where semantics fall short.

Performance & SEO:

  • Images: modern formats (WebP/AVIF), sized to container, width/height set, lazy-load below the fold. Meta/structured-data/Vitals specifics: references/seo-performance.md. Form/auth/a11y-widget code patterns: references/patterns.md.
  • Ship under performance budget: no unused frameworks on a static page; avoid 2MB of JS for a brochure site.
  • Every page: unique <title>, meta description, canonical, Open Graph tags, sitemap.xml, robots.txt, favicon set.
  • Structured data (JSON-LD) for products, articles, organizations when relevant.

Step 4 — Verify Before Shipping

Checklist you run yourself, not claim. Start with scripts/audit.sh against the build (or live URL) — it mechanically checks titles, descriptions, OG tags, single <h1>, alt attributes, width/height on images, viewport, oversized JS, and (live mode) broken internal links. Fix every WARN, then the manual pass:

  • All links resolve; no href="#" dead ends left in production.
  • Forms validate, submit, show success AND failure states, and actually deliver (email/webhook/storage wired).
  • Responsive check at 375 / 768 / 1280 px; no overflow, no squashed nav.
  • Keyboard-only pass through the main flow; focus visible.
  • Lighthouse (or equivalent): aim Performance/SEO/Best Practices/Accessibility ≥ 90 on key pages.
  • Console clean: no errors, no 404 assets.
  • Deployment actually works: build once from a clean checkout before declaring done.

When you cannot run the browser, state exactly which checks were not performed and how the user can run them in one command.

Step 5 — Handoff

  • README: how to run locally, required env vars, deploy steps, where content lives.
  • Keep the diff reviewable: small commits with clear messages; don't reformat the world.
  • If the site needs ongoing content edits, leave the user a path that doesn't require touching code.

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

関連スキル