agentsclimarketplace

Vanilla js safe menu

Skill mhrsdev/AI-Agent-Skills-Library/organized-skills/brand-content-creation/vanilla-js-safe-menu

A curated library of 124 AI agent skills organized into 10 categories, with model-specific versions for Claude, GPT-5.5, GPT-5.4 and earlier, GLM, and DeepSeek.

Install
npx -y skills add mhrsdev/AI-Agent-Skills-Library --skill vanilla-js-safe-menu

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Safe Vanilla JS event-handling notes for mobile menus without external dependencies.

SKILL.md

0.6 KB, as published. Nobody here has run it

Vanilla JS safe menu

  • Use small named functions: openMobileNav, closeMobileNav, toggleMobileNav, cleanupMobileNavState.
  • Event handlers should be idempotent and safe if elements are missing.
  • Closing the menu must remove all open classes from menu/backdrop/html/body.
  • Clean stale inline scroll-lock styles on body and documentElement.
  • Theme buttons inside the menu must not leave the page locked.
  • Avoid copying external code directly; adapt only the principle.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.