frontend-dev-tools
Frontend Development Tools & Workflow
Use this skill to standardize frontend run/open/preview/debug tasks.
1. Trigger (Hard)
Apply this skill when the user intent includes frontend run/open/preview/debug.
Examples of hard triggers:
- English: run, open, preview, debug (frontend project/app/page)
- Chinese: 运行、打开、预览、调试(前端项目/页面)
2. Required Flow (MCP First)
For hard-trigger requests, execute in this order:
- Start or confirm dev server (for example
pnpm dev). - Use MCP browser tools first:
mcp_microsoft_pla_browser_*ormcp_chrome-devtoo_*. - Verify at least one visible UI signal (title, heading, or key element).
- Report result after verification.
Rules:
- If MCP browser tools are available, they are mandatory as the primary path.
- Do not finish the task with terminal startup logs only.
3. Fallback Policy
Fallback is allowed only when MCP path is unavailable or failed.
- You may use terminal checks and
open_simple_browseras fallback. - You must explicitly state the blocker (for example: MCP browser runtime unavailable).
- You should attempt recovery first when possible (for example install browser/runtime), then fallback.
4. Quick Example: “运行/打开项目”
- Start server (
pnpm devor equivalent). - Open local URL via MCP browser tool.
- Verify page signal (e.g., title/h1).
- Then return completion status.
More from iceywu/skills
frontend-docs-context7
Use this skill when users ask for frontend library/framework usage, APIs, best practices, or examples (e.g. Vue, Vite, React, Tailwind). Always fetch up-to-date docs with Context7.
28iceywu-dev-workflow
A practical workflow for using and contributing to @iceywu/utils. Use when selecting utility helpers, refactoring shared logic into utils, debugging utility behavior, or preparing utils-related pull requests.
27vue
Vue 3 Composition API, script setup macros, reactivity system, and built-in components. Use when writing Vue SFCs, defineProps/defineEmits/defineModel, watchers, or using Transition/Teleport/Suspense/KeepAlive.
24pnpm
Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces, or managing dependencies with catalogs, patches, or overrides.
24vite
Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration. Use when working with Vite projects, vite.config.ts, Vite plugins, or building libraries/SSR apps with Vite.
24web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
24