MCPInstall

vanilla-web

Build or modify plain HTML/CSS/JavaScript (no framework) using modular ES modules (ESM), SRP, minimal global state, and shippable runnable files with lightweight verification. Use for static pages, small UI widgets, vanilla JS refactors, and quick prototypes without React/Vue/Angular.

Installs
667
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/janjaszczak/cursor --skill vanilla-web
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads vanilla-web automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Vanilla Web (HTML/CSS/JS)

Baseline constraints (from the rule)

Use these as non-negotiables:

  • "HTML/CSS/JS only (no framework)."
  • "Keep JS modular (ESM), split responsibilities (SRP)."
  • "Prefer small, focused functions and pure utilities; avoid global state."
  • "Ship complete runnable files and minimal tests before marking done."

When to activate this skill

Activate when the user asks for:

  • vanilla JS / plain HTML/CSS/JS / static page
  • “no framework”, “no React/Vue/Angular”
  • small UI components (modal, tabs, dropdown, form validation) built directly in the DOM
  • refactors to remove framework dependencies or reduce JS complexity

Output expectations

  1. Deliver complete runnable files (no missing imports/paths, no TODO placeholders).
  2. Keep changes small, testable, and incremental.
  3. Provide a short runbook: how to run/verify locally + what to check in DevTools.

Implementation workflow

1) Clarify only what blocks correctness

Ask up to 3 questions only if requirements are ambiguous in a way that changes implementation. Otherwise proceed with explicit assumptions.

2) Structure & responsibilities

  • Prefer this split:
    • index.html (semantic markup)
    • styles.css (or css/…)
    • js/main.js as an ESM entrypoint + js/modules/*.js for components/utilities
  • SRP: each module does one thing (DOM wiring, state, rendering, API, utilities).
  • Avoid global mutable state. If state is needed, encapsulate it in a module and expose minimal functions.

3) HTML guidelines

  • Use semantic tags (header, main, nav, button, dialog where applicable).
  • Accessibility baseline: keyboard navigation, focus states, ARIA only when needed (don’t ARIA-overuse).

4) CSS guidelines

  • Prefer simple, predictable naming (BEM-like optional).
  • Use CSS variables for theme primitives.
  • Keep layout responsive by default (flex/grid + relative units).

5) JavaScript guidelines (ESM)

  • Use type="module" and explicit imports/exports.
  • Prefer pure utilities and small functions.
  • Use event delegation for lists/dynamic UIs.
  • Handle errors explicitly (network failures, missing DOM nodes, invalid inputs).

Verification checklist

Use the detailed checklist in:

  • references/checklist.md

When finishing work, ensure:

  • No console errors/warnings caused by the change
  • All referenced assets resolve (paths/imports)
  • Feature works with keyboard and without requiring a framework runtime

Progressive disclosure

Keep this SKILL.md lean; store deeper examples and checklists under references/. Do not paste large style guides into SKILL.md—link to repo examples instead.

Suggested companion scripts (optional)

  • scripts/serve.sh for quick static serving (manual verification)

See:

  • scripts/serve.sh

FAQ

What does the vanilla-web skill do?

Build or modify plain HTML/CSS/JavaScript (no framework) using modular ES modules (ESM), SRP, minimal global state, and shippable runnable files with lightweight verification. Use for static pages, small UI widgets, vanilla JS refactors, and quick prototypes without React/Vue/Angular.

How do I install vanilla-web?

Run npx skills add https://github.com/janjaszczak/cursor --skill vanilla-web in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/vanilla-web/ (personal) or .claude/skills/vanilla-web/ (project).

Which AI agents can use vanilla-web?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is vanilla-web safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains vanilla-web?

It is published by janjaszczak in janjaszczak/cursor. It has 667 recorded installs.

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs