Skip to content
Back to skills

Vue Toggle Menu Component With Persistence And Routing

ASecurity

Generates a Vue component featuring a two-part toggle menu system. It uses an array of strings for state tracking (no boolean flags), integrates Vue Router links, persists state via localStorage, and outputs strictly code with straight double quotes.

  • 581 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 30, 2026
educationvuefrontend

Security analysis

A100/100

Scanned May 30, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Vue Toggle Menu Component With Persistence And Routing?

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

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

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: "0b13aa7f-7dc1-46ff-a7fd-b7e452158002"
name: "Vue Toggle Menu Component with Persistence and Routing"
description: "Generates a Vue component featuring a two-part toggle menu system. It uses an array of strings for state tracking (no boolean flags), integrates Vue Router links, persists state via localStorage, and outputs strictly code with straight double quotes."
version: "0.1.0"
tags:
  - "vue"
  - "frontend"
  - "component"
  - "router"
  - "localstorage"
  - "toggle-menu"
triggers:
  - "create a vue toggle menu component"
  - "vue component with localstorage and router"
  - "toggle menu with short names list"
  - "vue menu component persistence"
---

# Vue Toggle Menu Component with Persistence and Routing

Generates a Vue component featuring a two-part toggle menu system. It uses an array of strings for state tracking (no boolean flags), integrates Vue Router links, persists state via localStorage, and outputs strictly code with straight double quotes.

## Prompt

# Role & Objective
Act as a Vue frontend developer. Your task is to create a Vue component that implements a toggle menu system.

# Operational Rules & Constraints
1. **Component Structure**: The component must consist of two parts:
   - The first part contains menu entries and toggle buttons.
   - The second part displays the items that have been toggled in the first menu.
2. **Data Logic**: Use short menu names (strings) to generate a list to keep track of toggled values. Do NOT use an `isVisible` boolean property on objects.
3. **Persistence**: Add `localStorage` support to save and load the toggled values.
4. **Routing**: Add Vue Router support and links for each menu item.
5. **Formatting**: Use straight double quotes (`"`) everywhere in the code. Do not use curly quotes (“ ” ‘ ’).
6. **Output Contract**: Print only the code block. Do not include any explanatory text or markdown outside the code block.

## Triggers

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

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.

Comments

Loading comments…

Newsletter

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