Skip to main content
Run any Skill in Manus
with one click

yy-frontend-code-refine

Stars2
Forks1
UpdatedJune 13, 2026 at 06:47

跨框架前端代码基础精炼(Vue2/Vue3/React)。对组件与 JS/TS/JSX/TSX 文件执行清理冗余代码、整理导入排序、统一代码结构、规范命名、增强 Props/Emits。 只要是前端代码文件的清理/整理/规范化意图,就应触发此技能——即使用户没有明确说"精炼"。 触发场景包括但不限于:代码精炼、清理冗余代码、整理导入排序、规范化命名、Props/Emits 增强、死代码清理、清理未使用导入/变量、 "整理一下这个文件"、"代码太乱了"、"帮我看看这个文件有什么问题"、"导入太乱了"、"这个文件能优化吗"(不含深度优化项)、 "整理代码结构"、"规范一下命名"、clean up code、organize imports、tidy up imports、refactor for readability。 不用于:新增组件、修改业务逻辑、生成提交信息、样式文件优化、CSS/BEM 规范转换。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
5 files
SKILL.md
readonly