modern-web-guidance

The skill requires the agent to run `npx modern-web-guidance` before starting to write web interfaces, CSS layout animations, or frontend JS. It should search for a single feature (such as dialogs, responsive tables, dark mode, form validation, Core Web Vitals, passkeys) using 2–5 English words, retrieve the complete guide, verify the implementation against the guide, and finally list in a small section at the end of the reply which writing practices were influenced by each guideline. Only run `legacy-scan` to scan for outdated practices when explicitly asked to overhaul old code; tasks involving backend, CI, or build configuration do not trigger this.

The skill requires the agent to run npx modern-web-guidance before starting to write web interfaces, CSS layout animations, or frontend JS. It should search for a single feature (such as dialogs, responsive tables, dark mode, form validation, Core Web Vitals, passkeys) using 2–5 English words, retrieve the complete guide, verify the implementation against the guide, and finally list in a small section at the end of the reply which writing practices were influenced by each guideline. Only run legacy-scan to scan for outdated practices when explicitly asked to overhaul old code; tasks involving backend, CI, or build configuration do not trigger this.

Why it matters Model training data often contains outdated practices; this skill enables the agent to retrieve officially curated guides by feature, write code according to the guide's compatibility and fallback strategies, and note which guideline was used in the reply.

Security Audit: Risk warnings present

  • Installs or runs third-party packages (via npx / pip, etc.), which constitutes command execution
  • Allows the agent to execute shell / script commands
  • Audit scope: GitHub googlechrome/modern-web-guidance/skills/modern-web-guidance/SKILL.md (only scans SKILL.md text)

Rationale

  • skills.sh shows 4705 installs in 24 hours (indicating attention only); another skill, chrome-extensions, from the same repository is also on the list
  • In the third-party audit on the skills.sh page, Gen Agent Trust Hub and Snyk passed, while Socket issued a warning

Usage

  • After installation, when asking the agent to perform frontend tasks like "a popup dialog that closes when clicking outside," it should first run npx -y modern-web-guidance@latest search "light dismiss dialog", and a Modern Web Guidance section will appear at the end of the reply

Risks

  • The audit's warnings about "running third-party packages" and "executing commands" align with its purpose: each search fetches the latest version of modern-web-guidance via npx and connects to the internet. In sandboxed or approval-required environments, this command and network access must be allowed first.
  • The desktop scan only reviewed SKILL.md and did not perform a full repository audit; the website currently does not display installation commands.

Open · Repository

Best Skills 每日数据(LinklyAI / @BlueeonY,CC BY 4.0)

Explore the latest AI Radar updates