Skip to content
Back to skills

Frontend Design Craft

ASecurity

新做或打磨前端界面的视觉与交互,只用本地资源

  • 52 stars
  • 0 votes
  • 0 copies
  • 9 views
  • Added September 2, 2026
ai-agentsgoshellbashgitfrontend

Works with

  • claude code
  • mcp

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add wangzhe04/ruyi-workbench-oss --skill frontend-design-craft --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Frontend Design Craft?

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

Security grade badge for Frontend Design Craft
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wangzhe04-frontend-design-craft/badge)](https://www.skillsdirectory.com/skills/wangzhe04-frontend-design-craft)

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
---
name: 前端设计精修
description: 新做或打磨前端界面的视觉与交互,只用本地资源
---

# Frontend Design Craft

Use this skill when building a new frontend UI or polishing the look and interaction of an existing one in an offline Windows environment. For a page that is already broken (errors, blank screen, failed requests), use browser-debug.

Inspired by the popular Claude plugin category for frontend design, but implemented as local-only guidance plus Workbench tools.

Workflow:

1. Use `project_snapshot` and `dependency_inventory` to understand the app stack.
2. Use `frontend_audit` before and after edits to catch offline CDN usage, viewport issues, font scaling, and generic visual patterns.
3. Avoid CDN fonts, icon CDNs, remote images, hosted JS, and remote CSS. Bundle assets locally.
4. Prefer the app's existing component system and icons. If none exists, use simple HTML/CSS with local assets.
5. Run the dev server in the background, not with `powershell_run` (one-shot; it kills the process tree on timeout): `shell_start` with `command` and a large `timeoutMs` under the Workbench provider engine, or under Claude Code (whose Bash is Git Bash) `powershell -NoProfile -Command "Start-Process npm.cmd -ArgumentList 'run','dev' -WorkingDirectory '<project>' -WindowStyle Hidden -PassThru | Select-Object Id"` and `Stop-Process -Id <Id>` when done. Poll the URL with `http_request` until it answers.
6. Open the page with `browser_open`. The workbench's own one returns before the page has loaded, so wait (desktop control `wait_for_window` with the page title, or a few seconds) before verifying with `desktop_screenshot`; the desktop control MCP's `browser_open` in managed mode waits for the load and lets `browser_screenshot` / `browser_get_text` inspect that page. Check narrow widths with desktop control `resize_window`.
7. For fixed UI controls, use stable dimensions, responsive constraints, and text wrapping. Do not let labels resize boards, toolbars, or tiles.

Output expectations:

- Mention the files changed.
- Include the local URL or file path that was verified.
- Report any offline asset risks found by `frontend_audit`.

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 ai-agents →

Comments

Loading comments…

Newsletter

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