Official agent skill

Modern Web Guidance

by JetBrains in JetBrains/skills

Search tool for modern web development best practices. An agent skill from JetBrains/skills.

OfficialApache-2.0Auto-check passedDevOps & Cloud

Install Modern Web Guidance

skills CLI
$ npx skills add JetBrains/skills --skill modern-web-guidance -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install JetBrains/skills modern-web-guidance --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/JetBrains/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/modern-web-guidance .claude/skills/modern-web-guidance && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
modern-web-guidance
GitHub stars
366
Used in
3 other repos
Token cost
~1.4k tokens
SKILL.md length
531 words
Files
146
Skills in repo
76
Repo updated
First seen
Licence
Apache-2.0

At a glance

Search tool for modern web development best practices. An agent skill from JetBrains/skills.

  • Works in 2 steps: Search Use Cases → Retrieve Best Practices
  • Immediately for: - UI/Layout: Modals
  • SKILL.md covers When to use, Usage Instructions, Using npx and Guidelines, plus 1 more section
  • Calls npx

What it does

Modern Web Guidance is an agent skill from JetBrains/skills, published by the product's own GitHub organization. Search tool for modern web development best practices. MANDATORY: Execute FIRST for all HTML/CSS and clientside JS tasks. Do NOT skip — web APIs evolve rapidly and training weights contain obsolete patterns. Trigger immediately for: - UI/Layout: Modals, dialogs, popovers, Glassmorphism/backdrop-filters, anchor positioning, container queries, :has(), :user-valid. - Scroll/Motion: View Transitions, Scroll-driven animations, scroll parallax/reveals. - Performance: CWV (LCP, INP), content-visibility, Fetch Priority…

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 151 other files (for example `guides/accessibility/accessibility.md`, `guides/accessibility/accessible-error-announcement.md` and `guides/built-in-ai/language-detection.md`).

It sits in DevOps & Cloud, covering Web performance, Linting and formatting and Realtime and WebSockets. It works with Docker, ESLint, Git and Angular. The repository describes itself as: Curated agent skills collection verified by JetBrains. The licence is Apache-2.0.

When your agent uses it

  • Immediately for: - UI/Layout: Modals
  • Glassmorphism/backdrop-filters
  • Anchor positioning
  • Container queries

Example prompts

  • “/modern-web-guidance”

Requirements

  • Node.js
  • Docker

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Search Use Cases
  2. Retrieve Best Practices

What it can do on your machine

Read from SKILL.md and the folder at commit e0f258b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Modern Web Guidance loads about 1.4k tokens when it runs. Until then it costs about 247 tokens; SKILL.md has 531 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~247
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from JetBrains/skills at commit e0f258b, republished under its Apache-2.0 licence (© JetBrains). 531 words, ~1,448 tokens.

