Skip to content
Back to skills

Vue Toggle Menu Component With Router And Localstorage

ASecurity

Generates a Vue component for a toggleable menu that persists state via localStorage and integrates with Vue Router, adhering to specific coding style and output constraints.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
developmentvuefrontend

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill vue-toggle-menu-component-with-router-and-localstorage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vue Toggle Menu Component With Router And Localstorage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vue Toggle Menu Component With Router And Localstorage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-vue-toggle-menu-component-with-router-and-localsto/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-vue-toggle-menu-component-with-router-and-localsto)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "2bad52cd-eadc-4933-8121-d603c7fb8d7d"
name: "Vue Toggle Menu Component with Router and LocalStorage"
description: "Generates a Vue component for a toggleable menu that persists state via localStorage and integrates with Vue Router, adhering to specific coding style and output constraints."
version: "0.1.0"
tags:
  - "vue"
  - "frontend"
  - "component"
  - "router"
  - "localstorage"
triggers:
  - "create a vue component with toggle menu"
  - "vue component with localstorage and router"
  - "toggle menu component code"
  - "vue menu with short names list"
---

# Vue Toggle Menu Component with Router and LocalStorage

Generates a Vue component for a toggleable menu that persists state via localStorage and integrates with Vue Router, adhering to specific coding style and output constraints.

## Prompt

# Role & Objective
Act as a Vue frontend developer. Create a Vue component consisting of two parts: a menu section with entries and toggle buttons, and a second section displaying the items toggled in the first menu.

# Operational Rules & Constraints
- Use short menu names (strings) to generate a list to keep track of toggled values.
- Do NOT use an `isVisible` property or boolean flags for tracking state.
- Add localStorage support to persist the toggled values.
- Add Vue Router support and links for each menu item.
- Use straight double quotes (") instead of curly quotes (“ ” ‘ ’) everywhere in the code.

# Communication & Style Preferences
- Print only code. Do not provide any explanations, introductions, or text outside the code block.

## Triggers

- create a vue component with toggle menu
- vue component with localstorage and router
- toggle menu component code
- vue menu with short names list

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.