modern-web-guidance

Searches and retrieves best-practice guides for modern web platform features.

1|1|Updated Dec 18, 2025
One-click install
npx skills add https://github.com/nexuslabs-ai/nexus --skill modern-web-guidance-nexuslabs-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: modern-web-guidance
Source: https://github.com/nexuslabs-ai/nexus/tree/main/.agents/skills/modern-web-guidance
Command: npx skills add https://github.com/nexuslabs-ai/nexus --skill modern-web-guidance-nexuslabs-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires modern-web-guidance, and includes references (resource) components.

What problem does it solve? Web APIs evolve faster than training data, so AI-generated HTML, CSS, and client-side JavaScript often relies on obsolete patterns. This Skill provides a searchable catalog of current best-practice guides so implementations use modern, Baseline-aware web platform features with correct fallbacks. ## Core Features & Use Cases - Semantic Search: Query an action-oriented phrase (e.g., "optimize LCP image loading") via npx modern-web-guidance search to find relevant guides ranked by similarity. - Guide Retrieval: Fetch full implementation guides by ID covering accessibility, forms, animations, scrollbars, anchor positioning, WebMCP agentic tools, and Core Web Vitals. - Browser Support & Fallbacks: Each guide includes Baseline status, browser version support, and fallback strategies that respect user-defined browser support policies. - Use Case: Before building a modal dialog, search for "modal dialog focus management" and retrieve the guide recommending the native <dialog> element with showModal() instead of a hand-rolled focus trap. ## Quick Start Ask the assistant to search modern-web-guidance for best practices on the web feature you are about to implement, then apply the retrieved guide to your code.

Frequently Asked Questions about modern-web-guidance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search for modern web development best practices?▼

Run `npx -y modern-web-guidance@latest search "<query>"` with an action-oriented phrase describing your goal, such as "optimize image loading priority". The command returns matching guides with IDs, categories, and similarity scores.

How do I retrieve a full implementation guide after searching?▼

Use the retrieve command with the guide ID from search results: `npx -y modern-web-guidance@latest retrieve "<id>"`. You can pass multiple comma-separated IDs, and the command returns the full markdown guide with implementation steps and fallbacks.

What topics do the modern web guidance guides cover?▼

Guides cover UI and layout (dialogs, popovers, anchor positioning, container queries), scroll and motion (View Transitions, scroll-driven animations), performance (LCP, INP, content-visibility), accessibility, forms, and WebMCP agentic tools.

Does modern-web-guidance work offline or on Windows?▼

On Windows, use `npx.cmd` instead of `npx`. If the command hangs due to no network access, retry with `npx --offline` to run in offline mode using cached packages.

When should I not use this web guidance search?▼

Do not use it for backend work like SQL, ORMs, or Express routes, CI/CD and Docker pipelines, or generic tooling like ESLint and Git. It is scoped to client-side HTML, CSS, and JavaScript feature implementation.

How are browser fallbacks handled in the guides?▼

Guides assume Baseline Widely Available features need no fallback and provide explicit fallback strategies for newer features. If you define a custom browser support policy, the guide's compatibility data determines whether fallbacks can be skipped.