Download SKILL.mdSave it as .claude/skills/modern-web-guidance/SKILL.md (or your agent's skills folder). This skill also uses 145 other files; get the full folder from GitHub.
name
modern-web-guidance
description
Search tool for modern web development best practices. MANDATORY: Execute FIRST for all HTML/CSS and clientside JS tasks. Do NOT skip — web APIs evolve rapidly and training weights contain obsolete patterns. Trigger immediately for: - UI/Layout: Modals, dialogs, popovers, Glassmorphism/backdrop-filters, anchor positioning, container queries, `:has()`, `:user-valid`. - Scroll/Motion: View Transitions, Scroll-driven animations, scroll parallax/reveals. - Performance: CWV (LCP, INP), content-visibility, Fetch Priority, image optimization. - System/APIs: Local filesystem access, WebUSB, WebSockets sync, WebAssembly widgets. - Frameworks: Adapting layout/styles in React, Vue, Angular. - General Frontend: Forms, autofill, advanced inputs, custom scrollbars, modern component states, etc. DO NOT trigger for: - Backend: Database SQL, ORMs, Express API routes. - Pipelines: CI/CD deployment, Docker, Actions. - Generic: Local scripts (Python/Go tools), ESLint, Git.
license
Apache-2.0
metadata.author
Google Chrome
metadata.version
0.0.166
metadata.source
https://github.com/GoogleChrome/modern-web-guidance/tree/main/skills/modern-web-guidance

Modern Web Guidance

A skill to search for specific web development use cases and retrieve their corresponding best practice guides.

When to use

Must use this skill:

  • At the start of implementing any web feature.
  • Before creating a new component, to check if a standardized pattern already exists.
  • To avoid implementing ad-hoc solutions or loading large dependencies unnecessarily.

Usage Instructions

Step 1. Search Use Cases

Search with an action-oriented query summarizing what you want to achieve using the search command. Run modern-web-guidance directly with npx.

sh
npx -y modern-web-guidance@latest search "<query>" --skill-version 2026_05_16-c5e7870

Example Output:

json
[
  {
    "id": "optimize-image-priority",
    "description": "Optimize the loading priority of Largest Contentful Paint (LCP) candidate images.",
    "category": "performance",
    "featuresUsed": [ "Fetch priority" ],
    "tokenCount": 985,
    "similarity": 0.7289
  },
  {
    "id": "defer-rendering-heavy-content",
    "description": "Reduce rendering times in content-heavy web pages by deferring rendering for offscreen content.",
    "category": "performance",
    "featuresUsed": [ "content-visibility", "hidden=\"until-found\"" ],
    "tokenCount": 1250,
    "similarity": 0.6961
  }
]

Note: If search results are vague, return no matches, or show low similarity scores, run the list command to browse all guides:

sh
npx -y modern-web-guidance@latest list

Step 2. Retrieve Best Practices

Once you have a relevant id from the search results, call this script using the retrieve command to get the full guide. You can pass multiple IDs separated by commas.

sh
npx -y modern-web-guidance@latest retrieve "<id>"

Example Output: The markdown content of the guide describing implementation steps...

Using npx

  • IMPORTANT: on Windows, using npx may fail. Use npx.cmd ... instead.
  • Network access is required for fetching npm packages needed by the task.
  • If the npx -y modern-web-guidance… command hangs, you may be offline. Try running again in offline mode: npx --offline ….
  • The --skill-version flag is used to determine if this SKILL.md is out of date. If it is, a warning message is logged to stderr.

Guidelines

  • Always search first to find the most relevant guides.
  • These guides are usually framework-agnostic; adapt them correctly to your setup.
  • Do not hallucinate guides or ignore them; they represent the preferred local standard for the user's project.
Show full SKILL.md (266 more words)Show less

Interpreting Browser Support & Fallbacks

  • Default Behavior: All guides assume Baseline Widely available features are safe to use without fallbacks. For features that are not Baseline widely available, you MUST follow the fallback recommendations in the guide, unless the user has specified a custom browser support policy.

  • Custom Policies: If the user has already defined explicit browser support requirements, use the browser compatibility data in the guide to determine if a fallback can be safely ignored.

    • For Baseline YYYY targets, a feature satisfies this target if its "Baseline since" date is <= YYYY.
    • Policy Examples:
      • "Do not implement feature fallbacks." (for exploratory prototypes of the cutting-edge web)
      • "Safari 17.4+" (for internal tools targeting macOS or Tauri-based desktop apps)
      • "Never recommend or implement polyfills; if a Baseline Newly Available feature is required for core functionality, provide a lightweight custom fallback or redesign the approach." (to minimize bundle size and avoid technical debt)
      • "Assume a modern execution environment where Baseline Newly Available features can be used natively, provided they are strictly feature-detected and degrade gracefully." (for progressive enhancement strategies)
  • Reactive Policy Discovery: Watch for environmental cues to suggest documenting a policy in CLAUDE.md or AGENTS.md. Suggest this if the developer:

    • Mentions building for a restricted runtime (e.g., Electron or Tauri).
    • Explicitly excludes specific targets (e.g., "we don't support Desktop Chrome").
    • Expresses hesitation about polyfill complexity, bundle size, or performance cost.
    • Questions if a feature is safe to use without fallbacks.

    No defined policy format. This is an example: **Browser Support:** Allow Newly Available features, but only adopt custom fallback code that adds <= 20 lines and does not require external dependencies.

© JetBrains, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 145 other files in modern-web-guidance of JetBrains/skills.

  • SKILL.md
  • LICENSE
  • guides/accessibility/accessibility.md
  • guides/accessibility/accessible-error-announcement.md
  • guides/built-in-ai/language-detection.md
  • guides/built-in-ai/language-model.md
  • guides/built-in-ai/summarizer.md
  • guides/built-in-ai/translator.md
  • guides/css-layout/css-layout.md
  • guides/css/css.md
  • guides/css/highlight-text-ranges.md
  • guides/forms/animated-select-picker.md
  • guides/forms/autofill-address-form.md
  • guides/forms/autofill-highlight-inputs.md
  • guides/forms/autofill-payment-form.md
  • … and 131 more

Open the folder on GitHubat commit e0f258b

Used in 3 other repositories

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in JetBrains/skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Modern Web Guidance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Modern Web Guidance compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Modern Web Guidance this skillJetBrains/skills3663 repos~1.4kAutomated safety check: PassApache-2.0
Winui AppLanceMcCarthy/DevOpsExamples1721 repos~2.8kAutomated safety check: PassApache-2.0
Configure Telerik NugetLanceMcCarthy/DevOpsExamples172—~976Automated safety check: PassMIT
GitHub Actions Failure DebuggingLanceMcCarthy/DevOpsExamples172—~312Automated safety check: PassMIT
Configuration GeneratorArabelaTso/Skills-4-SE253—~2.8kAutomated safety check: NotesApache-2.0
Verifygocronx-team/gocron801—~529Automated safety check: PassMIT

Similar skills

  • Winui App

    LanceMcCarthy/DevOpsExamples

    Bootstrap, develop, and design modern WinUI 3 desktop applications with C and the Windows App SDK using official Microsoft guidance, WinUI Gallery patterns, Windows App SDK samples, and…

    172 GitHub starsUsed in 1 repo~2.8k tokens
    DevOps & CloudAuto-check passed
  • Configure Telerik Nuget

    LanceMcCarthy/DevOpsExamples

    Helps setup, configure and manage Telerik NuGet feeds in your repo's nuget.config file.

    172 GitHub stars~976 tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed
  • GitHub Actions Failure Debugging

    LanceMcCarthy/DevOpsExamples

    Guide for debugging failing GitHub Actions workflows. An agent skill from LanceMcCarthy/DevOpsExamples.

    172 GitHub stars~312 tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed
  • Configuration Generator

    ArabelaTso/Skills-4-SE

    Generate configuration files for applications, services, and infrastructure.

    253 GitHub stars~2.8k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check: notes
  • Verify

    gocronx-team/gocron

    Reproduce the complete gocron CI pipeline locally and report every result.

    801 GitHub stars~529 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Ionic Framework

    LeoYeAI/openclaw-master-skills

    Comprehensive Ionic Framework expert skill consolidating core concepts, component reference, CLI usage, theming, layout, page lifecycle, framework-specific patterns for Angular/React/Vue…

    2.2k GitHub stars~5.5k tokensUpdated 2 mo ago
    MobileAuto-check passed

More from JetBrains/skills

All 76 skills in this repo
  • Playwright

    JetBrains/skills

    Official

    A skill your agent uses when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via playwright-cli…

    366 GitHub starsUsed in 11 repos~986 tokens
    Auto-check passed
  • Skill Creator

    JetBrains/skills

    Official

    Guide for creating effective skills. An agent skill from JetBrains/skills.

    366 GitHub starsUsed in 122 repos~4.7k tokens
    Auto-check passed
  • Transcribe

    JetBrains/skills

    Official

    Transcribe audio files to text with optional diarization and known-speaker hints.

    366 GitHub starsUsed in 4 repos~776 tokens
    Auto-check passed
  • Imagegen

    JetBrains/skills

    Official

    A skill your agent uses when the user asks to generate or edit images via the OpenAI Image API (for example: generate image, edit/inpaint/mask, background removal or replacement, transparent…

    366 GitHub starsUsed in 3 repos~2.5k tokens
    Auto-check passed
  • Speech

    JetBrains/skills

    Official

    A skill your agent uses when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation via the OpenAI Audio API; run the bundled CLI…

    366 GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • Screenshot

    JetBrains/skills

    Official

    A skill your agent uses when the user explicitly asks for a desktop or system screenshot (full screen, specific app or window, or a pixel region), or when tool-specific capture capabilities are…

    366 GitHub starsUsed in 6 repos~2k tokens
    Auto-check passed

Questions about Modern Web Guidance

What does Modern Web Guidance do?

Search tool for modern web development best practices. An agent skill from JetBrains/skills. Modern Web Guidance is an agent skill from JetBrains/skills, published by the product's own GitHub organization. Search tool for modern web development best practices.

When should I use Modern Web Guidance?

Modern Web Guidance fits situations like: immediately for: - UI/Layout: Modals; glassmorphism/backdrop-filters; anchor positioning; container queries.

How do I install Modern Web Guidance in Claude Code?

Run `npx skills add JetBrains/skills --skill modern-web-guidance -a claude-code`. Or copy the skill folder (modern-web-guidance in JetBrains/skills) into .claude/skills/modern-web-guidance in your project. Claude Code loads it when a task matches its description.

How do I install Modern Web Guidance in Codex?

Run `npx skills add JetBrains/skills --skill modern-web-guidance -a codex`. Or copy the skill folder (modern-web-guidance in JetBrains/skills) into .agents/skills/modern-web-guidance in your project. Codex loads it when a task matches its description.

Can I use Modern Web Guidance in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JetBrains/skills --skill modern-web-guidance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/modern-web-guidance, .gemini/skills/modern-web-guidance, .github/skills/modern-web-guidance and .opencode/skills/modern-web-guidance in your project.

What does Modern Web Guidance need to run?

Going by SKILL.md and its folder, Modern Web Guidance needs the command-line tools its instructions call (npx). Our summary lists: Node.js; Docker.

Does Modern Web Guidance access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Modern Web Guidance safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Modern Web Guidance use?

Modern Web Guidance is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Modern Web Guidance use?

About 1.4k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Modern Web Guidance?

Skills that share tags, products or a category with Modern Web Guidance: Winui App (LanceMcCarthy/DevOpsExamples, 172 stars), Configure Telerik Nuget (LanceMcCarthy/DevOpsExamples, 172 stars), GitHub Actions Failure Debugging (LanceMcCarthy/DevOpsExamples, 172 stars) and Configuration Generator (ArabelaTso/Skills-4-SE, 253 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Modern Web Guidance?

JetBrains (a GitHub organization, an official publisher) maintains it in JetBrains/skills, which has 366 GitHub stars. The repository holds 76 skills in this directory. The repository was last updated on June 29, 2026.

Source: JetBrains/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.